mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
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
This commit is contained in:
@@ -411,6 +411,8 @@ let Uses = [RDX, RAX, RCX] in
|
|||||||
let Defs = [RAX, RDI], Uses = [RDX, RDI] in
|
let Defs = [RAX, RDI], Uses = [RDX, RDI] in
|
||||||
def XSTORE : I<0xc0, RawFrm, (outs), (ins), "xstore", []>, A7;
|
def XSTORE : I<0xc0, RawFrm, (outs), (ins), "xstore", []>, A7;
|
||||||
|
|
||||||
|
def : InstAlias<"xstorerng", (XSTORE)>;
|
||||||
|
|
||||||
let Defs = [RSI, RDI], Uses = [RBX, RDX, RSI, RDI] in {
|
let Defs = [RSI, RDI], Uses = [RBX, RDX, RSI, RDI] in {
|
||||||
def XCRYPTECB : I<0xc8, RawFrm, (outs), (ins), "xcryptecb", []>, A7;
|
def XCRYPTECB : I<0xc8, RawFrm, (outs), (ins), "xcryptecb", []>, A7;
|
||||||
def XCRYPTCBC : I<0xd0, RawFrm, (outs), (ins), "xcryptcbc", []>, A7;
|
def XCRYPTCBC : I<0xd0, RawFrm, (outs), (ins), "xcryptcbc", []>, A7;
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
xstore
|
xstore
|
||||||
// CHECK: xstore
|
// CHECK: xstore
|
||||||
|
// CHECK: encoding: [0x0f,0xa7,0xc0]
|
||||||
|
|
||||||
|
xstorerng
|
||||||
|
// CHECK: xstore
|
||||||
// CHECK: encoding: [0x0f,0xa7,0xc0]
|
// CHECK: encoding: [0x0f,0xa7,0xc0]
|
||||||
|
|
||||||
rep xcryptecb
|
rep xcryptecb
|
||||||
|
Reference in New Issue
Block a user