aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-23 01:16:05 +0000
committerChris Lattner <sabre@nondot.org>2004-02-23 01:16:05 +0000
commit2d0a82570a0a87cbee4721df7df91e2c263f3ab8 (patch)
treee533c877867083faebc94af5c90132c9c1f0b696 /lib/Target/X86
parent98e17cf54345a4e9ab0ded690cdb41c0cd219c8e (diff)
downloadexternal_llvm-2d0a82570a0a87cbee4721df7df91e2c263f3ab8.zip
external_llvm-2d0a82570a0a87cbee4721df7df91e2c263f3ab8.tar.gz
external_llvm-2d0a82570a0a87cbee4721df7df91e2c263f3ab8.tar.bz2
Add a new cmove instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86InstrInfo.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index cd017f8..775203b 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -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