diff options
author | Paul Brook <paul@codesourcery.com> | 2006-09-08 15:51:02 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-09-08 15:51:02 +0000 |
commit | f91e006cf5ee5e3109aa2d056abf94449588a993 (patch) | |
tree | 9fcc468f2780c094de7d33de9e96797dcea24bb4 /gas/testsuite | |
parent | 0b8a70d9a0e7ded8fefcd7411947d1c7a49ca1fb (diff) | |
download | fsf-binutils-gdb-f91e006cf5ee5e3109aa2d056abf94449588a993.zip fsf-binutils-gdb-f91e006cf5ee5e3109aa2d056abf94449588a993.tar.gz fsf-binutils-gdb-f91e006cf5ee5e3109aa2d056abf94449588a993.tar.bz2 |
2006-09-08 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.
gas/testsuite/
* gas/arm/arm-it.s: New test.
* gas/arm/arm-it.d: New test.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/arm-it.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/arm-it.s | 8 |
3 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 7dcdabd..4533f54 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-09-08 Paul Brook <paul@codesourcery.com> + + * gas/arm/arm-it.s: New test. + * gas/arm/arm-it.d: New test. + 2006-09-07 Paul Brook <paul@codesourcery.com> * gas/arm/neon-omit.s: Test three-argument variants. diff --git a/gas/testsuite/gas/arm/arm-it.d b/gas/testsuite/gas/arm/arm-it.d new file mode 100644 index 0000000..674f815 --- /dev/null +++ b/gas/testsuite/gas/arm/arm-it.d @@ -0,0 +1,9 @@ +#name: ARM IT instruction +#objdump: -dr --prefix-addresses --show-raw-insn +#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +.*: +file format .*arm.* + +Disassembly of section .text: +0+000 <[^>]*> 03a00000 ? moveq r0, #0 ; 0x0 +0+004 <[^>]*> e1a0f00e ? mov pc, lr diff --git a/gas/testsuite/gas/arm/arm-it.s b/gas/testsuite/gas/arm/arm-it.s new file mode 100644 index 0000000..f3c56e8 --- /dev/null +++ b/gas/testsuite/gas/arm/arm-it.s @@ -0,0 +1,8 @@ + # Check that IT is accepted in ARM mode on older architectures + .text + .syntax unified + .arch armv4 +label1: + it eq + moveq r0, #0 + mov pc, lr |