[AD] [ alleg-Bugs-1586089 ] incorrect cpu_model

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #1586089, was opened at 2006-10-28 12:30
Message generated for change (Comment added) made by tjaden
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=1586089&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robert A Lee (wcavonman)
Assigned to: Nobody/Anonymous (nobody)
Summary: incorrect cpu_model

Initial Comment:
It seems to not see a Pentium 4 right on my ststem, 
but knows its a intel, but tells me its a Cyrix model.

THe CPY Family says 15, extended, but the model is 
14, and thats defined as a Cyrix in the system.h file.

I have a P4 2.8GHz Intel CPU

source------

int main(void)
{
  allegro_init();
  cout << cpu_vendor << endl;
  if ( cpu_family == CPU_FAMILY_EXTENDED )
  {
    cout << "CPU IS A EXTENDED CPU - TYPE - ";
    if ( cpu_model == CPU_MODEL_PENTIUMIV) { cout 
<< "Intel Pentium 4" << endl; }
    if ( cpu_model == CPU_MODEL_XEON) { cout 
<< "Intel XEON" << endl; }
    if ( cpu_model == CPU_MODEL_OPTERON) { cout 
<< "Intel Opteron" << endl; }
    if ( cpu_model == CPU_MODEL_ATHLON64) { cout 
<< "AMD Athlon 64" << endl; }
  }


  return(0);
}
END_OF_MAIN()

----------------------------------------------------------------------

>Comment By: Peter Wang (tjaden)
Date: 2006-10-28 13:12

Message:
Logged In: YES 
user_id=28616

Unlikely.  There's no 1.2.3 version, and versions =< 3.9
wouldn't compile with mingw32 anyway.  I suspect the user
just doesn't know what version he's using (perhaps
downloaded a devpak or something?)

----------------------------------------------------------------------

Comment By: Jon Rafkind (kazzmir)
Date: 2006-10-28 13:08

Message:
Logged In: YES 
user_id=490770

I believe this is the same issue as reported on IRC in
#allegro-support. The user was using Allegro 1.2.3 which is
probably the root of the problem.

<MidnightMan> hello, kinda weird thing here, and this is my
first time using allegro
<MidnightMan> I initilized allegro, and did a cpu_family,
and cpu_model, and it says I am on a Cyrix CPU, but it says
I have a genuine intel
<MidnightMan> in reality, I am on a Pentium 4, 2.8GHz, is
this a bug, or what could that be to make it see the wrong
cpu type ?
<MidnightMan> im compiling with Dev-CPP MingW32 compiler, no
other libs or options, just the allegro lib, and its the
source/bins from the allegro site, version 1.2.3
<MidnightMan> any ideas :)
<kazzmir> what version of allegro
<kazzmir> wait, allegro 1.2.3??
<MidnightMan> allegro 1.2.3
<MidnightMan> yes

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=1586089&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/