summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-12-01 13:07:49 +0000
committerdim <dim@FreeBSD.org>2014-12-01 13:07:49 +0000
commitd60f78e7aa0d70dfa92ba5767f7a482dbbe0caba (patch)
tree37935c15d0281b4bed104d3a1d2fe3e25c999585 /contrib/llvm/patches
parent329af525ff984c2e10e50f69e6bed085ab656b82 (diff)
downloadFreeBSD-src-d60f78e7aa0d70dfa92ba5767f7a482dbbe0caba.zip
FreeBSD-src-d60f78e7aa0d70dfa92ba5767f7a482dbbe0caba.tar.gz
Add patch file for r275362.
Diffstat (limited to 'contrib/llvm/patches')
-rw-r--r--contrib/llvm/patches/patch-20-enable-armv6-clrex.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff b/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff
new file mode 100644
index 0000000..0375f08
--- /dev/null
+++ b/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff
@@ -0,0 +1,20 @@
+For now, enable the clrex instruction for armv6, until upstream
+implements this properly.
+
+Submitted by: rdivacky
+
+Introduced here: http://svnweb.freebsd.org/changeset/base/275362
+
+Index: lib/Target/ARM/ARMInstrInfo.td
+===================================================================
+--- lib/Target/ARM/ARMInstrInfo.td (revision 20)
++++ lib/Target/ARM/ARMInstrInfo.td (revision 21)
+@@ -4615,7 +4615,7 @@ def STLEXD : AIstlex<0b01, (outs GPR:$Rd),
+
+ def CLREX : AXI<(outs), (ins), MiscFrm, NoItinerary, "clrex",
+ [(int_arm_clrex)]>,
+- Requires<[IsARM, HasV7]> {
++ Requires<[IsARM, HasV6]> {
+ let Inst{31-0} = 0b11110101011111111111000000011111;
+ }
+
OpenPOWER on IntegriCloud