Richard Henderson c0dde5fc5c accel/tcg: Fix undefined shift in store_whole_le16
The computation is documented as unused in this case,
but triggers an ubsan error:

../accel/tcg/ldst_atomicity.c.inc:837:33: runtime error: shift exponent -32 is negative
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../accel/tcg/ldst_atomicity.c.inc:837:33 in

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230606171629.98157-1-richard.henderson@linaro.org>
2023-06-06 12:11:02 -07:00
..
2023-06-06 09:42:14 +02:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:28 -07:00
2023-06-05 12:06:49 -07:00
2023-06-05 12:04:28 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00