From: Chris Lattner Date: Sun, 22 May 2011 22:31:57 +0000 (+0000) Subject: add a missing alias to make us more bug compatible with gcc, PR9378 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92f920c1093060ce7f56ad8a7cbd8869ea7fbb26;p=oota-llvm.git add a missing alias to make us more bug compatible with gcc, PR9378 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 3c37bc0a7d9..b8aeb65801b 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -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)>;