From patchwork Tue Jan 30 02:15:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 193798 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp954244dyb; Mon, 29 Jan 2024 18:16:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcrmMKCoHk8TwNPo9tnNQqQ2kPRCyPSy/2mtH6VoDosaK6CtBSyZHb7XjS1R4h/yQ31RpW X-Received: by 2002:ac8:5a16:0:b0:42a:b54a:ec02 with SMTP id n22-20020ac85a16000000b0042ab54aec02mr564391qta.86.1706581015680; Mon, 29 Jan 2024 18:16:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706581015; cv=pass; d=google.com; s=arc-20160816; b=nsC8SIBovY2v2D/RqFs2Btt8zAY5RnSqIkNG5mbdK06iDBR0xOYZaCw5jpMB89fC8h WFtsXVXV2gZh35UQe3IthWkQH/4LEL4E26qjYKN9tAejJsPZjqaXEGmmazlTzK+hGWzp QoWIV5gl+BvfbgxFgrtGzRNQ1yAEfF0fEw8uQH/KnFvT6NrXbdpN6k9sJzgpdOWrCW/t nv1TLEfJ1rPw8VUgiuQHMnGsdl8HWrTfxC0beNoqlALa6nrmGHSyx+RyzGZGzwiUuibJ 9xrPOg0es1z2S4rrnyn2qDQOxPRYyKIA+udkIU389/2giIjT1l9gdIOw1HFv5LrAEcLQ tINg== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=SWV8IwJ/KPiNw+JfMP06Odmv/BDSwSzmi6QGoqZVAMk=; fh=1pGmZy5SHNC9fwuqjnrnWvk0UT2xiHET9cqujzB04ec=; b=szbBhC9vaprZCPZF9tYrGtmXS5h/GT1RiTj2vqBccI/hOQC3eHKBc9E0bNkpuqdTXf iM4Gzf6I0Fc8u2xaEGMN3X8Q6XjnlqitMe3jW+pXV2it9d+KFBPwC8tZC8t61ZM3kU1D LrkDi3yxBm443W8kSGKGtIQHwr+k6XuLbG4xjDHkcBzPhtZdXTe7gbqPLznqHR41N09l KVzIWXLGvGAjDqSJ8DGI0zJY3zQJdg1+getjuyuGl8iKOvurWTlTQkbiy9Ak0grGxFKn ZnlEiY3HeOiODU8Mv1RkVsztviwlohEf8vATVND18EOAHf0lCpyflj3EhvbZu+L7nCBS k4vA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="m1Ij1Ms/"; 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"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id k6-20020a05622a03c600b0042a60b8b025si9028489qtx.380.2024.01.29.18.16.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 18:16:55 -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=@gmail.com header.s=20230601 header.b="m1Ij1Ms/"; 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"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 629843858413 for ; Tue, 30 Jan 2024 02:16:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id B71D23858CDA for ; Tue, 30 Jan 2024 02:16:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B71D23858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B71D23858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::533 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706580964; cv=none; b=VfANre/COfRxdAyseGRvRBnrEz9yq5ZfpTI5weRUpSahxqyrYU5nw277dRlZRnVTmwykAv09vTAsOyw97ZRDCIDB87i7jmhRM+nJyWNwTMv3XKAYveOoyaf6FPFuN6phhtMys14QU9gD8jmBCJPf610//o7Fsw6tcHZTXdK+21U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706580964; c=relaxed/simple; bh=rykP+Vl7/WgAqx0ccleRMo7iXxsZvXvbPA7bichkRxo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=B6VnmA3lQSwAAhCv5Nm7Mvkf3/XGxU8fUy6Uc+zr+T9w5WpqWV/IilkvY62PT5UAMscjYzMFALX4LTXFBBJT7WCpN3/hz7ZhNVEnnr8Woc3LG6kDNaq32Eq16jScARFn5VU2EDrKm4Wcvjul7mdFyIyZA29Cm1FL3ZaNToDc4bM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-5d3907ff128so2842376a12.3 for ; Mon, 29 Jan 2024 18:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706580959; x=1707185759; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SWV8IwJ/KPiNw+JfMP06Odmv/BDSwSzmi6QGoqZVAMk=; b=m1Ij1Ms/gKqTG2Ncgvi0fSudufp4c4iO4BaDsfEQsNMIMILZftZZ0IDV0ZUSGgWL5k 1cg/x9qWwoHmIjdpF7n94veeOWYobm2GERpvxz6qxyZOdxyDLjv6gM/WnCuS9/NJzv74 b7gVnUnlW81nNrJ0hFsyL+Fpah4t5E8MYQiWl9kREeiyFW2hU2jJePkM64R7W26kqMZi kZG4p1PmTm3IeVZVzDcPyioFOeo1S3HgXcEsKqojhj/ShVn/u2RBO94EA8/DL3nu+oLJ bL99g1DREItPxlXvgDdYIqH6pDv/GMQgqdb+yGJlOHyTMlMKhx4gLQ+44vdNbQCE9lMT b7Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706580959; x=1707185759; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SWV8IwJ/KPiNw+JfMP06Odmv/BDSwSzmi6QGoqZVAMk=; b=GbRfFxJ/mq6JsAo9pYgE+it3qwGoiMJDbujf1LKQW1SEQPYPjKx7/m8I5VBu8x24Lk noAVYRljNJFbuGETQTQAPlWF7WFYhndS/3B7BMScewAJMvX8mdIFDHMqwwMf7bBUABEt ZOBSzXk/1IlyEABMeijKiq5lTYuQLfUwgsppqwcVDhrCwPD4bUnIklP5Xm4ORj8vAj+5 74Azs5ePpthf8xIVB30P3z0epbB+/MWpydCMOe+cvHr9Ue3w+yeYuFT5+mldboCN/Xp3 PfKl94yGZQZvx15Oi4rM4b0UD3UT9SiYwJHhJOr5rAVsgbO/SakGhWQLViXFCfmKDBv0 DQNA== X-Gm-Message-State: AOJu0YyR7OdauSLllbw4vHBMR6Ugub1xLYq/hKruBAGeM2Vy6x2dqO1+ AnSTqKgQfvb0+qLNZgSrgkU1C+In5gIfNtVuOR0KXJHcMoijUBWRyWI+nHqf X-Received: by 2002:a05:6a20:bb1d:b0:19c:a16c:8ab4 with SMTP id fc29-20020a056a20bb1d00b0019ca16c8ab4mr4735146pzb.47.1706580959422; Mon, 29 Jan 2024 18:15:59 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.169.51]) by smtp.gmail.com with ESMTPSA id hq4-20020a056a00680400b006ddc71607a7sm6615942pfb.191.2024.01.29.18.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 18:15:59 -0800 (PST) From: "H.J. Lu <>" X-Google-Original-From: "H.J. Lu" <(no_default)> Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id DDAF2740051; Mon, 29 Jan 2024 18:15:57 -0800 (PST) To: gcc-patches@gcc.gnu.org Cc: jose.marchesi@oracle.com, hongtao.liu@intel.com Subject: [PATCH] x86: Limit -mcmodel=large tests to lp64 target Date: Mon, 29 Jan 2024 18:15:57 -0800 Message-ID: <20240130021557.55188-1-user@gnu-cfl-3> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3024.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_NO_USER, GIT_PATCH_0, KAM_SHORT, 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 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: 1789479895068960326 X-GMAIL-MSGID: 1789479895068960326 -mcmodel=large is only supported for lp64 targets. Limit -mcmodel=large tests of libcall-1.c and pr107057.c to lp64 target. * gcc.target/i386/libcall-1.c: Limit to lp64 target. * gcc.target/i386/pr107057.c: Likewise. --- gcc/testsuite/gcc.target/i386/libcall-1.c | 2 +- gcc/testsuite/gcc.target/i386/pr107057.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/libcall-1.c b/gcc/testsuite/gcc.target/i386/libcall-1.c index cb95aca7a29..34a31dd23c6 100644 --- a/gcc/testsuite/gcc.target/i386/libcall-1.c +++ b/gcc/testsuite/gcc.target/i386/libcall-1.c @@ -1,7 +1,7 @@ /* Make sure that external refences for libcalls are generated even for indirect calls. */ -/* { dg-do compile { target int128 } } */ +/* { dg-do compile { target { int128 && lp64 } } } */ /* { dg-options "-O2 -mcmodel=large" } */ /* { dg-final { scan-assembler "globl\t__divti3" } } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr107057.c b/gcc/testsuite/gcc.target/i386/pr107057.c index 40b49ac21ec..f4ebc3deef3 100644 --- a/gcc/testsuite/gcc.target/i386/pr107057.c +++ b/gcc/testsuite/gcc.target/i386/pr107057.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! ia32 } } } */ +/* { dg-do compile { target lp64 } } */ /* { dg-options "-mavx -mcmodel=large -O3" } */ typedef double v2df __attribute__ ((vector_size (16)));