[LLVMdev] [X86] CMOVcc not supported by MASM

Chris Lattner sabre at nondot.org
Sat Jul 9 10:11:11 PDT 2005


On Sat, 9 Jul 2005, Aaron Gray wrote:

> 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...

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list