From patchwork Thu Jul 11 21:42:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1959544 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=xHTfpYRs; 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 4WKpBz69n7z1xpd for ; Fri, 12 Jul 2024 07:43:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 833DB38754BD for ; Thu, 11 Jul 2024 21:43:53 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by sourceware.org (Postfix) with ESMTPS id 441293858410 for ; Thu, 11 Jul 2024 21:43:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 441293858410 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 441293858410 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::c35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720734203; cv=none; b=Oty4zUcs6nE2QKJCnEmiBk59fC0LKLdukadDW9UFckGPBYSorfWLsNsLKi0mD7ARu0I+9baMYHlt23KLEslF/CYMF0NuIGG19ncPIHlecOaMvr76AMGiFn1n9Kxkp4V3MMfkcYdeP3bFeZwpASPF7QkFozY3+1avIdhPmMcr2lM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720734203; c=relaxed/simple; bh=hlpEEH6lrEWHukZMDhiuil0/jtDO6QZxpAgzxLPmgDU=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=H0Rb7FN9bvfLvfY+eTpcXUxg8uqQ7ndZkqeNO7gCM2FyG//Ex71POgXyigKdVLog/9DQhc72hmli0KZ1SIuGqiUn17q+QfWLbgFTV9IVxSxJIZH5cDhwEdLTPItY0Q0qM9NSXPgrg7L3Ap9wgmoiXiDm963xQvT9qN7nflOd05Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-5c697fc4aa2so851846eaf.2 for ; Thu, 11 Jul 2024 14:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720734200; x=1721339000; 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=yKQLt03cdjLeH58Bs4MWNkZpAmLIj4IuzaYsSSvKvAg=; b=xHTfpYRsv1sSFE4f4mzzQiyussOgW5mWu4hWXkGOcXISgAukyldrEzrd4WBj3E09+B nTEH1w5s9lomcPTqe9sseHGKUrjoLPzprC0nhmPukv65O/vZmqshj2vzg/0a+auQgnnk jrC1o/3IMHh2ldD1/X3ScTXCbAgulXEN4FuL2flH8mt2GztAtd9WbqrCFGviywuJusP1 YesHheY5cCwsjF7uZQCyn4ZdBPZ3W9akj6N8MJtpEOJI9Fa1NmWlccNGHgSp0deZgvY7 Qh7lt0Pca0FwIuovCji4pJ91y0iD43fPI+eqY/siySjiTCWTNjwxPrdsz67zrJWO0nln g1qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720734200; x=1721339000; 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=yKQLt03cdjLeH58Bs4MWNkZpAmLIj4IuzaYsSSvKvAg=; b=s64/XNYXtI71rRhmr50G9DRqmT1ZXvWAeDlU/zeaIVqP8JnpsC0HEFlWS+L4I+kS9c Pn+NJDerUxb3oqha6Nj/mnBpeJ6J26JvcUaxD83KNRGIKnF6bNLTxQjsT8Cx+eoOnm22 cX/C08I6RAk41Bgpmj2C8Rl7MOI9vMDtL/P/S8Z4kPpBgpWSHzRxmyshLqkRu9J2tD7x Qk3EtoaQfgr/9ILbjPqgUeoDY5olpNpaHR8PqDZYOdoHRFQj0yLtMWhWvwDJOFkaHnMc Ks2chTC7Wtlud9lo9IC8iVknTwm86uCRP+lR1JD82hf7Tkg5xYin9VCBBsw0w+W7hvr/ vNdQ== X-Gm-Message-State: AOJu0Yygeah6rUw3LE+GQ6aa1QD65TeuIMy8Zsl71KT6P2gSSfyty/7I GVCRRYW+gJRpJINxDzzupTNSbcmcrUFuNl33v3YYeht7Y4v50uPEpNIv/UOgkfU241tddQPw71+ ljIE= X-Google-Smtp-Source: AGHT+IHiR+WUppZsb6M3w/vLUa6hG0u4JDo+MU882q0oqvcvinJyEv6BmuymoBBvzzYKfQA7il1cMA== X-Received: by 2002:a05:6820:f01:b0:5c4:5cbc:b1b5 with SMTP id 006d021491bc7-5ccd7d70fb2mr416508eaf.0.1720734199708; Thu, 11 Jul 2024 14:43:19 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5c7b606db30sm540950eaf.8.2024.07.11.14.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 14:43:19 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, richard.earnshaw@arm.com, ramanara@nvidia.com Cc: Christophe Lyon Subject: [PATCH 01/15] arm: [MVE intrinsics] improve comment for orrq shape Date: Thu, 11 Jul 2024 21:42:51 +0000 Message-Id: <20240711214305.3193022-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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 Add a comment about the lack of "n" forms for floating-point nor 8-bit integers, to make it clearer why we use build_16_32 for MODE_n. 2024-07-11 Christophe Lyon gcc/ * config/arm/arm-mve-builtins-shapes.cc (binary_orrq_def): Improve comment. --- gcc/config/arm/arm-mve-builtins-shapes.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc b/gcc/config/arm/arm-mve-builtins-shapes.cc index ba20c6a8f73..e01939469e3 100644 --- a/gcc/config/arm/arm-mve-builtins-shapes.cc +++ b/gcc/config/arm/arm-mve-builtins-shapes.cc @@ -865,7 +865,12 @@ SHAPE (binary_opt_n) int16x8_t [__arm_]vorrq_m[_s16](int16x8_t inactive, int16x8_t a, int16x8_t b, mve_pred16_t p) int16x8_t [__arm_]vorrq_x[_s16](int16x8_t a, int16x8_t b, mve_pred16_t p) int16x8_t [__arm_]vorrq[_n_s16](int16x8_t a, const int16_t imm) - int16x8_t [__arm_]vorrq_m_n[_s16](int16x8_t a, const int16_t imm, mve_pred16_t p) */ + int16x8_t [__arm_]vorrq_m_n[_s16](int16x8_t a, const int16_t imm, mve_pred16_t p) + + No "_n" forms for floating-point, nor 8-bit integers: + float16x8_t [__arm_]vorrq[_f16](float16x8_t a, float16x8_t b) + float16x8_t [__arm_]vorrq_m[_f16](float16x8_t inactive, float16x8_t a, float16x8_t b, mve_pred16_t p) + float16x8_t [__arm_]vorrq_x[_f16](float16x8_t a, float16x8_t b, mve_pred16_t p) */ struct binary_orrq_def : public overloaded_base<0> { bool