[Mono-devel-list] [PATCH] .Net 2.0 System.Threading.Interlocked, tests and internal improvements

Ben Maurer bmaurer at ximian.com
Tue Oct 12 11:37:36 EDT 2004

>> > Be aware that some 686s don't have cmov, it's an optional
>> instruction. For example, the VIA C3:
>> >
>> > Linux ceasterware 2.6.5-7.108-default #1 Wed Aug 25 13:34:40 UTC
>> 2004 i686 i686 i386 GNU/Linux
>> Interesting. Doesn't gcc use cmov when you say -march=i686?
> Yes.  RPM treats this cpu as a 586 for things that might come in 686
> versions, such as glibc.

Ok, so that means his use of #ifdef __i686__ should be fine. He uses the
cpuid stuff for the dynamic version, so that will catch the cpu correctly.
And it should never get the i686 packages anyways.

-- Ben

More information about the Mono-devel-list mailing list