X86: alias cqo to cqto.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Nov 2011 12:02:46 +0000 (12:02 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Nov 2011 12:02:46 +0000 (12:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145121 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td
test/MC/X86/x86-64.s

index 79ce509412f3c26b2c166685a5d7c265707f0530..35631d50f4193cca91c1d1953e7e1599500bffdb 100644 (file)
@@ -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">;
index 6c836fca907fe1b86a203ebb2aad785d0ba07207..4ec579a7a1f039214044606b57a0e900b5771640 100644 (file)
@@ -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