diff options
author | Mark Cave-Ayland | 2019-01-30 21:36:37 +0100 |
---|---|---|
committer | David Gibson | 2019-02-04 08:44:19 +0100 |
commit | 0ef83bf29e95bf4ec7ad22ea66153c331e14a099 (patch) | |
tree | e8eba302c67fdea5b4138848ef730f3993d7b926 /hw | |
parent | target/ppc: simplify VEXT_SIGNED macro in int_helper.c (diff) | |
download | qemu-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