From patchwork Thu Jul 1 15:22:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1499629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=ZIQpgT6N; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GG29X4WjVz9sV8 for ; Fri, 2 Jul 2021 01:26:08 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 04198396EC9E for ; Thu, 1 Jul 2021 15:26:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04198396EC9E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1625153166; bh=D4MnHi1mj3glD9Vfr6FolEqRXQ6tjURJUTC7jpkCipo=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ZIQpgT6Nb8C63XhuNtPv0o+GKYlINZRUB1GnWU6rNHUb6FCV4rcAxknRJJVG/7mOu E594HRFnzETf0xhxRFmRR5hELbNN15i7qvvuv9erDLuGNwHP9/zQ9QSd1ooEgi3ypi 6oa/KFcsrHPl4ufpNJ59Q64m6BG9PBDqGBh92cjk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id D9632388A418 for ; Thu, 1 Jul 2021 15:22:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D9632388A418 Received: by mail-pj1-x1034.google.com with SMTP id kt19so4472742pjb.2 for ; Thu, 01 Jul 2021 08:22:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D4MnHi1mj3glD9Vfr6FolEqRXQ6tjURJUTC7jpkCipo=; b=R6Ly4wjzyKjxiH0btGY9/vCfgG0cZ37ju+XnbovRLH2qOtWsfUiYQZJr9gzk9qb6oi nCLjbEWC4ZRvyXFp86WahFqo0W9NqhDQ52BBz4qUcCk7WTtZz2+JUM8DK50H7+DUzozp cwaOo3S/oxet90D5dBsbhk9dEXMIOOeP1vzqNNX1czQf2CO1BVt0ti8Czaw28tWxeQEj t1Fct67P0/3Y2ArHzkByXIy/Nuo9PJ95+je/P0dyEO+DJnrqSC1BZhD/hEDY0DBzlURo kJkUp0/w01ppuw1s80QbtWhWmQAvxFsJCyQQGMltEpfmvv0hQJIWjgYiqi6no9IIxhGb xx0g== X-Gm-Message-State: AOAM532ueZCIHHAZ6gYcYtkLBb2IA/KPBnKpdoMR/GQUEbVdbp8gWA5Q TAOdZr2ceKS7JkXvWzZYV1U= X-Google-Smtp-Source: ABdhPJycldl1A/6DQmso4aok9c26PzIbDCOlgL4TwYov1qWWSyjkPpSGjXjFqVt2W1LRyp3ebd4DAg== X-Received: by 2002:a17:902:c181:b029:129:1833:4e6b with SMTP id d1-20020a170902c181b029012918334e6bmr94449pld.61.1625152968011; Thu, 01 Jul 2021 08:22:48 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.56.39.115]) by smtp.gmail.com with ESMTPSA id w18sm47622pjg.50.2021.07.01.08.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 08:22:47 -0700 (PDT) Received: from gnu-cfl-2.. (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id AC60BC05A6; Thu, 1 Jul 2021 08:22:44 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH v5 08/11] x86: Also pass -mno-avx to cold-attribute-1.c Date: Thu, 1 Jul 2021 08:22:41 -0700 Message-Id: <20210701152244.331984-9-hjl.tools@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210701152244.331984-1-hjl.tools@gmail.com> References: <20210701152244.331984-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3032.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Gcc-patches" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: Richard Sandiford , Bernd Edlinger Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" 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. --- 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 static inline __attribute__ ((cold)) void