]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/arm/arm-it-auto-3.d
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / arm / arm-it-auto-3.d
diff --git a/gas/testsuite/gas/arm/arm-it-auto-3.d b/gas/testsuite/gas/arm/arm-it-auto-3.d
new file mode 100644 (file)
index 0000000..c039895
--- /dev/null
@@ -0,0 +1,15 @@
+#name: ARM IT automatic instruction generation 3
+#as: -mthumb -march=armv7a -mimplicit-it=always
+#objdump: -d --prefix-addresses --show-raw-insn
+#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+
+.*: +file format .*arm.*
+
+Disassembly of section .text.one:
+00000000 <.text.one> 2800              cmp     r0, #0
+00000002 <.text.one\+0x2> bf08         it      eq
+00000004 <.text.one\+0x4> 3102         addeq   r1, #2
+
+Disassembly of section .text.two:
+00000000 <.text.two> bf08              it      eq
+00000002 <.text.two\+0x2> 3103         addeq   r1, #3