svn commit: r275363 - projects/clang350-import/contrib/llvm/patches

Dimitry Andric dim at FreeBSD.org
Mon Dec 1 13:07:50 UTC 2014


Author: dim
Date: Mon Dec  1 13:07:49 2014
New Revision: 275363
URL: https://svnweb.freebsd.org/changeset/base/275363

Log:
  Add patch file for r275362.

Added:
  projects/clang350-import/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff

Added: projects/clang350-import/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/contrib/llvm/patches/patch-20-enable-armv6-clrex.diff	Mon Dec  1 13:07:49 2014	(r275363)
@@ -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;
+ }
+ 


More information about the svn-src-projects mailing list