From patchwork Wed Jan 24 09:07:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 191435 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp864011dyi; Wed, 24 Jan 2024 01:08:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQm1K1GARaQOF0SmbFWe7x1asZR4QSWeCHjo2GI2sKtrpYueGLRHRhrdgcp5zh+mq1U1Z8 X-Received: by 2002:a0d:d40e:0:b0:5f1:2dcc:fe5e with SMTP id w14-20020a0dd40e000000b005f12dccfe5emr396079ywd.46.1706087301538; Wed, 24 Jan 2024 01:08:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706087301; cv=pass; d=google.com; s=arc-20160816; b=IP6P3zXSKRxOLKE8rgKXPysYdUmXeNu3ThwR5Qq2eUUySX5v8oFcO1u5eixkSyGtU6 ly5bQSTSuo3l8kttrBCtSs8PNLW7eGSyYqAesaVKbYi6H5Mr8Vu7xNR39Xbi05+lG7DI qPpiKS1ILTK9nSSJgZ9Y2RkL7SPanPlB+tGnGkMArCXTWwHGQRcZN9gDT+gVfjU+Aesp udQa7z5tDQYWjQRyMuuKO/d/alJzoj07xbNiBFH/ZlMtipMy2yW+5UxDmIK/P7vBUwOQ sEm2fvI7yUGvMxGioiBIrjoW7NiWK0uGCmX6FJXjZp9oB1xTxortG8UMxCjRK5nlFuAl NaUw== 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=BxCam+XkZ6jemi0rgmli39mt9sHAke9Fzx3Ml3P2NwQ=; fh=K0W0EM+9d1ICW5/vCBHjM4gkiLNDmCyAi7dOLlJzHfg=; b=yQoU3qdLwwueJTPvrXqTVPVbfN+zktqYsUCDPhaDL4I2Nz4V8637fhFrBbpTRoEsXI wPgidAeDUVH4NkD2eet2NpzZI2HgqxK1l5r+ldLm42Fmw1QbfwqwEup9vL+rvoIehk37 GZ6zx35heGr3Alvw3N5UheOpvD2m5Zf0n8/K1Rc8AGamBZ1UjeYkrjp5KVZHVTfvM59Q 0z55Thm3M2v+iPcfZFxaTelMHoo7MvbxM01umFSTvUVP5o9e640EH42ne4gxZAMjIElA B+6iVUAjSA8ZMdIxVxZ9kw5KhZZAI0xwbmvPHukg6WU2IrsKIL1eETkW8Cqw0xryab4m x7PA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=WDRtYc5e; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ow29-20020a05620a821d00b0078336358374si9766385qkn.666.2024.01.24.01.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 01:08:21 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=WDRtYc5e; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 428103858C53 for ; Wed, 24 Jan 2024 09:08:21 +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 546F53858D1E for ; Wed, 24 Jan 2024 09:07:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 546F53858D1E 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 546F53858D1E 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=1706087254; cv=none; b=VyIKFlS+D277m+JY+4VuZykdUeYndwFgTCKJBi1khifOwknSeyXaim3m3XBH0qqVmAOvXv+oo2VTRai5f2ZJsoZrlhY/Qt7GGUgKdnhN2OlB7VVfrkOVckP8cqFLIPofiEYRt8muL3WuuI0XFTfO3/+1OSeEn5D4/O+eKm7e+u8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706087254; c=relaxed/simple; bh=Nl1FL7SyLInsxOl480pKx1qk52zRVvScZpyiHdUtSwQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ktVPwqvf06ViIPTh+SABhe6KNHw8dwnomemcENpCx4fhw1926UxcOAUBj4pkGA8oNNpwfElEddtv+lKD47cuwO821JUPqf3iUEV4fpj0FamApxesJZmYolGNzcdvUCc730Zj4AQ5Y0l2osnPBbOBPvE9NVrcWM0Mn+N7Ku33mqg= 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 627EAAAFC2; Wed, 24 Jan 2024 10:07:31 +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=1706087250; bh=Nl1FL 7SyLInsxOl480pKx1qk52zRVvScZpyiHdUtSwQ=; b=WDRtYc5eoX5ekEbq5OKpd 4tzOYnlnV1qOKUOAIpnVlq0/XVglMjzjpRxXVJZWVyFju/NcidVRwZ/iRKVxcee1 UasoQjkUJS/RHgfJGqvToqDN+SPeuENz5Acpm5CANsurwEZoWYOjdj15qUCUgeP0 vTDZJ2/thhY/mTEf1qSYfqS0tPoc5FT1bZCWfd61V26GdSGkue7oWARGU+F61eUN mnskqW53ApmdlsW3lNurwPuw3lTPeqRCLvml9BKorvqTrhJS4ONlPuM6JiwNcGhY z/B3FurZNHYAMhXsOkDGQD3HG6MA8oaj1VMxVBOjxgqUlKLN7vHscE0tieEMhTgX w== 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 2fzTEX8HWIr0; Wed, 24 Jan 2024 10:07:30 +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 51278AB167; Wed, 24 Jan 2024 10:07:30 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86 Date: Wed, 24 Jan 2024 10:07:29 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3791.3 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788962198104822841 X-GMAIL-MSGID: 1788962198104822841 gcc.target/i386/pr80833-1.c FAILs on 32-bit Solaris/x86 since 20220609: FAIL: gcc.target/i386/pr80833-1.c scan-assembler pextrd Unlike e.g. Linux/i686, 32-bit Solaris/x86 defaults to -mstackrealign, so this patch overrides that to match. Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu. Ok for trunk? Rainer # HG changeset patch # Parent 0f0cde35c23eb9b92159347bfc0ae5f075be65b3 testsuite: i386: Fix gcc.target/i386/pr80833-1.c on 32-bit Solaris/x86 diff --git a/gcc/testsuite/gcc.target/i386/pr80833-1.c b/gcc/testsuite/gcc.target/i386/pr80833-1.c --- a/gcc/testsuite/gcc.target/i386/pr80833-1.c +++ b/gcc/testsuite/gcc.target/i386/pr80833-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -msse4.1 -mtune=intel -mregparm=2" } */ +/* { dg-options "-O2 -msse4.1 -mtune=intel -mregparm=2 -mno-stackrealign" } */ /* { dg-require-effective-target ia32 } */ long long test (long long a)