From patchwork Fri Jul 30 21:32:07 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: 1511828 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=uRkjcxVr; 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 4Gc1453SwJz9sWS for ; Sat, 31 Jul 2021 07:38:44 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6A587398AC06 for ; Fri, 30 Jul 2021 21:38:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A587398AC06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1627681121; bh=ENotfVzOqfEByeldXwpp9YMmurkGloeiY9w3RKYfh0Y=; 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=uRkjcxVrHoxI9ypM2zA2EVyhKxZHYnoQcdvRkMlh+YoOD/RJnSGM1+KSfIMqXBbGz 5K5u9d+da0/AN1xMQv2Q8QOm8VVo0M1xyL/P367wsABQ0VoRW98M+69ftQ/EMVBjJz FxlNHkumb8LK40on1uYyh7b5S5/IqSUXipjPpdm4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id B9A62385C41A for ; Fri, 30 Jul 2021 21:32:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B9A62385C41A Received: by mail-pj1-x1029.google.com with SMTP id mz5-20020a17090b3785b0290176ecf64922so22643406pjb.3 for ; Fri, 30 Jul 2021 14:32:15 -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=ENotfVzOqfEByeldXwpp9YMmurkGloeiY9w3RKYfh0Y=; b=FWTHVdAeEvC9RYZykDSIlH4omMqeEeDXUlnis8VZ/Vy97ljfMzgc+Ld4u26kXg4ek5 vgW0ROehyRH66xYjHeQ8idI73aZ3mJxme74UQXbQH6SNDDds0nmzykXbPxQNRFaOBcAm 8slPhC5mSUoFnIF/Rz5RkXjYTCqJQgkJkyp+mFo2mcIsLhrTepRx9NoroaUbkuqxB3iz yHmVw5UbsuYW1fMucVl/hRrTkkcHdUZJ4tvaXhZ0PZZT85TGW77PQoAXeEe78J8BFaps bvVHPv5nxOag+f3dax2yIS+TMzUzLmRoQ4HAIxNL7wjuUF4jVQ4S1rkPkOArt3sU7r6e X7kA== X-Gm-Message-State: AOAM531cv9i1sT7gsjHthCzTJJj/+9SADlj1U7+/ZAxZZotf0lwK+T8r feBEX2EwS0OC0vyePIW7mbzU1utQoc0= X-Google-Smtp-Source: ABdhPJyxWGTCLStfPgSsHyL+smhvVMYLKFuUkheLSytwfzTjrC+B2UbhZS5VgeAKpoHQE9CKJQGyeQ== X-Received: by 2002:a17:902:bd49:b029:12c:7775:cdea with SMTP id b9-20020a170902bd49b029012c7775cdeamr4242188plx.68.1627680734824; Fri, 30 Jul 2021 14:32:14 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.58.38.240]) by smtp.gmail.com with ESMTPSA id s22sm3264647pfu.52.2021.07.30.14.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 14:32:14 -0700 (PDT) Received: from gnu-cfl-2.. (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id 67C12C0456; Fri, 30 Jul 2021 14:32:11 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH v6 06/10] x86: Also pass -mno-avx to pr72839.c Date: Fri, 30 Jul 2021 14:32:07 -0700 Message-Id: <20210730213211.1832774-7-hjl.tools@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210730213211.1832774-1-hjl.tools@gmail.com> References: <20210730213211.1832774-1-hjl.tools@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3033.7 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_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: liuhongt 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/pr72839.c: Also pass -mno-avx. --- gcc/testsuite/gcc.target/i386/pr72839.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr72839.c b/gcc/testsuite/gcc.target/i386/pr72839.c index ea724f70377..6888d9d0a55 100644 --- a/gcc/testsuite/gcc.target/i386/pr72839.c +++ b/gcc/testsuite/gcc.target/i386/pr72839.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ -/* { dg-options "-O2 -mtune=lakemont" } */ +/* { dg-options "-O2 -mtune=lakemont -mno-avx" } */ extern char *strcpy (char *, const char *);