summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrSystem.td
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-06-30 01:38:03 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-06-30 01:38:03 +0000
commitca0ede7655cbe126441dd13599eafdf442eff3a9 (patch)
tree55de26619dd54cbcee5c0358e6df088ae6b31faa /lib/Target/X86/X86InstrSystem.td
parent87360f73ae205854f100ba5fb7eef7b90ac3bc27 (diff)
downloadllvm-ca0ede7655cbe126441dd13599eafdf442eff3a9.tar.gz
llvm-ca0ede7655cbe126441dd13599eafdf442eff3a9.tar.bz2
llvm-ca0ede7655cbe126441dd13599eafdf442eff3a9.tar.xz
Recognize the xstorerng alias for VIA PadLock's xstore instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrSystem.td')
-rw-r--r--lib/Target/X86/X86InstrSystem.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrSystem.td b/lib/Target/X86/X86InstrSystem.td
index f73cff39e8..31de878343 100644
--- a/lib/Target/X86/X86InstrSystem.td
+++ b/lib/Target/X86/X86InstrSystem.td
@@ -411,6 +411,8 @@ let Uses = [RDX, RAX, RCX] in
let Defs = [RAX, RDI], Uses = [RDX, RDI] in
def XSTORE : I<0xc0, RawFrm, (outs), (ins), "xstore", []>, A7;
+def : InstAlias<"xstorerng", (XSTORE)>;
+
let Defs = [RSI, RDI], Uses = [RBX, RDX, RSI, RDI] in {
def XCRYPTECB : I<0xc8, RawFrm, (outs), (ins), "xcryptecb", []>, A7;
def XCRYPTCBC : I<0xd0, RawFrm, (outs), (ins), "xcryptcbc", []>, A7;