aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.r@gmail.com>2005-03-01 15:05:27 +0000
committerRamana Radhakrishnan <ramana.r@gmail.com>2005-03-01 15:05:27 +0000
commitb15c27d7c12d8c8d500a4f96693f6a7cff86aeaa (patch)
tree184617bedec28c8c75c189af6ca1b1859547f896 /gas/testsuite
parent190eb1370b7b7e8f608294d3b03d315a70761601 (diff)
downloadfsf-binutils-gdb-b15c27d7c12d8c8d500a4f96693f6a7cff86aeaa.zip
fsf-binutils-gdb-b15c27d7c12d8c8d500a4f96693f6a7cff86aeaa.tar.gz
fsf-binutils-gdb-b15c27d7c12d8c8d500a4f96693f6a7cff86aeaa.tar.bz2
2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
PR gas/708 * config/tc-arc.c(md_assemble):Initialize suffix for extension suffixes also. * testsuite/gas/arc/extensions.s:New file * testsuite/gas/arc/extensions.d:New file
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/arc/extensions.d9
-rw-r--r--gas/testsuite/gas/arc/extensions.s4
2 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arc/extensions.d b/gas/testsuite/gas/arc/extensions.d
new file mode 100644
index 0000000..07bd183
--- /dev/null
+++ b/gas/testsuite/gas/arc/extensions.d
@@ -0,0 +1,9 @@
+#as: -EL -marc8
+#objdump: -dr -EL
+
+.*: +file format elf32-.*arc
+
+Disassembly of section .text:
+
+00000000 <condcodeTest>:
+ 0: 12 02 00 40 40000212 add.isbusy r0,r0,r1
diff --git a/gas/testsuite/gas/arc/extensions.s b/gas/testsuite/gas/arc/extensions.s
new file mode 100644
index 0000000..558dcb5
--- /dev/null
+++ b/gas/testsuite/gas/arc/extensions.s
@@ -0,0 +1,4 @@
+.extCondCode isbusy, 0x12
+ .section .text
+condcodeTest:
+ add.isbusy r0,r0,r1