aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJeff Law <jeffreyalaw@gmail.com>2023-12-01 07:19:50 -0700
committerJeff Law <jeffreyalaw@gmail.com>2023-12-01 07:19:50 -0700
commit37d6ee9350c68c1f9688eeb030e3585b548fec81 (patch)
treed8d13ae34a82808e783fb42df6b80a08e476a066 /gdb
parentfbd9e35c5436108732575e82e78cc42be5ba52f5 (diff)
downloadbinutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.zip
binutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.tar.gz
binutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.tar.bz2
Fix right shifts in mcore simulator on 64 bit hosts.
If the value to be shifted has the sign bit set, the sign bit would get copied into bits 32..63 of the temporary. Those would then be right shifted into the final value giving an incorrect final result. This was observed with upcoming GCC improvements which eliminate unnecessary extensions.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions