To be sure I understood correctly: the MMX detection and "switching out of circuit" of the MMX instruction using assembler code you wrote are both done by you right?
Ie the compiler by itself a) does not produce MMX code, and b) does not help you dumping out with SIGILL on non MMX capable CPUs if you do write MMX code.
But for your libfastmint you have done this work (eg the assembler code in minter_mmx_compact_1_test) so one could just go ahead and compile with MMX enabled and the code adapts to the presence or absence of MMX on the processor (modulo the level of testing given time frame before release).
-------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: chromi@xxxxxxxxxxxxxxxxxxxxx website: http://www.chromatix.uklinux.net/ tagline: The key to knowledge is not to rely on people to teach you it.