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. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050709/09c8fe69/attachment.html>
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/
>> 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