History | View | Annotate | Download (1.7 kB)
tests: fix 64-bit int literals for 32-bit hosts
On 32-bit hosts:
CC tests/test-opts-visitor.otests/test-opts-visitor.c: In function 'test_value':tests/test-opts-visitor.c:128: warning: integer constant is too large for 'long' type CC tests/test-bitops.o...
tests: Add test-bitops.c with some sextract tests
Add some simple test cases for the new sextract32and sextract64 functions.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Richard Henderson <rth@twiddle.net>Message-id: 1372419632-5521-3-git-send-email-peter.maydell@linaro.org...