ports/devel/llvm11/files/patch-lib_Target_X86_X86InstrSystem.td
Brooks Davis 0cb1a5fe81 devel/llvm1[123]: Fix VIA PadLock xstore
Pull in the code gen portion of upstream LLVM's 2d8c18fbbdd1.

MFH:		2021Q4
Sponsored by:	DARPA
2021-10-28 19:52:16 +01:00

11 lines
469 B
TableGen

--- lib/Target/X86/X86InstrSystem.td.orig
+++ lib/Target/X86/X86InstrSystem.td
@@ -573,7 +573,7 @@
//===----------------------------------------------------------------------===//
// VIA PadLock crypto instructions
let Defs = [RAX, RDI], Uses = [RDX, RDI], SchedRW = [WriteSystem] in
- def XSTORE : I<0xa7, MRM_C0, (outs), (ins), "xstore", []>, TB, REP;
+ def XSTORE : I<0xa7, MRM_C0, (outs), (ins), "xstore", []>, TB;
def : InstAlias<"xstorerng", (XSTORE)>;