add an fabs instr
authorChris Lattner <sabre@nondot.org>
Sat, 2 Apr 2005 04:31:56 +0000 (04:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 2 Apr 2005 04:31:56 +0000 (04:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21006 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 285a806de7e32e4c65ea8be6f0cb528c55715de8..53bad1becd6a3b8979177d1000dbb47c93eef79f 100644 (file)
@@ -1523,6 +1523,7 @@ def FLD1 : FPI<0xE8, RawFrm, ZeroArgFP, (ops), "fld1">, D9;
 
 // Unary operations...
 def FCHS : FPI<0xE0, RawFrm, OneArgFPRW, (ops), "fchs">, D9;   // f1 = fchs f2
+def FABS : FPI<0xE1, RawFrm, OneArgFPRW, (ops), "fabs">, D9;   // f1 = fabs f2
 def FTST : FPI<0xE4, RawFrm, OneArgFP, (ops), "ftst">, D9;     // ftst ST(0)
 
 // Binary arithmetic operations...