Browse Source
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe, wfi, yield. opcodes: * arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. gas/testsuite: * gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test. * gas/arm/arm.exp: Run it.csl-arm-20050325-branch
8 changed files with 55 additions and 1 deletions
@ -0,0 +1,15 @@ |
|||
#name: THUMB V6K instructions |
|||
#as: -march=armv6k -mthumb |
|||
#objdump: -dr --prefix-addresses --show-raw-insn -M force-thumb |
|||
|
|||
.*: +file format .*arm.* |
|||
|
|||
Disassembly of section .text: |
|||
0+000 <[^>]*> bf10 * yield |
|||
0+002 <[^>]*> bf20 * wfe |
|||
0+004 <[^>]*> bf30 * wfi |
|||
0+006 <[^>]*> bf40 * sev |
|||
0+008 <[^>]*> 46c0 * nop[ \t]+\(mov r8, r8\) |
|||
0+00a <[^>]*> 46c0 * nop[ \t]+\(mov r8, r8\) |
|||
0+00c <[^>]*> 46c0 * nop[ \t]+\(mov r8, r8\) |
|||
0+00e <[^>]*> 46c0 * nop[ \t]+\(mov r8, r8\) |
|||
@ -0,0 +1,14 @@ |
|||
.text |
|||
.align 0 |
|||
.thumb |
|||
label: |
|||
yield |
|||
wfe |
|||
wfi |
|||
sev |
|||
# arm-aout wants the segment padded to an 16-byte boundary; |
|||
# do this explicitly so it's consistent for all object formats. |
|||
nop |
|||
nop |
|||
nop |
|||
nop |
|||
Loading…
Reference in new issue