summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-05-22 22:31:57 +0000
committerChris Lattner <sabre@nondot.org>2011-05-22 22:31:57 +0000
commite240dc52ff5589f3fa94bf9197d2fbbdc98d4a80 (patch)
tree3bf42166f7719ae1eda772d3322c4b24872af564 /llvm/lib/Target
parentf98eadee17feedd20fb0f0f3178f5598e11eeaf1 (diff)
downloadbcm5719-llvm-e240dc52ff5589f3fa94bf9197d2fbbdc98d4a80.tar.gz
bcm5719-llvm-e240dc52ff5589f3fa94bf9197d2fbbdc98d4a80.zip
add a missing alias to make us more bug compatible with gcc, PR9378
llvm-svn: 131874
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index 3c37bc0a7d9..b8aeb65801b 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/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)>;
OpenPOWER on IntegriCloud