[gcc r17-3450] x86: Compile PR 125436 tests with -mno-avx
"H.J. Lu via Gcc-cvs" <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:acc35b4ea18612b7567abdfbb9d2b4381e3c1182 commit r17-3450-gacc35b4ea18612b7567abdfbb9d2b4381e3c1182 Author: H.J. Lu <[email protected]> Date: Thu Aug 20 07:39:30 2026 +0800 x86: Compile PR 125436 tests with -mno-avx Compile PR 125436 tests with -mno-avx to avoid FAIL: gcc.target/i386/pr125436-1a.c check-function-bodies ms_tls_access FAIL: gcc.target/i386/pr125436-1b.c check-function-bodies ms_tls_access FAIL: gcc.target/i386/pr125436-2a.c check-function-bodies ms_tls_access FAIL: gcc.target/i386/pr125436-2b.c check-function-bodies ms_tls_access FAIL: gcc.target/i386/pr125436-3.c check-function-bodies ms_tls_access FAIL: gcc.target/i386/pr125436-4.c check-function-bodies ms_tls_access due to the generated instruction vmovaps (%rsp), %xmm6 vs the expected instruction movaps (%rsp), %xmm6 when AVX is enabled by default. PR testsuite/126923 * gcc.target/i386/pr125436-1a.c (dg-options): Add -mno-avx. * gcc.target/i386/pr125436-1b.c (dg-options): Likewise. * gcc.target/i386/pr125436-2a.c (dg-options): Likewise. * gcc.target/i386/pr125436-2b.c (dg-options): Likewise. * gcc.target/i386/pr125436-3.c (dg-options): Likewise. * gcc.target/i386/pr125436-4.c (dg-options): Likewise. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/pr125436-1a.c | 2 +- gcc/testsuite/gcc.target/i386/pr125436-1b.c | 2 +- gcc/testsuite/gcc.target/i386/pr125436-2a.c | 2 +- gcc/testsuite/gcc.target/i386/pr125436-2b.c | 2 +- gcc/testsuite/gcc.target/i386/pr125436-3.c | 2 +- gcc/testsuite/gcc.target/i386/pr125436-4.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr125436-1a.c b/gcc/testsuite/gcc.target/i386/pr125436-1a.c index be3c2509fc60..81bdec0832b0 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-1a.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-1a.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr125436-1b.c b/gcc/testsuite/gcc.target/i386/pr125436-1b.c index 9b6e4a508c97..24a7621890a9 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-1b.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-1b.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr125436-2a.c b/gcc/testsuite/gcc.target/i386/pr125436-2a.c index 9126d3ca2ab2..9df121efd3da 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-2a.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-2a.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr125436-2b.c b/gcc/testsuite/gcc.target/i386/pr125436-2b.c index 4c634c9d8b02..6f5b1c20f292 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-2b.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-2b.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr125436-3.c b/gcc/testsuite/gcc.target/i386/pr125436-3.c index 939f85a586bc..60b62122973a 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-3.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-3.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr125436-4.c b/gcc/testsuite/gcc.target/i386/pr125436-4.c index 205595810aad..ffa16ecb4805 100644 --- a/gcc/testsuite/gcc.target/i386/pr125436-4.c +++ b/gcc/testsuite/gcc.target/i386/pr125436-4.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && lp64 } } } */ -/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-push-args -fomit-frame-pointer -mtune=generic" } */ +/* { dg-options "-O1 -fPIC -mabi=ms -mtls-dialect=gnu -mtune-ctrl=^prologue_using_move,^epilogue_using_move -mno-avx -mno-push-args -fomit-frame-pointer -mtune=generic" } */ /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ /* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */