diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-24 12:02:46 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-24 12:02:46 +0000 |
| commit | 651db37352b22cd285b1caa1898b657d0556b169 (patch) | |
| tree | 470792f2ced2c3741207f7fee2e062e629443c24 | |
| parent | 7adee1a01a39b891a69cf740aa87184f08effe5a (diff) | |
| download | bcm5719-llvm-651db37352b22cd285b1caa1898b657d0556b169.tar.gz bcm5719-llvm-651db37352b22cd285b1caa1898b657d0556b169.zip | |
X86: alias cqo to cqto.
llvm-svn: 145121
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 3 | ||||
| -rw-r--r-- | llvm/test/MC/X86/x86-64.s | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 79ce509412f..35631d50f41 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -1523,10 +1523,11 @@ def : MnemonicAlias<"call", "calll">, Requires<[In32BitMode]>; def : MnemonicAlias<"call", "callq">, Requires<[In64BitMode]>; def : MnemonicAlias<"cbw", "cbtw">; +def : MnemonicAlias<"cwde", "cwtl">; def : MnemonicAlias<"cwd", "cwtd">; def : MnemonicAlias<"cdq", "cltd">; -def : MnemonicAlias<"cwde", "cwtl">; def : MnemonicAlias<"cdqe", "cltq">; +def : MnemonicAlias<"cqo", "cqto">; // lret maps to lretl, it is not ambiguous with lretq. def : MnemonicAlias<"lret", "lretl">; diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s index 6c836fca907..4ec579a7a1f 100644 --- a/llvm/test/MC/X86/x86-64.s +++ b/llvm/test/MC/X86/x86-64.s @@ -459,6 +459,7 @@ cwtl // CHECK: cwtl cbw // CHECK: cbtw cwd // CHECK: cwtd cdq // CHECK: cltd +cqo // CHECK: cqto // rdar://8456378 and PR7557 - fstsw fstsw %ax |

