binutils-gdb/sim/common
Andrew Burgess 798066abd8 sim: Use host not target byte order for merging and splitting values
When using writes to memory through a struct to merge and extract
multi-word value, it is the endianness of the host, not the target
that affects which order the component words need to be written into
the structure.

Of the 5 functions adjusted here 4 of them are unused.  The 5th,
JOINSIDF will soon be used by the or1k target.

For or1k, simulated on x86-64, this change fixes this function so that
the correct bytes are now returned.

sim/common/ChangeLog:

	* cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
	CURRENT_TARGET_BYTE_ORDER.
	(SUBWORDTFSI): Likewise.
	(JOINSIDF): Likewise.
	(JOINSIXF): Likewise.
	(JOINSITF): Likewise.
2019-04-13 22:21:14 +01:00
..
acinclude.m4
aclocal.m4
callback.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-accfp.c
cgen-cpu.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-defs.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-engine.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-fpu.c
cgen-fpu.h
cgen-mem.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-ops.h sim: Use host not target byte order for merging and splitting values 2019-04-13 22:21:14 +01:00
cgen-par.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-par.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-run.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-scache.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-scache.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-sim.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-trace.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-trace.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-types.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cgen.sh
ChangeLog sim: Use host not target byte order for merging and splitting values 2019-04-13 22:21:14 +01:00
configure
configure.ac
create-version.sh Fix the sim build 2019-01-26 08:53:31 -07:00
dv-cfi.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-cfi.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-core.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-glue.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-pal.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-sockser.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
dv-sockser.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gdbinit.in
genmloop.sh Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
gennltvals.sh
gentmap.c
gentvals.sh
hw-alloc.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-alloc.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-base.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-base.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-device.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
hw-device.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-events.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
hw-events.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-handles.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
hw-handles.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-instances.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-instances.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-main.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-ports.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-ports.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-properties.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-properties.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-tree.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
hw-tree.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
Make-common.in sim/common: convert sim-arange to use sim-inline 2019-03-28 06:40:30 +09:00
Makefile.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
nltvals.def
nrun.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
run.1 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-abort.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-alu.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-arange.c sim/common: convert sim-arange to use sim-inline 2019-03-28 06:40:30 +09:00
sim-arange.h sim/common: convert sim-arange to use sim-inline 2019-03-28 06:40:30 +09:00
sim-assert.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-base.h sim: fix all sim builds 2019-03-28 22:33:29 +00:00
sim-basics.h sim: fix all sim builds 2019-03-28 22:33:29 +00:00
sim-bits.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-bits.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-close.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-command.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-config.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-config.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-core.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-core.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-cpu.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-cpu.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-endian.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-endian.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-engine.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-engine.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-events.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-events.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-fpu.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
sim-fpu.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-hload.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-hrw.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-hw.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-hw.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-info.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-inline.c sim/common: convert sim-arange to use sim-inline 2019-03-28 06:40:30 +09:00
sim-inline.h sim/common: convert sim-arange to use sim-inline 2019-03-28 06:40:30 +09:00
sim-io.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-io.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-load.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-memopt.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-memopt.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-model.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-model.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-module.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-module.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-n-bits.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-n-core.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-n-endian.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-options.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
sim-options.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-profile.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-profile.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-reason.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-reg.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-resume.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-run.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-signal.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-signal.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-stop.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-syscall.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-syscall.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-trace.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-trace.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-types.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-utils.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sim-watch.c sim/common: Fix warnings: "warning: implicit declaration of function..." 2019-03-28 06:40:30 +09:00
sim-watch.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
syscall.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
version.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00