mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 13:57:12 +08:00
* config/tc-arm.c (md_apply_fix): do not clear write_back bit
* gas/arm/iwmmxt-wldstbh.s: New file. * gas/arm/iwmmxt-wldstbh.d: New file.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2006-09-28 Bridge Wu <mingqiao.wu@gmail.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (md_apply_fix): Do not clear write_back bit.
|
||||||
|
|
||||||
2006-09-27 Nick Clifton <nickc@redhat.com>
|
2006-09-27 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* output-file.c (output_file_close): Prevent an infinite loop
|
* output-file.c (output_file_close): Prevent an infinite loop
|
||||||
|
@ -18162,8 +18162,6 @@ md_apply_fix (fixS * fixP,
|
|||||||
newval = get_thumb32_insn (buf);
|
newval = get_thumb32_insn (buf);
|
||||||
newval &= 0xff7fff00;
|
newval &= 0xff7fff00;
|
||||||
newval |= (value >> 2) | (sign ? INDEX_UP : 0);
|
newval |= (value >> 2) | (sign ? INDEX_UP : 0);
|
||||||
if (value == 0)
|
|
||||||
newval &= ~WRITE_BACK;
|
|
||||||
if (fixP->fx_r_type == BFD_RELOC_ARM_CP_OFF_IMM
|
if (fixP->fx_r_type == BFD_RELOC_ARM_CP_OFF_IMM
|
||||||
|| fixP->fx_r_type == BFD_RELOC_ARM_CP_OFF_IMM_S2)
|
|| fixP->fx_r_type == BFD_RELOC_ARM_CP_OFF_IMM_S2)
|
||||||
md_number_to_chars (buf, newval, INSN_SIZE);
|
md_number_to_chars (buf, newval, INSN_SIZE);
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2006-09-28 Bridge Wu <mingqiao.wu@gmail.com>
|
||||||
|
|
||||||
|
* gas/arm/iwmmxt-wldstbh.s: New file.
|
||||||
|
* gas/arm/iwmmxt-wldstbh.d: New file.
|
||||||
|
|
||||||
2006-09-26 Mark Shinwell <shinwell@codesourcery.com>
|
2006-09-26 Mark Shinwell <shinwell@codesourcery.com>
|
||||||
Joseph Myers <joseph@codesourcery.com>
|
Joseph Myers <joseph@codesourcery.com>
|
||||||
Ian Lance Taylor <ian@wasabisystems.com>
|
Ian Lance Taylor <ian@wasabisystems.com>
|
||||||
|
11
gas/testsuite/gas/arm/iwmmxt-wldsttbh.d
Normal file
11
gas/testsuite/gas/arm/iwmmxt-wldsttbh.d
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#objdump: -dr --prefix-addresses --show-raw-insn -miwmmxt
|
||||||
|
#name: Intel(r) Wireless MMX(tm) technology instructions version 1
|
||||||
|
#as: -mcpu=xscale+iwmmxt -EL
|
||||||
|
|
||||||
|
.*: +file format .*arm.*
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
0+000 <iwmmxt> ecb11000[ ]+wldrb[ ]+wr1, \[r1\]
|
||||||
|
0+004 <[^>]*> ecf11000[ ]+wldrh[ ]+wr1, \[r1\]
|
||||||
|
0+008 <[^>]*> eca11000[ ]+wstrb[ ]+wr1, \[r1\]
|
||||||
|
0+00c <[^>]*> ece11000[ ]+wstrh[ ]+wr1, \[r1\]
|
8
gas/testsuite/gas/arm/iwmmxt-wldsttbh.s
Normal file
8
gas/testsuite/gas/arm/iwmmxt-wldsttbh.s
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.text
|
||||||
|
.global iwmmxt
|
||||||
|
iwmmxt:
|
||||||
|
|
||||||
|
wldrb wr1, [r1], #0
|
||||||
|
wldrh wr1, [r1], #0
|
||||||
|
wstrb wr1, [r1], #0
|
||||||
|
wstrh wr1, [r1], #0
|
Reference in New Issue
Block a user