Add two new instructions
authorChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2004 01:38:55 +0000 (01:38 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2004 01:38:55 +0000 (01:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12850 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index a59e1994e15728debcfebc06016779ffc449cca1..5a3a37e16ed979c645e7b8a8390819b902a8d2bf 100644 (file)
@@ -851,6 +851,10 @@ def FUCOMr    : I<"fucom"  , 0xE0, AddRegFrm>, DD, Imp<[ST0],[]>;  // FPSW = com
 def FUCOMPr   : I<"fucomp" , 0xE8, AddRegFrm>, DD, Imp<[ST0],[]>;  // FPSW = compare ST(0) with ST(i), pop
 def FUCOMPPr  : I<"fucompp", 0xE9, RawFrm   >, DA, Imp<[ST0],[]>;  // compare ST(0) with ST(1), pop, pop
 
+def FUCOMIr    : FPI<"fucomi"  , 0xE0, AddRegFrm, TwoArgFP>, DB, Imp<[ST0],[]>;  // CC = compare ST(0) with ST(i)
+def FUCOMIPr   : I<"fucomip" , 0xE8, AddRegFrm>, DF, Imp<[ST0],[]>;  // CC = compare ST(0) with ST(i), pop
+
+
 // Floating point flag ops
 def FNSTSW8r  : I   <"fnstsw" , 0xE0, RawFrm>, DF, Imp<[],[AX]>;   // AX = fp flags
 def FNSTCW16m : Im16<"fnstcw" , 0xD9, MRM7m >;                     // [mem16] = X87 control world