Add a new cmove instruction
authorChris Lattner <sabre@nondot.org>
Mon, 23 Feb 2004 01:16:05 +0000 (01:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Feb 2004 01:16:05 +0000 (01:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11722 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index cd017f8c5b9bf7d1bdfca72651bc5eb426237f32..775203b51ad2378bad231f9190dddf0abcbd09cf 100644 (file)
@@ -495,6 +495,7 @@ def SETGr    : X86Inst<"setg" , 0x9F, MRMS0r, Arg8>, TB;            // R8 = <  s
 // register allocated to cmovXX XY, Z
 def CMOVErr16 : I2A16<"cmove", 0x44, MRMSrcReg>, TB, OpSize;        // if ==, R16 = R16
 def CMOVNErr32: I2A32<"cmovne",0x45, MRMSrcReg>, TB;                // if !=, R32 = R32
+def CMOVSrr32 : I2A32<"cmovs", 0x48, MRMSrcReg>, TB;                // if signed, R32 = R32
 
 // Integer comparisons
 def CMPrr8  : X86Inst<"cmp", 0x38, MRMDestReg, Arg8 >;              // compare R8, R8