summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-22 04:56:20 +0000
committerChris Lattner <sabre@nondot.org>2010-09-22 04:56:20 +0000
commit9dfd2e354e9e7d646077d9cf85eab98f6a674192 (patch)
tree5c09cecc7370b1be0068f5f3eddba261004fa85d /llvm/lib
parenta4ddf7f80232d76ae8cd73d57de3d870868b5012 (diff)
downloadbcm5719-llvm-9dfd2e354e9e7d646077d9cf85eab98f6a674192.tar.gz
bcm5719-llvm-9dfd2e354e9e7d646077d9cf85eab98f6a674192.zip
add the missing aliases for fp stack cmovs, rdar://8456391
llvm-svn: 114531
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 4fbe7f68e6d..6826223fd8c 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -685,6 +685,12 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
.Case("cmovnzq", "cmovneq").Case("cmovnz", "cmovne")
.Case("cmovzw", "cmovew") .Case("cmovzl", "cmovel")
.Case("cmovzq", "cmoveq") .Case("cmovz", "cmove")
+ // Floating point stack cmov aliases.
+ .Case("fcmovz", "fcmove")
+ .Case("fcmova", "fcmovnbe")
+ .Case("fcmovnae", "fcmovb")
+ .Case("fcmovna", "fcmovbe")
+ .Case("fcmovae", "fcmovnb")
.Case("fwait", "wait")
.Case("movzx", "movzb") // FIXME: Not correct.
.Case("fildq", "fildll")
OpenPOWER on IntegriCloud