public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2671] x86: Also pass -mno-avx to sw-1.c for ia32
@ 2021-08-02 17:41 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2021-08-02 17:41 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:dadbb1a886af959b65fabcbea4d9f28d2bda9064

commit r12-2671-gdadbb1a886af959b65fabcbea4d9f28d2bda9064
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Aug 2 10:01:47 2021 -0700

    x86: Also pass -mno-avx to sw-1.c for ia32
    
    Also pass -mno-avx to sw-1.c for ia32 since copying data with YMM or ZMM
    registers disables shrink-wrapping when the second argument is passed on
    stack.
    
            * gcc.target/i386/sw-1.c: Also pass -mno-avx for ia32.

Diff:
---
 gcc/testsuite/gcc.target/i386/sw-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.target/i386/sw-1.c b/gcc/testsuite/gcc.target/i386/sw-1.c
index aec095eda62..a9c89fca4ec 100644
--- a/gcc/testsuite/gcc.target/i386/sw-1.c
+++ b/gcc/testsuite/gcc.target/i386/sw-1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mtune=generic -fshrink-wrap -fdump-rtl-pro_and_epilogue" } */
+/* { dg-additional-options "-mno-avx" { target ia32 } } */
 /* { dg-skip-if "No shrink-wrapping preformed" { x86_64-*-mingw* } } */
 
 #include <string.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-02 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 17:41 [gcc r12-2671] x86: Also pass -mno-avx to sw-1.c for ia32 H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).