[LLVMdev] [X86] CMOVcc not supported by MASM

Aaron Gray angray at beeb.net
Sat Jul 9 10:35:35 PDT 2005


>> Even the latest version of MASM does not support the CMOVcc instructions 
>> (unless they are named something different my Microsoft ?). Using the 
>> CMOVcc instruction rules the X86 out for compilation to pre Pentium Pro 
>> CPU's.
> 
> You probably have to emit a directive that enables ppro and higher 
> opcodes.  Maybe something like this will work:
> 
>    .i686
> 
> It has been many years since I've used MASM though, I could be wrong...

.686 does it :)

Few. Cheers Chris.

The MASM backend is very nearly ready then.

Aaron




More information about the llvm-dev mailing list