From patchwork Sat Jan 27 12:57:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prathamesh Kulkarni X-Patchwork-Id: 1891763 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=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=QKXWesTH; 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 4TMZPL4ggbz23fJ for ; Sat, 27 Jan 2024 23:58:28 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 52AD43858414 for ; Sat, 27 Jan 2024 12:58:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 32F663858D28 for ; Sat, 27 Jan 2024 12:58:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 32F663858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 32F663858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::330 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706360287; cv=none; b=AS4jBCSbxhYmoV/lr5McCs7+2j1PpsPYElJidPDVGxN8fYJrBAI1KASJbQ0s7+thC+mCLtDSfxY/qNBkp248aFb+yl8nlN7Kka3o5V/avfTQdZklpmYb1TsEo9b9UtGsszIqIPpGf4wksMsw/TwbrK9tfXV3SAMRgsUeWIS51Is= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706360287; c=relaxed/simple; bh=X8AWSSUij/t4CEATW7/CNLa+5QwuiXI9vmmat4cTBT4=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=AC83RnIZDVvv7afX7fciQnM3jIxdHtAp22bRel3xrB7U+FT1w6tGUkKqqqbRQh85PafviuoKcRqJO9xjl4wHUZ4RVVZFL87FNuyEtO1/Yt7Ri66idn2huIVxkpDBlRCtbHNJinGAgqfYir/NG0ryrK+guAwjWb4TeAX+p0mIu1k= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso21641665e9.2 for ; Sat, 27 Jan 2024 04:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706360283; x=1706965083; darn=gcc.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=X8AWSSUij/t4CEATW7/CNLa+5QwuiXI9vmmat4cTBT4=; b=QKXWesTHKC7EHv0xt3Dg3ST6I1mZcR9OTyAMIWo8eCytyoXGssc5WKAk1hVgz45sWD sIw1imCOYVKY905fpi8hkhuXBNZYXbMdmdMU/A4DNZoxx8mELlOUN1QOa7GHW7pHSuqr 6jUmFz49Qz25VTuNZwAazixp1DznkJpk/onl6meDM6oc2r5Ept+imru2V1BRHhIpe4xC bK/4ZoQwtbCdVG4nGEIFsFcwH7+BQB7xghm7VVQgg9dImb8OX2Tjf9+N5Pscowe+FU3+ QeVMDSmR6xD9rlnHWJsFg6LQmY93wH9smwXUg2DAJo02F5tho16bNeAi7WtvXpUHccCV L2AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706360283; x=1706965083; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X8AWSSUij/t4CEATW7/CNLa+5QwuiXI9vmmat4cTBT4=; b=Qv+0PfKNihuXRiPJrRw1cf5EUwOKXMeJSYC8rm8EV28xuqCNuqLRKlTieH0NfifE6N gj2w1O83ub67FdgYUDlXpq3gsEPV1SEfHGQ2IeiuJO2EricSCAFWnHjbkBSc58y4CI3i RdySdCfLF5EF/2D1FyroRtEbl1rYIh/cyFIwumx02qni9mt7g7VeRAwKa9cnWVQwpBYW 5LRBMS6sl7x5BCGalcSO5EezB26XGkkU0MEd8X6T005jrjOqVNs6ckM9LeI8gmPPrEwx bAdaN3nOAN3o/XaEj2Sm3f1G7GEmc46cZZyxjeMm2qqoXHK4B7XAhLCKphpueLLZyVar W+lA== X-Gm-Message-State: AOJu0YxhoQoVetqLTNDqdVDxG+B8ojT9FGyhg27VeFmL48QcuXtutPdS LHmIj24DnHAOINHd17AC7FQ449HnElCpO9+gUka9EQhMXwIJ1Ad93mefbYu2WXdnEUy23w42owo YR0UQVpOLFRhC6+YEtehP3MKiGWbTeb3+687P4t0FEABktGVR X-Google-Smtp-Source: AGHT+IG1YHZKyClr0C1K6H98dN9IOQlr6LT6RHcblPnylMnDggPjkZ9a9W9a6t6uVOjFyawcVMPRbC3Ud72eOoFfr1c= X-Received: by 2002:adf:b19c:0:b0:33a:e6e4:945d with SMTP id q28-20020adfb19c000000b0033ae6e4945dmr264678wra.2.1706360283013; Sat, 27 Jan 2024 04:58:03 -0800 (PST) MIME-Version: 1.0 From: Prathamesh Kulkarni Date: Sat, 27 Jan 2024 18:27:27 +0530 Message-ID: Subject: [aarch64] PR112950: gcc.target/aarch64/sve/acle/general/dupq_5.c fails on aarch64_be-linux-gnu To: gcc Patches , Richard Sandiford X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 Hi, The test passes -mlittle-endian option but doesn't have target check for aarch64_little_endian and thus fails to compile on aarch64_be-linux-gnu. The patch adds the missing aarch64_little_endian target check, which makes it unsupported on the target. OK to commit ? Thanks, Prathamesh PR112950: Add aarch64_little_endian target check for dupq_5.c gcc/testsuite/ChangeLog: PR target/112950 * gcc.target/aarch64/sve/acle/general/dupq_5.c: Add aarch64_little_endian target check. diff --git a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c index 6ae8d4c60b2..1990412d0e5 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -mlittle-endian" } */ +/* { dg-require-effective-target aarch64_little_endian } */ #include