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: 1892623 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=m1Ij1Ms/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TP81C2LCpz23fD for ; Tue, 30 Jan 2024 13:16:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DDFB13858281 for ; Tue, 30 Jan 2024 02:16:27 +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-Google-Smtp-Source: AGHT+IFkVcU1kpzT//Ow7mkaer+V0TJWRLpn9Zg6V7uoUUO5eZCVY3lGBWRdXuiL9qGMn/Ljhxernw== 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+incoming=patchwork.ozlabs.org@gcc.gnu.org -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)));