aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2008-06-03 14:29:07 +0000
committerPaul Brook <paul@codesourcery.com>2008-06-03 14:29:07 +0000
commit4ecab7d4c2ad7a2bafc49e731fd22e9a74713d89 (patch)
tree4ed8e3708f406d9577f107b2df9dd7b29aaa8a54
parent93a57060b7845887707fb5d6865e96cfdca888d0 (diff)
downloadgdb-4ecab7d4c2ad7a2bafc49e731fd22e9a74713d89.zip
gdb-4ecab7d4c2ad7a2bafc49e731fd22e9a74713d89.tar.gz
gdb-4ecab7d4c2ad7a2bafc49e731fd22e9a74713d89.tar.bz2
2008-06-03 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (do_t_rbit): Populate both rm fields. gas/testsuite/ * gas/arm/thumb32.d: Update expected output.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c1
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/arm/thumb32.d4
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