summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches/patch-19-enable-armv6-clrex.diff
blob: fd77f45ac1b5fe7e5e565c407b8ea0d65f3061c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
+++ lib/Target/ARM/ARMInstrInfo.td
@@ -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