diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-06-30 01:38:03 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-06-30 01:38:03 +0000 |
commit | 91e56620753d6f717b17b3f9d1336098a60872cd (patch) | |
tree | 205fa4a2c4a195be705a63002515013268d97698 /llvm/lib/Target | |
parent | adc6a4ca5d50e0496b7cb97e4013e05afd59e2a6 (diff) | |
download | llvm-91e56620753d6f717b17b3f9d1336098a60872cd.zip llvm-91e56620753d6f717b17b3f9d1336098a60872cd.tar.gz llvm-91e56620753d6f717b17b3f9d1336098a60872cd.tar.bz2 |
Recognize the xstorerng alias for VIA PadLock's xstore instruction.
llvm-svn: 134126
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrSystem.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td index f73cff3..31de878 100644 --- a/llvm/lib/Target/X86/X86InstrSystem.td +++ b/llvm/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; |