add a missing alias to make us more bug compatible with gcc, PR9378
authorChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:31:57 +0000 (22:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:31:57 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131874 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 3c37bc0a7d9fa2c4a4d01c927988b6ffafa48cc6..b8aeb65801bc4a122d9c6212d0ccb78d48c328ad 100644 (file)
@@ -1485,6 +1485,7 @@ defm : FpUnaryAlias<"fucompi",  UCOM_FIPr>;
 // solely because gas supports it.
 def : InstAlias<"faddp %st(0), $op", (ADD_FPrST0 RST:$op), 0>;
 def : InstAlias<"fmulp %st(0), $op", (MUL_FPrST0 RST:$op)>;
+def : InstAlias<"fsubp %st(0), $op", (SUBR_FPrST0 RST:$op)>;
 def : InstAlias<"fsubrp %st(0), $op", (SUB_FPrST0 RST:$op)>;
 def : InstAlias<"fdivp %st(0), $op", (DIVR_FPrST0 RST:$op)>;
 def : InstAlias<"fdivrp %st(0), $op", (DIV_FPrST0 RST:$op)>;