qemu/tests/tcg/ppc64
Ilya Leoshkevich ddf4dd46e5 tests/tcg: Replace -mpower8-vector with -mcpu=power8
[1] deprecated -mpower8-vector, resulting in:

    powerpc64-linux-gnu-gcc: warning: switch '-mpower8-vector' is no longer supported
    qemu/tests/tcg/ppc64/vsx_f2i_nan.c:4:15: error: expected ';' before 'float'
        4 | typedef vector float vsx_float32_vec_t;
          |               ^~~~~~

Use -mcpu=power8 instead. In order to properly verify that this works,
one needs a big-endian (the minimum supported CPU for 64-bit
little-endian is power8 anyway) GCC configured with --enable-checking
(see GCC commit e154242724b0 ("[RS6000] Don't pass -many to the
assembler").

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109987

Cc: qemu-stable@nongnu.org
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2024-11-04 09:09:17 +10:00
..
bcdsub.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
byte_reverse.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
Makefile.target tests/tcg: Replace -mpower8-vector with -mcpu=power8 2024-11-04 09:09:17 +10:00
mffsce.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
mtfsf.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
non_signalling_xscv.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
signal_save_restore_xer.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
test-aes.c tests/multiarch: Add test-aes 2023-07-08 07:30:17 +01:00
vector.c tests: tcg: ppc64: Add tests for Vector Extract Mask Instructions 2023-05-05 12:34:22 -03:00
vsx_f2i_nan.c target/ppc: Fix bugs in VSX_CVT_FP_TO_INT and VSX_CVT_FP_TO_INT2 macros 2023-11-21 08:39:58 +01:00
xxspltw.c tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00