aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/interp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-12 05:39:16 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-30 01:15:04 -0500
commit18d4b488f4538f11cfdc618ddfb26eaf2c955fb7 (patch)
treed2fab6fdb0fd5af67c287be85cc83a0cc6d21384 /sim/v850/interp.c
parent88f68ee277e3f3dd5b94360e797f06e6378ea844 (diff)
downloadgdb-18d4b488f4538f11cfdc618ddfb26eaf2c955fb7.zip
gdb-18d4b488f4538f11cfdc618ddfb26eaf2c955fb7.tar.gz
gdb-18d4b488f4538f11cfdc618ddfb26eaf2c955fb7.tar.bz2
sim: profile: fix bucketing with 64-bit targets
When the target's PC is 64-bits, this shift expands into a range of 8 * 8 - 1 which doesn't work with 32-bit constants. Force it to be a 64-bit value all the time and let the compiler truncate it.
Diffstat (limited to 'sim/v850/interp.c')
0 files changed, 0 insertions, 0 deletions