summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-06-15 20:59:31 +0000
committerBill Wendling <isanbard@gmail.com>2009-06-15 20:59:31 +0000
commit2dadb42dd0172c889b9da3a777581d3ff2c53e70 (patch)
tree8445cadbc62805a8f86fbe79e5067a01b444a1f9 /llvm/lib/Target
parent9df78ee1aec2464c0d9e3560669b2c935885de94 (diff)
downloadbcm5719-llvm-2dadb42dd0172c889b9da3a777581d3ff2c53e70.tar.gz
bcm5719-llvm-2dadb42dd0172c889b9da3a777581d3ff2c53e70.zip
The Ls and Qs were mixed up. Patch by Sean.
llvm-svn: 73417
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86Instr64bit.td6
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td6
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86Instr64bit.td b/llvm/lib/Target/X86/X86Instr64bit.td
index ea26848821f..b58649faa54 100644
--- a/llvm/lib/Target/X86/X86Instr64bit.td
+++ b/llvm/lib/Target/X86/X86Instr64bit.td
@@ -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
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index 0c0003fa810..416f342efd1 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -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
OpenPOWER on IntegriCloud