aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2011-09-22 00:03:30 +0000
committerDavid S. Miller <davem@redhat.com>2011-09-22 00:03:30 +0000
commit4bafe00ecf3e7b63d3b2b23f5406637261c6b391 (patch)
tree369728fcaa3c78d1b314f969e2ddd139e1964963 /gas/testsuite
parenta3a129def5d5be57e3766ff7386f238eebd205a1 (diff)
downloadgdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.zip
gdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.tar.gz
gdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.tar.bz2
Add new sparc options to control instruction availability.
gas/ * config/tc-sparc.c (hwcap_allowed): New. (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask of F_FOO flags which are enabled by the particular arch setting. Add new options that provide explicit access to new instructions. (md_parse_option): Only bump max_architecture if the requested one is larger, or this is the first explicit request. (get_hwcap_name): New function. (sparc_ip): Validate that hwcaps used by an instruction have actually been enabled. * doc/c-sparc.texi: Document new sparc options.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog2
-rw-r--r--gas/testsuite/gas/sparc/hpcvis3.d2
2 files changed, 3 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index ca8f38d..03463ad 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -8,6 +8,8 @@
* gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options.
* gas/sparc/v8-movwr-imm.d: Likewise.
+ * gas/sparc/hpcvis3.d: Pass '-Av9v'.
+
2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk>
* gas/sparc/imm-plus-rreg.[sd]: New test.
diff --git a/gas/testsuite/gas/sparc/hpcvis3.d b/gas/testsuite/gas/sparc/hpcvis3.d
index d44b13b..faa3137 100644
--- a/gas/testsuite/gas/sparc/hpcvis3.d
+++ b/gas/testsuite/gas/sparc/hpcvis3.d
@@ -1,4 +1,4 @@
-#as: -Av9b
+#as: -Av9v
#objdump: -dr
#name: sparc HPC+VIS3