diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-08-13 17:11:48 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-08-25 10:48:48 +0100 |
commit | 3f4f1880c245453b75d4c09049845b19de9964bf (patch) | |
tree | ddbd59a43791d80d5e929ca9e40f4185c042a7e7 /include/qemu/timer.h | |
parent | fdcf2269c4e0e4f5ca3a389290a71d7aa98bd5c7 (diff) | |
download | qemu-3f4f1880c245453b75d4c09049845b19de9964bf.zip qemu-3f4f1880c245453b75d4c09049845b19de9964bf.tar.gz qemu-3f4f1880c245453b75d4c09049845b19de9964bf.tar.bz2 |
target/arm: Fix calculation of LTP mask when LR is 0
In mve_element_mask(), we calculate a mask for tail predication which
should have a number of 1 bits based on the value of LR. However,
our MAKE_64BIT_MASK() macro has undefined behaviour when passed a
zero length. Special case this to give the all-zeroes mask we
require.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/timer.h')
0 files changed, 0 insertions, 0 deletions