https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100166
Bug ID: 100166
Summary: Some vold-vec-{load,store} tests fail when built with
compiler configured with --with-cpu=power10
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: meissner at gcc dot gnu.org
Target Milestone: ---
I noticed there are a bunch of the fold-vec-load* and fold-vec-store* tests
that fail if you configure the compiler to default to power10 code generation.
It looks like the regexp that matches the loads and stores need to be updated
to know about the prefixed loads and stores:
The failing tests in this category are:
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-char.c
scan-assembler-times \\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-double.c
scan-assembler-times \\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-float.c
scan-assembler-times \\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-int.c
scan-assembler-times \\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-longlong.c
scan-assembler-times \\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-builtin_vec_xl-short.c
scan-assembler-times \\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-char.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-double.c scan-assembler-times
\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-float.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-int.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-longlong.c
scan-assembler-times \\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_vsx_ld-short.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-char.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-double.c scan-assembler-times
\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-float.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-int.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-longlong.c scan-assembler-times
\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-load-vec_xl-short.c scan-assembler-times
\\mlxvw4x\\M|\\mlxvd2x\\M|\\mlxvx\\M|\\mlvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-int.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-longlong.c
scan-assembler-times \\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-short.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-char.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-double.c scan-assembler-times
\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-float.c scan-assembler-times
\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-int.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-longlong.c scan-assembler-times
\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_xst-short.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-builtin_vec_xst-char.c
scan-assembler-times \\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-builtin_vec_xst-double.c
scan-assembler-times \\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-store-builtin_vec_xst-float.c
scan-assembler-times \\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-store-builtin_vec_xst-int.c
scan-assembler-times \\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-builtin_vec_xst-short.c
scan-assembler-times \\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-char.c scan-assembler-times
\\mstxvw4x\\M|\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 12
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-double.c
scan-assembler-times \\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6
FAIL: gcc.target/powerpc/fold-vec-store-vec_vsx_st-float.c scan-assembler-times
\\mstxvd2x\\M|\\mstxvx\\M|\\mstvx\\M 6