diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2019-01-30 20:36:37 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-02-04 18:44:19 +1100 |
commit | 0ef83bf29e95bf4ec7ad22ea66153c331e14a099 (patch) | |
tree | e8eba302c67fdea5b4138848ef730f3993d7b926 /ui/spice-display.c | |
parent | 634c583526ffcd3db8753d4684c5e0a51e74cbbf (diff) | |
download | qemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.zip qemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.tar.gz qemu-0ef83bf29e95bf4ec7ad22ea66153c331e14a099.tar.bz2 |
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 'ui/spice-display.c')
0 files changed, 0 insertions, 0 deletions