aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-06-18 14:12:56 +0000
committerDan Gohman <gohman@apple.com>2007-06-18 14:12:56 +0000
commit638c96d3914739a669fce153d8b2530ea93a72c6 (patch)
tree252f7b83b964c46d225718bf0498d0039c891ca6 /lib/Target
parentec82dc9a7c7172c6905d242523d13079a3e94427 (diff)
downloadexternal_llvm-638c96d3914739a669fce153d8b2530ea93a72c6.zip
external_llvm-638c96d3914739a669fce153d8b2530ea93a72c6.tar.gz
external_llvm-638c96d3914739a669fce153d8b2530ea93a72c6.tar.bz2
Define the pushq instruction for x86-64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86InstrX86-64.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrX86-64.td b/lib/Target/X86/X86InstrX86-64.td
index 6807a00..ac43846 100644
--- a/lib/Target/X86/X86InstrX86-64.td
+++ b/lib/Target/X86/X86InstrX86-64.td
@@ -141,6 +141,8 @@ def LEAVE64 : I<0xC9, RawFrm,
(ops), "leave", []>, Imp<[RBP,RSP],[RBP,RSP]>;
def POP64r : I<0x58, AddRegFrm,
(ops GR64:$reg), "pop{q} $reg", []>, Imp<[RSP],[RSP]>;
+def PUSH64r : I<0x50, AddRegFrm,
+ (ops GR64:$reg), "push{q} $reg", []>, Imp<[RSP],[RSP]>;
def LEA64_32r : I<0x8D, MRMSrcMem,
(ops GR32:$dst, lea64_32mem:$src),