From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by sourceware.org (Postfix) with ESMTPS id B0E42385840C for ; Wed, 24 May 2023 05:24:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B0E42385840C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-54f5fdaa693so3549748eaf.1 for ; Tue, 23 May 2023 22:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1684905870; x=1687497870; h=mime-version:user-agent:message-id:date:errors-to:organization :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aC9VqYENwJAvHKO7GGzNWaKWTzEopkNeOdyYQco4Kus=; b=ElX3BzaWK6fU+O+jt6+Q5tLyQdHEKnNzhnBt0bppF/YoNur5AylzdOEr2uDbJYmMSy AeTp5MKsQOP8PK+z/1VD+q4b1PL82mrOtuEhF7TlN0QySWvapll6Wx7g47uJIzHxdnIp syLFPANNHJFIjyMrDzuqrVY/PkrKrX4mbHIDEoz1a/kdrdSlBxM9OaeclPQEskV0k82d ft4dqNaskQ7aHT3jCn8esPHWQMsTtcKrQG5uNCPURTH9Fi6tN+gzwpAkUoSpZtcMzuF0 UVEap25sckoZ6LBu2AaqYi0SyypHLgoM5LKVY4Ascg0OQ376DSeviS+sMBTLJ7HaoGH7 bYcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684905870; x=1687497870; h=mime-version:user-agent:message-id:date:errors-to:organization :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aC9VqYENwJAvHKO7GGzNWaKWTzEopkNeOdyYQco4Kus=; b=VABaZ3XUI3D1WyTn9n6HwUAv/WEF3SFeXle0ZdDb2NaXvu7hOnkCh9UXbRx94TtWK7 XhZ/ZcWpEoFHmeWpwV74m1Tx+VWKfFGQiswRlysjBvRbHcWRDZpA3s0g7SPdHWCtL43S 7n17hrc4RsmV0jpj81UlJ0c11J3McNzFTGF7i97c/6v2I4YuYQ/ifRuGQaeta1/Wus4h 15AJYSJEiTPpOlNBVt6/gidJqG82g2MhnGL/FqaeLmTRjv4MRC+fooJkD16BTy8gF0AW hUyef0MpCid5y/Vimqt+CGErR4B4mdagSMcn4ztPrbXkwPrNGUWVp71g1DTmgFK/jXkH VFqg== X-Gm-Message-State: AC+VfDzrjIk5nS4Zxfb0E5FRtoetMaHhwP/V7yytFz3zJtJhZJRbq0N4 Jjt2j7jvA23oF09CenSvto1zOdfFcB+gKefAQjo= X-Google-Smtp-Source: ACHHUZ6c0riS9zayNAMfUX2PFmXUAXcuGLCPqE65b4LZEWKATSf2Kn6fRQyd57Yv20Y65fZ6bY3uzg== X-Received: by 2002:aca:c0c1:0:b0:396:2147:2588 with SMTP id q184-20020acac0c1000000b0039621472588mr9974058oif.2.1684905870105; Tue, 23 May 2023 22:24:30 -0700 (PDT) Received: from free.home ([2804:7f1:2080:6383:46d9:ede8:ee97:8cc0]) by smtp.gmail.com with ESMTPSA id g3-20020a9d6a03000000b006af8b60e2c3sm1752464otn.74.2023.05.23.22.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 22:24:29 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 34O5OJWg3580494 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 24 May 2023 02:24:19 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , Jan Hubicka , Uros Bizjak , Kirill Yukhin , Hongtao Liu Subject: [PATCH] [testsuite] [i386] enable sse2 for signbit-2.c Organization: Free thinker, does not speak for AdaCore Errors-To: aoliva@lxoliva.fsfla.org Date: Wed, 24 May 2023 02:24:19 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: 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. --- 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/signbit-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 type. */ -/* { 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=armv8-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