]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/patches/patch-05-enable-armv6-clrex.diff
Merge ^/head r277804 through r277843.
[FreeBSD/FreeBSD.git] / contrib / llvm / patches / patch-05-enable-armv6-clrex.diff
1 For now, enable the clrex instruction for armv6, until upstream
2 implements this properly.
3
4 Submitted by:   rdivacky
5
6 Introduced here: http://svnweb.freebsd.org/changeset/base/275362
7
8 Index: lib/Target/ARM/ARMInstrInfo.td
9 ===================================================================
10 --- lib/Target/ARM/ARMInstrInfo.td      (revision 5)
11 +++ lib/Target/ARM/ARMInstrInfo.td      (revision 6)
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