diff options
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 1 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumb32.d | 4 |
4 files changed, 11 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b186b8a..afc2969 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index df96d28..8aba5fc 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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 diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e051b65..dcc8f91 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/arm/thumb32.d b/gas/testsuite/gas/arm/thumb32.d index 0d96818..1930e89 100644 --- a/gas/testsuite/gas/arm/thumb32.d +++ b/gas/testsuite/gas/arm/thumb32.d @@ -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 |