binutils-gdb/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
..
aclocal.m4
armcopro.c
armdefs.h
armemu.c sim: arm: add support for MOVW and MOVT instructions 2013-05-15 17:49:44 +00:00
armemu.h
armfpe.h
arminit.c
armopts.h
armos.c
armos.h
armrdi.c
armsupp.c
armvirt.c
bag.c
bag.h
ChangeLog sim: arm: add support for MOVW and MOVT instructions 2013-05-15 17:49:44 +00:00
communicate.c
communicate.h
config.in
configure
configure.ac
COPYING
dbg_conf.h
dbg_cp.h
dbg_hif.h
dbg_rdi.h
gdbhost.c
gdbhost.h
iwmmxt.c
iwmmxt.h
kid.c
main.c
Makefile.in
maverick.c
parent.c
README
tconfig.in
thumbemu.c
wrapper.c gdb: 2013-03-15 17:53:44 +00:00

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995