The Ls and Qs were mixed up. Patch by Sean.
authorBill Wendling <isanbard@gmail.com>
Mon, 15 Jun 2009 20:59:31 +0000 (20:59 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 15 Jun 2009 20:59:31 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73417 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td

index ea26848821fa5f68e61b665a58bb5c6f92198749..b58649faa541b455ffb26650dabff371d7e1e2eb 100644 (file)
@@ -179,11 +179,11 @@ def PUSH64r  : I<0x50, AddRegFrm,
 
 let Defs = [RSP], Uses = [RSP], neverHasSideEffects = 1, mayStore = 1 in {
 def PUSH64i8   : Ii8<0x6a, RawFrm, (outs), (ins i8imm:$imm), 
-                     "push{l}\t$imm", []>;
+                     "push{q}\t$imm", []>;
 def PUSH64i16  : Ii16<0x68, RawFrm, (outs), (ins i16imm:$imm), 
-                      "push{l}\t$imm", []>;
+                      "push{q}\t$imm", []>;
 def PUSH64i32  : Ii32<0x68, RawFrm, (outs), (ins i32imm:$imm), 
-                      "push{l}\t$imm", []>;
+                      "push{q}\t$imm", []>;
 }
 
 let Defs = [RSP, EFLAGS], Uses = [RSP], mayLoad = 1 in
index 0c0003fa8107e537f85cfba311bcea11a0043198..416f342efd1da824794271cb7591a9d0e501da77 100644 (file)
@@ -613,11 +613,11 @@ def PUSH32r  : I<0x50, AddRegFrm, (outs), (ins GR32:$reg), "push{l}\t$reg",[]>;
 
 let Defs = [ESP], Uses = [ESP], neverHasSideEffects = 1, mayStore = 1 in {
 def PUSH32i8   : Ii8<0x6a, RawFrm, (outs), (ins i8imm:$imm), 
-                     "push{q}\t$imm", []>;
+                     "push{l}\t$imm", []>;
 def PUSH32i16  : Ii16<0x68, RawFrm, (outs), (ins i16imm:$imm), 
-                      "push{q}\t$imm", []>;
+                      "push{l}\t$imm", []>;
 def PUSH32i32  : Ii32<0x68, RawFrm, (outs), (ins i32imm:$imm), 
-                      "push{q}\t$imm", []>;
+                      "push{l}\t$imm", []>;
 }
 
 let Defs = [ESP, EFLAGS], Uses = [ESP], mayLoad = 1, neverHasSideEffects=1 in