summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorMark Cave-Ayland2019-01-30 21:36:37 +0100
committerDavid Gibson2019-02-04 08:44:19 +0100
commit0ef83bf29e95bf4ec7ad22ea66153c331e14a099 (patch)
treee8eba302c67fdea5b4138848ef730f3993d7b926 /hw
parenttarget/ppc: simplify VEXT_SIGNED macro in int_helper.c (diff)
downloadqemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.tar.gz
qemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.tar.xz
qemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.zip
target/ppc: remove ROTRu32 and ROTRu64 macros from int_helper.c
Richard points out that these macros suffer from a -fsanitize=shift bug in that they improperly handle n == 0 turning it into a shift by 32/64 respectively. Replace them with QEMU's existing ror32() and ror64() functions instead. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions