diff options
author | Zack Weinberg <zackw@panix.com> | 2005-03-12 18:25:47 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2005-03-12 18:25:47 +0000 |
commit | 885fc2570fb532bed3be36d73dccddb01511a9d5 (patch) | |
tree | 22c013cf389658384c39cb5f735e88f7c27d80ea /opcodes | |
parent | b9fd58c7eb0d15707317f6b317d539271771d732 (diff) | |
download | gdb-885fc2570fb532bed3be36d73dccddb01511a9d5.zip gdb-885fc2570fb532bed3be36d73dccddb01511a9d5.tar.gz gdb-885fc2570fb532bed3be36d73dccddb01511a9d5.tar.bz2 |
gas:
* 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.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 1 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 883c7a9..684695b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -4,6 +4,7 @@ Add entries for v6T2 ARM instructions: bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. (print_insn_arm): Add support for %E and %V. + (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. 2005-03-10 Jeff Baker <jbaker@qnx.com> Alan Modra <amodra@bigpond.net.au> diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 3ec8090..a87bcc0 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -635,6 +635,13 @@ static const struct thumb_opcode thumb_opcodes[] = { /* Thumb instructions. */ + /* ARM V6K no-argument instructions. */ + {ARM_EXT_V6K, 0xbf00, 0xffff, "nop"}, + {ARM_EXT_V6K, 0xbf10, 0xffff, "yield"}, + {ARM_EXT_V6K, 0xbf20, 0xffff, "wfe"}, + {ARM_EXT_V6K, 0xbf30, 0xffff, "wfi"}, + {ARM_EXT_V6K, 0xbf40, 0xffff, "sev"}, + /* ARM V6. */ {ARM_EXT_V6, 0xb660, 0xfff8, "cpsie\t%2'a%1'i%0'f"}, {ARM_EXT_V6, 0xb670, 0xfff8, "cpsid\t%2'a%1'i%0'f"}, |