2008-06-03 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 3 Jun 2008 14:29:07 +0000 (14:29 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 3 Jun 2008 14:29:07 +0000 (14:29 +0000)
gas/
* config/tc-arm.c (do_t_rbit): Populate both rm fields.
gas/testsuite/
* gas/arm/thumb32.d: Update expected output.

gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/thumb32.d

index b186b8a..afc2969 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-03  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_t_rbit): Populate both rm fields.
+
 2008-05-30  Nick Clifton  <nickc@redhat.com>
 
        PR 5523
index df96d28..8aba5fc 100644 (file)
@@ -10048,6 +10048,7 @@ do_t_rbit (void)
 {
   inst.instruction |= inst.operands[0].reg << 8;
   inst.instruction |= inst.operands[1].reg << 16;
+  inst.instruction |= inst.operands[1].reg;
 }
 
 static void
index e051b65..dcc8f91 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-03  Paul Brook  <paul@codesourcery.com>
+
+       * gas/arm/thumb32.d: Update expected output.
+
 2008-05-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/i386/x86-64-avx.s: Add tests for vmovd on 64bit operands.
index 0d96818..1930e89 100644 (file)
@@ -739,9 +739,9 @@ Disassembly of section .text:
 0[0-9a-f]+ <[^>]+> fa90 f9b0   revsh\.w        r9, r0
 0[0-9a-f]+ <[^>]+> fa90 f0a0   rbit    r0, r0
 0[0-9a-f]+ <[^>]+> fa90 f0a0   rbit    r0, r0
-0[0-9a-f]+ <[^>]+> fa95 f0a0   rbit    r0, r5
+0[0-9a-f]+ <[^>]+> fa95 f0a5   rbit    r0, r5
 0[0-9a-f]+ <[^>]+> fa90 f5a0   rbit    r5, r0
-0[0-9a-f]+ <[^>]+> fa99 f0a0   rbit    r0, r9
+0[0-9a-f]+ <[^>]+> fa99 f0a9   rbit    r0, r9
 0[0-9a-f]+ <[^>]+> fa90 f9a0   rbit    r9, r0
 0[0-9a-f]+ <[^>]+> 0440        lsls    r0, r0, #17
 0[0-9a-f]+ <[^>]+> 0380        lsls    r0, r0, #14