public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: H.J. Lu <hjl@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-2670] x86: Also pass -mno-avx to cold-attribute-1.c
Date: Mon,  2 Aug 2021 17:41:39 +0000 (GMT)	[thread overview]
Message-ID: <20210802174139.A4D0B388C007@sourceware.org> (raw)

https://gcc.gnu.org/g:20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8

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

    x86: Also pass -mno-avx to cold-attribute-1.c
    
    Also pass -mno-avx to pr72839.c to avoid copying data with YMM or ZMM
    registers.
    
            * gcc.target/i386/cold-attribute-1.c: Also pass -mno-avx.

Diff:
---
 gcc/testsuite/gcc.target/i386/cold-attribute-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/cold-attribute-1.c b/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
index 57666ac60b6..658eb3e25bb 100644
--- a/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
+++ b/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-avx" } */
 #include <string.h>
 static inline
 __attribute__ ((cold)) void


                 reply	other threads:[~2021-08-02 17:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210802174139.A4D0B388C007@sourceware.org \
    --to=hjl@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).