aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
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