svn commit: r272473 - head/contrib/binutils/gas/config

Andrew Turner andrew at FreeBSD.org
Fri Oct 3 12:20:38 UTC 2014


Author: andrew
Date: Fri Oct  3 12:20:37 2014
New Revision: 272473
URL: https://svnweb.freebsd.org/changeset/base/272473

Log:
  Add all the dmb/dsb optional limitations, including the alternative values.
  These are needed for some code llvm generates when targeting ARMv7.

Modified:
  head/contrib/binutils/gas/config/tc-arm.c

Modified: head/contrib/binutils/gas/config/tc-arm.c
==============================================================================
--- head/contrib/binutils/gas/config/tc-arm.c	Fri Oct  3 12:14:19 2014	(r272472)
+++ head/contrib/binutils/gas/config/tc-arm.c	Fri Oct  3 12:20:37 2014	(r272473)
@@ -14695,10 +14695,18 @@ static const struct asm_cond conds[] =
 
 static struct asm_barrier_opt barrier_opt_names[] =
 {
-  { "sy",   0xf },
-  { "un",   0x7 },
-  { "st",   0xe },
-  { "unst", 0x6 }
+  { "sy",    0xf },
+  { "un",    0x7 },
+  { "st",    0xe },
+  { "unst",  0x6 },
+  { "ish",   0xb },
+  { "sh",    0xb },
+  { "ishst", 0xa },
+  { "shst",  0xa },
+  { "nsh",   0x7 },
+  { "nshst", 0x6 },
+  { "osh",   0x3 },
+  { "oshst", 0x2 }
 };
 
 /* Table of ARM-format instructions.	*/


More information about the svn-src-all mailing list