1For now, enable the clrex instruction for armv6, until upstream 2implements this properly. 3 4Submitted by: rdivacky 5 6Introduced here: http://svnweb.freebsd.org/changeset/base/275362 7 8Index: lib/Target/ARM/ARMInstrInfo.td 9=================================================================== 10--- lib/Target/ARM/ARMInstrInfo.td 11+++ lib/Target/ARM/ARMInstrInfo.td 12@@ -4640,7 +4640,7 @@ def STLEXD : AIstlex<0b01, (outs GPR:$Rd), 13 14 def CLREX : AXI<(outs), (ins), MiscFrm, NoItinerary, "clrex", 15 [(int_arm_clrex)]>, 16- Requires<[IsARM, HasV7]> { 17+ Requires<[IsARM, HasV6]> { 18 let Inst{31-0} = 0b11110101011111111111000000011111; 19 } 20 21