mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
devel/llvm1[123]: Fix VIA PadLock xstore
Pull in the code gen portion of upstream LLVM's 2d8c18fbbdd1. MFH: 2021Q4 Sponsored by: DARPA
This commit is contained in:
parent
d6cffd5d1e
commit
0cb1a5fe81
@ -1,6 +1,6 @@
|
||||
PORTNAME= llvm
|
||||
DISTVERSION= 11.0.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
|
||||
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR}
|
||||
|
11
devel/llvm11/files/patch-lib_Target_X86_X86InstrSystem.td
Normal file
11
devel/llvm11/files/patch-lib_Target_X86_X86InstrSystem.td
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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)>;
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= llvm
|
||||
DISTVERSION= 12.0.1
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
|
||||
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR}
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- llvm/lib/Target/X86/X86InstrSystem.td.orig
|
||||
+++ llvm/lib/Target/X86/X86InstrSystem.td
|
||||
@@ -585,7 +585,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)>;
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= llvm
|
||||
DISTVERSION= 13.0.0
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
|
||||
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR}
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- llvm/lib/Target/X86/X86InstrSystem.td.orig
|
||||
+++ llvm/lib/Target/X86/X86InstrSystem.td
|
||||
@@ -585,7 +585,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)>;
|
||||
|
Loading…
Reference in New Issue
Block a user