aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/gas/m68k/arch-cpu-1.d11
-rw-r--r--gas/testsuite/gas/m68k/arch-cpu-1.s4
2 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/gas/m68k/arch-cpu-1.d b/gas/testsuite/gas/m68k/arch-cpu-1.d
new file mode 100644
index 0000000..4195926
--- /dev/null
+++ b/gas/testsuite/gas/m68k/arch-cpu-1.d
@@ -0,0 +1,11 @@
+#name: arch-cpu-1
+#objdump: -dp
+
+
+.*: file format elf32-m68k
+private flags = 22: \[isa A\+\] \[emac\]
+
+Disassembly of section .text:
+
+00000000 <.text>:
+ 0: a241 0280 macw %d1l,%a1u,<<,%acc0
diff --git a/gas/testsuite/gas/m68k/arch-cpu-1.s b/gas/testsuite/gas/m68k/arch-cpu-1.s
new file mode 100644
index 0000000..e0bfead
--- /dev/null
+++ b/gas/testsuite/gas/m68k/arch-cpu-1.s
@@ -0,0 +1,4 @@
+ .arch isaaplus,no-div,emac
+ .cpu 5329
+
+ mac.w %d1l,%a1u,<<,%acc0