Recognize the xstorerng alias for VIA PadLock's xstore instruction.

llvm-svn: 134126
This commit is contained in:
Joerg Sonnenberger 2011-06-30 01:38:03 +00:00
parent adc6a4ca5d
commit 91e5662075
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -2,6 +2,10 @@
xstore
// CHECK: xstore
// CHECK: encoding: [0x0f,0xa7,0xc0]
xstorerng
// CHECK: xstore
// CHECK: encoding: [0x0f,0xa7,0xc0]
rep xcryptecb