testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86
Message ID | yddy1cfyu08.fsf@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp866757dyi; Wed, 24 Jan 2024 01:14:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEX5fLG97VUpEbwoS45fTK2vDNDN1DpOZmgoT62bVzk2GoopoPfpmXYiLCx9rNsObAE1Pww X-Received: by 2002:a05:620a:1249:b0:783:636c:d0d4 with SMTP id a9-20020a05620a124900b00783636cd0d4mr7328196qkl.121.1706087673811; Wed, 24 Jan 2024 01:14:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706087673; cv=pass; d=google.com; s=arc-20160816; b=V7TUZ2KtKhtKIv+3tdpVb1b/vy6tOevzjtY9Kv9VNNtfRKVIpsHMkCXctW+C1H8hKd o4VDwD4AERmfgElC3UP5G0ftecYXQqJXOkhwDOLT8+gb8IiKUb9iY1gRA6mVxdu9KEFp UDsaxzg6Bla69Y+QWjmsuYh//9Fr0O/n0uUQdpmd4FdDJQZljRaZiM1WmwlCy6Nmrx9M b/5uNcLWkgBXKm/8D2OAXk62VGJQBGiWRwvBaEF1XhifVBpecPtwE1wt2QgdAXc689ZX VsS2/3Y+r7zRBCg0qglB7XnX05qSKsDdmoKVhPmy1gF5tbycg73TsdLzzOFx6zruDQ5E iwnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=MxGepxs+JUrEVMNEaAcO/Odtj+CV8+VJTRoWRrKeFgY=; fh=3f6B6N91nSAucgsT7EeGtoEgsgTAU1UpdpsQgBLTokE=; b=kMSTBqqPJFiWNmV1Ya7a/0VQmwDvYQu8eIHHyipCS/Yc4p+oQ9mZ3NphAt/CbMtY/3 spsjATlsJIXZOE7Lpb/ju3dyKpePftZ/QQHy2poiK/Pj4Q6rcj2nxu4sY1enF0PbMMQu ycekmkJqYN8WTsJFZAfPRmznHLQT68Yuu5B2Is3bDIfRTJjrnQ0uvAAo7CIy2WCGCcgb DjWMDld6Lk4KlUT94yHNFt3o1P8atH4E0GNNy7q6SoOHcf03vXQB5MhCNS36k+rO9/NS JElzxASp+IbnumzDM1up2affoUzIqXhqf7VhWfTbYDPuTRJAScZcTejO0SGE7wQff94e /+dw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=hSrnqb+i; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id z42-20020a05620a262a00b00783729dd6casi10574625qko.254.2024.01.24.01.14.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 01:14:33 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=hSrnqb+i; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FF913858286 for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 09:14:33 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id E32DC3858C36 for <gcc-patches@gcc.gnu.org>; Wed, 24 Jan 2024 09:12:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E32DC3858C36 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E32DC3858C36 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706087579; cv=none; b=QjaclDz3/mmo/9K7xpWsb5vnCaVxeyFBw0MI+nf4vKLk9zMYbx5UqADPPCAFkAofrBg1XDOda/Pw9WWSsLhz2SWFQS1MRnpnV4vBMkY5gAvWyeAGd9/p1XXXeFDxSTSMjCJJKys0iQg7H+R9QFLeTNd7R4EBHOerCqtg/WFzrZY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706087579; c=relaxed/simple; bh=Z4xFlAKzKupmis+hswyOgdtVzuAqSXXuX/58m/IsVyA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rPTFxAc/21FoYsARy6mBq0n5O9MHIdXWzcxT+7zTfzrxi6dTAhXEBn3FmLLHw/VVtPE6pETRD9HaFUig0hQnL3TX+zLgc/WwhaDl6RMyi6YqIkDtMytEAqdtKk9UGBH5ItOegNFKjQVwL4fqJaOLDDblvhViF+4n1eXLMv4lP7A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 06054AB420; Wed, 24 Jan 2024 10:12:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1706087575; bh=Z4xFl AKzKupmis+hswyOgdtVzuAqSXXuX/58m/IsVyA=; b=hSrnqb+iuIURktukHdxzr 576zWCmRJWho7lUAC1JlmYZl+gTNJaIqn1aKvQBPSrzfdILtryHY2dRJ8/wUDeTU 2wR3XDxBngJNvrF6K58uv5Ud8mMhIbF66yTeP3aZLLpZLzzUx5uSVbxvpAWrXGOs iPAvzXFyQth1tR8ReOfiMbHCBtGgw+qV79O8SY/l7nwjd2rOBByZ58Edpigo2JNj nVckDR4ghSXX0OSoQPdxqC8cTIxkgJq6XZeFV4f4p7kt5wzLI3kLEg17XlwZqCic 4GLB5vUIYbkiX/TtgTbV6zKaohpv/3z2u/tnczhYhWz9UXcVbflXyEhOL01SWu8a g== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vQXIdmuanRP0; Wed, 24 Jan 2024 10:12:55 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085539e.dip0.t-ipconnect.de [80.133.83.158]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id A216AAAF69; Wed, 24 Jan 2024 10:12:55 +0100 (CET) From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> To: gcc-patches@gcc.gnu.org Cc: Roger Sayle <roger@nextmovesoftware.com> Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86 Date: Wed, 24 Jan 2024 10:12:55 +0100 Message-ID: <yddy1cfyu08.fsf@CeBiTec.Uni-Bielefeld.DE> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Status: No, score=-3791.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788962588352242360 X-GMAIL-MSGID: 1788962588352242360 |
Series |
testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Rainer Orth
Jan. 24, 2024, 9:12 a.m. UTC
gcc.target/i386/avx512vl-stv-rotatedi-1.c FAILs on 32-bit Solaris/x86 since its introduction in commit 4814b63c3c2326cb5d7baa63882da60ac011bd97 Author: Roger Sayle <roger@nextmovesoftware.com> Date: Mon Jul 10 09:04:29 2023 +0100 i386: Add AVX512 support for STV of SI/DImode rotation by constant. FAIL: gcc.target/i386/avx512vl-stv-rotatedi-1.c scan-assembler-times vpro[lr]q 29 While the test depends on -mstv, 32-bit Solaris/x86 defaults to -mstackrealign which is incompatible. The patch thus specifies -mstv -mno-stackrealign explicitly. Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu. Ok for trunk? Rainer
Comments
On Jan 24, 2024, at 1:12 AM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote: > > gcc.target/i386/avx512vl-stv-rotatedi-1.c FAILs on 32-bit Solaris/x86 > since its introduction in > > commit 4814b63c3c2326cb5d7baa63882da60ac011bd97 > Author: Roger Sayle <roger@nextmovesoftware.com> > Date: Mon Jul 10 09:04:29 2023 +0100 > > i386: Add AVX512 support for STV of SI/DImode rotation by constant. > > FAIL: gcc.target/i386/avx512vl-stv-rotatedi-1.c scan-assembler-times vpro[lr]q 29 > > While the test depends on -mstv, 32-bit Solaris/x86 defaults to > -mstackrealign which is incompatible. > > The patch thus specifies -mstv -mno-stackrealign explicitly. > > Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu. > > Ok for trunk? Ok.
# HG changeset patch # Parent b787665f90dfbd5be1b00d411675d6fd896f7a9a testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86 diff --git a/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c b/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c --- a/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c @@ -1,5 +1,5 @@ /* { dg-do compile { target ia32 } } */ -/* { dg-options "-O2 -mavx512vl" } */ +/* { dg-options "-O2 -mavx512vl -mstv -mno-stackrealign" } */ unsigned long long rot1(unsigned long long x) { return (x>>1) | (x<<63); } unsigned long long rot2(unsigned long long x) { return (x>>2) | (x<<62); }