[llvm] r320159 - [X86] Tag VIA PadLock crypto instructions scheduler classes
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 08:06:40 PST 2017
Author: rksimon
Date: Fri Dec 8 08:06:40 2017
New Revision: 320159
URL: http://llvm.org/viewvc/llvm-project?rev=320159&view=rev
Log:
[X86] Tag VIA PadLock crypto instructions scheduler classes
Modified:
llvm/trunk/lib/Target/X86/X86InstrSystem.td
Modified: llvm/trunk/lib/Target/X86/X86InstrSystem.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSystem.td?rev=320159&r1=320158&r2=320159&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSystem.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSystem.td Fri Dec 8 08:06:40 2017
@@ -602,11 +602,12 @@ let Predicates = [HasXSAVES] in {
//===----------------------------------------------------------------------===//
// VIA PadLock crypto instructions
-let Defs = [RAX, RDI], Uses = [RDX, RDI] in
+let Defs = [RAX, RDI], Uses = [RDX, RDI], SchedRW = [WriteSystem] in
def XSTORE : I<0xa7, MRM_C0, (outs), (ins), "xstore", []>, TB;
def : InstAlias<"xstorerng", (XSTORE)>;
+let SchedRW = [WriteSystem] in {
let Defs = [RSI, RDI], Uses = [RBX, RDX, RSI, RDI] in {
def XCRYPTECB : I<0xa7, MRM_C8, (outs), (ins), "xcryptecb", []>, TB;
def XCRYPTCBC : I<0xa7, MRM_D0, (outs), (ins), "xcryptcbc", []>, TB;
@@ -621,6 +622,7 @@ let Defs = [RAX, RSI, RDI], Uses = [RAX,
}
let Defs = [RAX, RDX, RSI], Uses = [RAX, RSI] in
def MONTMUL : I<0xa6, MRM_C0, (outs), (ins), "montmul", []>, TB;
+} // SchedRW
//==-----------------------------------------------------------------------===//
// PKU - enable protection key
More information about the llvm-commits
mailing list