From patchwork Thu Jul 6 21:35:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 11709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2848007vqx; Thu, 6 Jul 2023 14:36:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9T/F0n2TrA9aYp6K4snUa4gy/7YYcJ03Wv4zD8Rkx6OVJXCMpwiqAFb9AhY179c82JFzB X-Received: by 2002:a17:907:7f26:b0:966:1bf2:2af5 with SMTP id qf38-20020a1709077f2600b009661bf22af5mr6482284ejc.22.1688679362981; Thu, 06 Jul 2023 14:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688679362; cv=none; d=google.com; s=arc-20160816; b=b4ST79NN0a1fbS+WJEGBEOw15c2mp0O7OGDJ8YSTHuKyCWn4eTu8dweqTMgkb/+BQ2 0x20p+Dz1WHwmawoolQYnD5RVsHd2A+8kuSYZnCEFUBX0oJwGq+bX+LNKSbDLOxpnCk1 0V+sF462ApBkSk+jRnUnNQG266WFNfQdomTYo465kgdh0WDFXVKbI+6kkfa75+uI8tdA FGM2xN1XX+36f2HqVkcIfXYgT5aFoQ+qgpbNZY2Lmb46LgVMFHeRkTRSeX/mQ3SCOwJg IuHIfU36awkJ9uuv+CtRFVNO6f3l4WeLqjLIVVZCbjMb+47f6e17m+w19I8aIQ7GUY6F +0Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:subject:cc:to:from:date:dkim-signature:dmarc-filter :delivered-to; bh=0E0Ik0hf4LmDqXCqS/FqOFi0JeiBXwEKK3vToqi7kmQ=; fh=t3lE6tP4OFFScdyp9Q21zIlkKocPOm4DCGwxv6w9iRc=; b=yCQcG7XnprE4j33GjlPEWB3Zz6LRkJMD59jhR2IOBoLv7Rk0mKYw2NgL3KLUUIMlL9 KuFaEu8AQvF4vCVl6STsTWwPG+wWT1HVheqHEx3NO5/EeN2VNLsE2dOu65Lg1f2ub94/ y8ekrlBIMUY3xKhp2U5LwlCYNbmNEUMo24h43RGCoStNWjUgplf76Ykqd3jxzNzwr58j 77DqLE+cNQXdpl/ECbHCi/Yg9lbFRND0tR4h+k4g9vXv/qDo+wq7CtNxSIF8P6eTluuE KWfeekCothD3vsFK48/QexOOr5Jnw6QOkvXizm7vVTeytoHpXJRorvMI+OsKzbg20dh1 6AlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=MkiK9o3h; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id xa5-20020a170907b9c500b0099381745ba7si1278616ejc.878.2023.07.06.14.36.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 14:36:02 -0700 (PDT) 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=@embecosm.com header.s=google header.b=MkiK9o3h; 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 EE4893854839 for ; Thu, 6 Jul 2023 21:35:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id F077C385800A for ; Thu, 6 Jul 2023 21:35:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F077C385800A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fbfa811667so2979015e9.1 for ; Thu, 06 Jul 2023 14:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1688679331; x=1691271331; h=mime-version:user-agent:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=0E0Ik0hf4LmDqXCqS/FqOFi0JeiBXwEKK3vToqi7kmQ=; b=MkiK9o3hvJVRpFtYZiv4JrrtdmQrlQxh3XkYq+6xt5LYI+hsIBXxcgeoDimnt/ywpb zPCOEKZwYpNz5du74LJyAjsYfwOGPBA9Ow6oICyeoH+trN6TMT7kfAE0XY4ZY18ZGcw1 QcZugc5OxOt+nDLCM/c1ks1bXwIbzo3oEfD1dYu0xnPX9jxikB/OzJvhuZg01oK4vBcL WN4krjTvnrX8L19uY2kS3BrE0h3joAxlYa/FfZyq6pTXquYFtb/W0be4hGaE2WYGnMdO JD3gFKPXkQCWmhP5uDr3nU3NeO8yr0NpfDJKzBcNqIdoaODNyBaKI5Tzto9Ry4pkT0m8 PCkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688679331; x=1691271331; h=mime-version:user-agent:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0E0Ik0hf4LmDqXCqS/FqOFi0JeiBXwEKK3vToqi7kmQ=; b=ZIAWG+toFJrUSZT4BM4Vm/JjDBVZyFpxn6ApqaifylpTH4HMYAeKyoIQ4mAqV1rmFr E2E5ZvkDxoKzXbyVv+b+x2En+86UQBLUJe0Yro31JhXGEniUNy29Y9Gzhy8IEbJdCO/H 19LAuL0MQlL/V5Q7D32hw9xnCIJBwxF4zQLNVOhey9DJ+IusedH6cK04E3W/Sswk778k WmMm3wC3vTLXWAew4b5a4DOhNMf6IqJDjWInaA+haK0Q76tTZcO2iQLA8XM3+Xi1HkB/ XNDqWFCmxeLCBa6jnepRGvm6TTSkPf3Gm5zRk06ANe7/VY4/NrU7kmtcBdUq5NVlE8Ql vNqw== X-Gm-Message-State: ABy/qLbQiZsGftra03kSA+uELoUp3Wuy36KP0jIieUuEDGrCB0VYYisp ezUt59L2WWBf0jGWBn41TOvDXg== X-Received: by 2002:a05:600c:5110:b0:3f7:ecdf:ab2d with SMTP id o16-20020a05600c511000b003f7ecdfab2dmr5329679wms.20.1688679330545; Thu, 06 Jul 2023 14:35:30 -0700 (PDT) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id d4-20020adffd84000000b00311d8c2561bsm2777909wrr.60.2023.07.06.14.35.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2023 14:35:30 -0700 (PDT) Date: Thu, 6 Jul 2023 22:35:19 +0100 (BST) From: "Maciej W. Rozycki" To: Rainer Orth , Mike Stump cc: gcc-patches@gcc.gnu.org Subject: [PATCH 0/3] testsuite: Exclude vector tests for unsupported targets Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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.29 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 Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770708651629947361?= X-GMAIL-MSGID: =?utf-8?q?1770708651629947361?= Hi, In the course of verifying an out-of-tree RISC-V target that has a vendor extension providing hardware support for vector operations on pairs of single floating-point values (similar to MIPS paired-single or Power SPE vector types) I have come across a couple of tests that fail just because they expect GCC to produce code this particular hardware does not support. Therefore I have created this small patch series, which marks the features required for the test cases to be relevant, which makes them unsupported for the hardware concerned. For further details see individual change descriptions. This patch series has been verified with an `x86_64-linux-gnu' native configuration. I could verify it with MIPS paired-single hw sometime, but I'm not currently set up for it and I think the changes are obvious enough regardless. OK to apply? As testsuite fixes I think the changes also qualify for backporting to active release branches. Maciej