OSDN Git Service

gas:
authorZack Weinberg <zackw@panix.com>
Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)
committerZack Weinberg <zackw@panix.com>
Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)
* 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.

opcodes/ChangeLog
opcodes/arm-dis.c

index 883c7a9..684695b 100644 (file)
@@ -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>
index 3ec8090..a87bcc0 100644 (file)
@@ -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"},