diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-22 04:56:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-22 04:56:20 +0000 |
commit | c2b942acf6008ac822c21722ac7ec84264d10bef (patch) | |
tree | 42d680d88ded3ed762fcbb030ce1e2bdbee3377c /lib/Target | |
parent | f93b90c5dfe98958eb43715a6e674565ab162502 (diff) | |
download | external_llvm-c2b942acf6008ac822c21722ac7ec84264d10bef.zip external_llvm-c2b942acf6008ac822c21722ac7ec84264d10bef.tar.gz external_llvm-c2b942acf6008ac822c21722ac7ec84264d10bef.tar.bz2 |
add the missing aliases for fp stack cmovs, rdar://8456391
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/AsmParser/X86AsmParser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 4fbe7f6..6826223 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/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") |