[Mono-devel-list] [PATCH] Move of Interlocked.Increment/Decrement/Exchange I4 to op codes

Miguel de Icaza miguel at ximian.com
Sat Nov 27 12:46:25 EST 2004


Hello,

> > bus lock prefix (2,5 x speed difference). There is one known issue with
> > this patch; it should ignore the mp check when doing AOT, havn't had the
> > time to fix that in this patch (simple.. Just check for AOT in
> > detection)
> 
> We need to add the number of cpus in the aot file, so if that changes
> we won't load it.

We discussed on IRC a possible approach: there should be a few bits that
describe the CPU characteristics, and it should be possible to force the
AOT engine to build with these different bits set.

The bits would be encoded in the file name, like this:

Bit:	Feature:
0	SMP
1	SSE
2 	BLAH

So the filenames would encode the properties for which the image has
been produced for.   mcs.exe.so.5 would mean `SMP and BLAH features
required'.

Miguel.




More information about the Mono-devel-list mailing list