diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-05-28 16:02:18 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-05-28 16:02:18 +0000 |
commit | 941a8a522b9c4b38eea58bc00e6c4948be8d8c65 (patch) | |
tree | 332df9e2485ce0bb14befc2ec1b0f50533ef5225 /gas/config | |
parent | de072cdc3c691e93d469f853d2cc03597cc6d6f1 (diff) | |
download | gdb-941a8a522b9c4b38eea58bc00e6c4948be8d8c65.zip gdb-941a8a522b9c4b38eea58bc00e6c4948be8d8c65.tar.gz gdb-941a8a522b9c4b38eea58bc00e6c4948be8d8c65.tar.bz2 |
* gas/config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
lsls and not adds.
* gas/testsuite/gas/arm/thumb2_it_auto.d: Update for change in movs encoding.
gas/arm/thumb2_it.d: Likewise.
gas/arm/thumb32.d: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 6675935..6cf37b1 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -10369,8 +10369,8 @@ do_t_mov_cmp (void) case T_MNEM_movs: /* We know we have low registers at this point. - Generate ADD Rd, Rs, #0. */ - inst.instruction = T_OPCODE_ADD_I3; + Generate LSLS Rd, Rs, #0. */ + inst.instruction = T_OPCODE_LSL_I; inst.instruction |= Rn; inst.instruction |= Rm << 3; break; |