aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-04-11 23:17:31 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-04-13 22:21:14 +0100
commit798066abd8e5ec2a411979fd34bfe0cd494c1813 (patch)
treed95b67ba097a9fdb6ea3a6bc0a50b28be49225cb /sim/common/ChangeLog
parentbdc8beb41b656e8071af275ef0e98c4f2d05e564 (diff)
downloadfsf-binutils-gdb-798066abd8e5ec2a411979fd34bfe0cd494c1813.zip
fsf-binutils-gdb-798066abd8e5ec2a411979fd34bfe0cd494c1813.tar.gz
fsf-binutils-gdb-798066abd8e5ec2a411979fd34bfe0cd494c1813.tar.bz2
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.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 21a2474..fce4702 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,12 @@
+2019-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
+ CURRENT_TARGET_BYTE_ORDER.
+ (SUBWORDTFSI): Likewise.
+ (JOINSIDF): Likewise.
+ (JOINSIXF): Likewise.
+ (JOINSITF): Likewise.
+
2019-03-28 Andrew Burgess <andrew.burgess@embecosm.com>
* sim-base.h: Add 'sim-assert.h' include.