8sa1-binutils-gdb/sim/testsuite/sim/arm
Mike Frysinger 590919de6c sim: arm: add support for MOVW and MOVT instructions
From: Jayant R. Sonar <Jayant.Sonar@kpitcummins.com>

This patch adds simulator support for handling the armv7 instructions
'movw (immediate)' and 'movt'.

Compiler frequently use these instructions to load the 32bit addresses of
global variables, string pointers etc. into the general registers.

In absence of support of these instructions:
1. GDB run simulator fails to print even simple "hello world" string
   on console.
2. Loading of global variable addresses into the registers fail causing
   arithmetic operation failures.

Patch has been regression tested for arm-none-eabi (-march=armv7-a).
2013-05-15 17:49:44 +00:00
..
iwmmxt
thumb
xscale
adc.cgs
add.cgs
allinsn.exp
and.cgs
b.cgs
bic.cgs
bl.cgs
bx.cgs
ChangeLog
cmn.cgs
cmp.cgs
eor.cgs
hello.ms
ldm.cgs
ldr.cgs
ldrb.cgs
ldrh.cgs
ldrsb.cgs
ldrsh.cgs
misaligned1.ms
misaligned2.ms
misaligned3.ms
misc.exp
mla.cgs
mov.cgs
movw-movt.ms
mrs.cgs
msr.cgs
mul.cgs
mvn.cgs
orr.cgs
rsb.cgs
rsc.cgs
sbc.cgs
smlal.cgs
smull.cgs
stm.cgs
str.cgs
strb.cgs
strh.cgs
sub.cgs
swi.cgs
swp.cgs
swpb.cgs
teq.cgs
testutils.inc
tst.cgs
umlal.cgs
umull.cgs