From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by sourceware.org (Postfix) with ESMTPS id 4A5393858D37 for ; Wed, 24 May 2023 05:40:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4A5393858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-563b1e5f701so5047587b3.3 for ; Tue, 23 May 2023 22:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684906829; x=1687498829; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AwyAfslcQMv3V4E1NFR95k71aibNg7DW+tuwbkCt6ao=; b=ScZcbTUHEKQnOzL5mj8GNg1B304YsjAOKTNw09R1o2nBvpSsmFQ0OYF1teiDZtjqhp /9MAgbxHl8uw+1hKE35DK4AFgNY3MsYbw02Ed67LG7RufI95p0s/HNDr6ruSchIjgsTc pkNHZADEuXAwsRXeu634kmM5CAmHQHBrl6kSbMu30BTjTWvhEOfn7mikUirYdxzJKGYp UGARp1IDyKk9msu7/ceyjIz0pLalZuUL6uNfLh/tJVPqLXNhOhg+G4CmtRoufyUzJ9B4 udSHPmSGiZtosTyzrflj1/7STmh/MkYKxvnoMrCUhHlMxsOF715lKMwQQqIzbC/J/rs6 O3aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684906829; x=1687498829; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AwyAfslcQMv3V4E1NFR95k71aibNg7DW+tuwbkCt6ao=; b=lj/hRQCxXmal1+FM1y7AQh9n4kZKkSmLzvoFopWO2Olr/iNndIZ/MpVEhGHiyngfXl myep0PBgz6EDsxhMXrCwg4vNqc5R0K+xJ6gdwJLpB0uFZB6mFTpkiSpoHQAwQtJFQa+0 ipM8i6rD7s86vm3YGU/PSnGVj8ckSG58+fHEIfGBLOxzfmcNgB9YUDz/DtfhD7q2mt41 Qw0fpHkm228FaEyPzl27Oqs9kTfFd66kIZ/KYvVOrIESJR6f9f86sfTqQvtwfvDbs+PE SSuDZjj49VtLLDyE17pcVlcUZr6t500ehQpo9VQopGA6IB+YuUNeKJBC2XXKMSU5c0Jc s2VA== X-Gm-Message-State: AC+VfDyiY500Z4fUIH0CfaSe4UfAZmKeO3cLWzhagE9i8liyneEqhXs7 wL4y6gPX8R6Sw3AZ7IFlgD2H71/8bMVRnj7odpQ= X-Google-Smtp-Source: ACHHUZ6nHBy4BVLsefMumJnhJckYCF4/vfbSoeZGVFCElLpRwT6nRs+KpG6N8DeF1yvhw2NIUqJ9ld5x7tSoSwOBOVY= X-Received: by 2002:a81:9c49:0:b0:559:f181:1a7d with SMTP id n9-20020a819c49000000b00559f1811a7dmr17992955ywa.27.1684906829588; Tue, 23 May 2023 22:40:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Hongtao Liu Date: Wed, 24 May 2023 13:40:18 +0800 Message-ID: Subject: Re: [PATCH] [testsuite] [i386] enable sse2 for signbit-2.c To: Alexandre Oliva Cc: gcc-patches@gcc.gnu.org, Rainer Orth , Mike Stump , Jan Hubicka , Uros Bizjak , Kirill Yukhin , Hongtao Liu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, May 24, 2023 at 1:24=E2=80=AFPM Alexandre Oliva via Gcc-patches wrote: > > > The expected results for signbit-2 only arise on x86 with avx512f > disabled and sse2 enabled. The patch already disables avx512f > explicitly, but it fails to enable sse2. > > Bootstrapped on x86_64-linux-gnu. Also tested on ppc- and x86-vx7r2 > with gcc-12. > > for gcc/testsuite/ChangeLog > > * gcc.dg/signbit-2.c: Add -msse2 on x86. Ok. > --- > gcc/testsuite/gcc.dg/signbit-2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/sign= bit-2.c > index d7b406effc62d..62bb4047d7421 100644 > --- a/gcc/testsuite/gcc.dg/signbit-2.c > +++ b/gcc/testsuite/gcc.dg/signbit-2.c > @@ -2,7 +2,7 @@ > /* { dg-options "-O3 -fdump-tree-optimized" } */ > > /* This test does not work when the truth type does not match vector typ= e. */ > -/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-*= } } } */ > +/* { dg-additional-options "-msse2 -mno-avx512f" { target { i?86-*-* x86= _64-*-* } } } */ > /* { dg-additional-options "-march=3Darmv8-a" { target aarch64_sve } } *= / > /* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } *= / > /* { dg-skip-if "no fallback for MVE" { arm_mve } } */ > > -- > Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ > Free Software Activist GNU Toolchain Engineer > Disinformation flourishes because many people care deeply about injustice > but very few check the facts. Ask me about --=20 BR, Hongtao