This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bug fix to /proc/cpuinfo implementation


> Hi
> 
> I hope I email to correct mailing list...
> 
> It seems that '/proc/cpuinfo' doesn't report 3dnow and 
> 3dnowext support correctly.
> 
> Because I had been using it for recognizing processor 
> features I looked briefly into fhandler_proc.cc (taken 
> freshly from cvs) and I think I fixed the problem. The 
> changed file compiles and *should* correctly detect presence 
> of 3dnow instruction support (by using AMD's 0x8000..1 
> extended function). I haven't have time to test it (= figure out how
> build+install process actually works) because I decided to 
> write my own
> cpuid detection routines from scratch instead.

Actually nearly all of the processor feature flags are wrong for AMD
processors. This is a known bug. Your patch looks to be going about the
right way to fix it. I'll try to add the rest of the AMD flags in.

Chris


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]