From 4ecab7d4c2ad7a2bafc49e731fd22e9a74713d89 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 3 Jun 2008 14:29:07 +0000 Subject: [PATCH] 2008-06-03 Paul Brook gas/ * config/tc-arm.c (do_t_rbit): Populate both rm fields. gas/testsuite/ * gas/arm/thumb32.d: Update expected output. --- gas/ChangeLog | 4 ++++ gas/config/tc-arm.c | 1 + gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/arm/thumb32.d | 4 ++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b186b8acff8..afc296990f0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-06-03 Paul Brook + + * config/tc-arm.c (do_t_rbit): Populate both rm fields. + 2008-05-30 Nick Clifton PR 5523 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index df96d289b50..8aba5fcaf23 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 e051b65727e..dcc8f91db1c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-06-03 Paul Brook + + * gas/arm/thumb32.d: Update expected output. + 2008-05-30 H.J. Lu * 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 0d96818858e..1930e8954f4 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 -- 2.30.2