cmov and movnti in gcc

James E Wilson wilson@specifixinc.com
Thu Jan 20 03:18:00 GMT 2005


Tommy Vercetti wrote:
> cmp		eax, 0x10
> cmovz	ebx, 0x01
> cmovnz	ebx, 0x02

Check an IA-32 manual.  cmov does not accept an immediate operand.  I 
didn't check an AMD64/EM64T manual.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list