binutils-gdb/sim
Nick Clifton 7517e550ce Fix more bugs in AArch64 simulator.
* cpustate.c (aarch64_set_reg_s32): New function.
	(aarch64_set_reg_u32): New function.
	(aarch64_get_FP_half): Place half precision value into the correct
	slot of the union.
	(aarch64_set_FP_half): Likewise.
	* cpustate.h: Add prototypes for aarch64_set_reg_s32 and
	aarch64_set_reg_u32.
	* memory.c (FETCH_FUNC): Cast the read value to the access type
	before converting it to the return type.  Rename to FETCH_FUNC64.
	(FETCH_FUNC32): New macro.  Duplicates FETCH_FUNC64 but for 32-bit
	accesses.  Use for 32-bit memory access functions.
	* simulator.c (ldrsb_wb): Use sign extension not zero extension.
	(ldrb_scale_ext, ldrsh32_abs, ldrsh32_wb): Likewise.
	(ldrsh32_scale_ext, ldrsh_abs, ldrsh64_wb): Likewise.
	(ldrsh_scale_ext, ldrsw_abs): Likewise.
	(ldrh32_abs): Store 32 bit value not 64-bits.
	(ldrh32_wb, ldrh32_scale_ext): Likewise.
	(do_vec_MOV_immediate): Fix computation of val.
	(do_vec_MVNI): Likewise.
	(DO_VEC_WIDENING_MUL): New macro.
	(do_vec_mull): Use new macro.
	(do_vec_mul): Use new macro.
	(do_vec_MLA): Read values before writing.
	(do_vec_xtl): Likewise.
	(do_vec_SSHL): Select correct shift value.
	(do_vec_USHL): Likewise.
	(do_scalar_UCVTF): New function.
	(do_scalar_vec): Call new function.
	(store_pair_u64): Treat reads of SP as reads of XZR.
2016-03-30 10:29:04 +01:00
..
aarch64 Fix more bugs in AArch64 simulator. 2016-03-30 10:29:04 +01:00
arm sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
avr sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
bfin sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
common Prevent possible undefined behaviour computing the size of the scache by usingunsigned integers instead of signed integers. 2016-02-04 16:27:06 +00:00
cr16 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
cris sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
d10v sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
erc32 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
frv sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
ft32 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
h8300 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
igen sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
iq2000 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
lm32 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
m32c sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
m32r sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
m68hc11 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
mcore sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
microblaze sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
mips sim: mips: fix prog_bfd usage 2016-02-05 20:27:25 -05:00
mn10300 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
moxie sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
msp430 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
ppc sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
rl78 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
rx sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
sh sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
sh64 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
testsuite sim: drop --enable-sim-cflags option 2016-01-10 02:54:59 -05:00
v850 sim: move many common settings from CPPFLAGS to config.h 2016-01-10 18:54:41 -05:00
.gitignore sim: drop common/cconfig.h in favor of a single config.h 2016-01-09 03:52:30 -05:00
ChangeLog MAINTAINERS: Add Thiemo Seufer back, as a past maintainer 2016-02-03 18:26:50 +00:00
configure sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00
configure.ac sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00
configure.tgt sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00
MAINTAINERS MAINTAINERS: Add Thiemo Seufer back, as a past maintainer 2016-02-03 18:26:50 +00:00
Makefile.in GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
README-HACKING sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00