Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2226875/?format=api
{ "id": 2226875, "url": "http://patchwork.ozlabs.org/api/patches/2226875/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.7@forge-stage.sourceware.org/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api", "name": "GNU Compiler Collection", "link_name": "gcc", "list_id": "gcc-patches.gcc.gnu.org", "list_email": "gcc-patches@gcc.gnu.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.7@forge-stage.sourceware.org>", "list_archive_url": null, "date": "2026-04-22T19:01:41", "name": "[v2,07/14] arm: [MVE intrinsics] add scalar_s64_shift scalar_u64_shift shapes [PR122216]", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b436c0ace68c268e62782f3ecb52b4ae946138b0", "submitter": { "id": 92734, "url": "http://patchwork.ozlabs.org/api/people/92734/?format=api", "name": "Christophe Lyon via Sourceware Forge", "email": "forge-bot+clyon@forge-stage.sourceware.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.7@forge-stage.sourceware.org/mbox/", "series": [ { "id": 501104, "url": "http://patchwork.ozlabs.org/api/series/501104/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501104", "date": "2026-04-22T19:01:35", "name": "arm: [MVE intrinsics] rework vpnot, vgetq_lane, vsetq_lane, vuninitialized and scalar shifts", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/501104/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226875/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226875/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org", "sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org", "server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1BWK36R5z1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 07:02:37 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 24DB1469F39E\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 20:55:11 +0000 (GMT)", "from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 0EB5B40A0679\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 19:02:49 +0000 (GMT)", "from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 950214360D;\n Wed, 22 Apr 2026 19:02:46 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 24DB1469F39E", "OpenDKIM Filter v2.11.0 sourceware.org 0EB5B40A0679" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 0EB5B40A0679", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 0EB5B40A0679", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776884569; cv=none;\n b=KUeHf8bnlqQjNHBoqqtC1vRjlLfQrqYX4W3XskggFTNnKk/4bxe7giLFGp4QJvx+Bs1uRd9TK0aiyd33PA5ntAs/hVV76DtDCOiGCkY/vOFv/kFoPU9mNiU+yl2+F/dBD/GuHMI4talm9O3KD9Mlr4Qhzzkrnzqq6EdUkg9rtMY=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776884569; c=relaxed/simple;\n bh=Xh7gcpEMGJS0LlkWrGdIwuKUWR2ILqg852Iy/ksGuwo=;\n h=From:Date:Subject:To:Message-ID;\n b=mfruQsPv105IlGCnGr/7XD+iSMY84B/CZXQ3u7cfJ4k2mXeDUrKwZSZ3h7vuXTceLax7VgOKRIf4sQ5vsOfCgxSvoseSqRRx2QI9ov4hioBSMF3Lw04RyFkBOVT3j0FYy/SbmaLNm/fCbu+xTD07QrYI4m8ONhlMo/jYKO2MUn8=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "From": "Christophe Lyon via Sourceware Forge\n <forge-bot+clyon@forge-stage.sourceware.org>", "Date": "Wed, 22 Apr 2026 19:01:41 +0000", "Subject": "[PATCH v2 07/14] arm: [MVE intrinsics] add scalar_s64_shift\n scalar_u64_shift shapes [PR122216]", "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>", "Cc": "sloosemore@baylibre.com", "Message-ID": "\n <bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.7@forge-stage.sourceware.org>", "X-Mailer": "batrachomyomachia", "X-Pull-Request-Organization": "gcc", "X-Pull-Request-Repository": "gcc-TEST", "X-Pull-Request": "https://forge.sourceware.org/gcc/gcc-TEST/pulls/121", "References": "\n <bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.0@forge-stage.sourceware.org>", "In-Reply-To": "\n <bmm.hhuph3sz8c.gcc.gcc-TEST.clyon.121.2.0@forge-stage.sourceware.org>", "X-Patch-URL": "\n https://forge.sourceware.org/clyon/gcc-TEST/commit/2b8088fba6ee7c71c1bbeef66c7370ef459aea8f", "X-BeenThere": "gcc-patches@gcc.gnu.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>", "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>", "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>", "Reply-To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n sloosemore@baylibre.com, clyon@gcc.gnu.org", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "From: Christophe Lyon <christophe.lyon@linaro.org>\n\nThis patch adds the scalar_s64_shift and scalar_u64_shift shape\ndescriptions.\n\ngcc/ChangeLog:\n\n\tPR target/122216\n\t* config/arm/arm-mve-builtins-shapes.cc (scalar_s64_shift): New.\n\t(scalar_u64_shift): New.\n\t* config/arm/arm-mve-builtins-shapes.h: Likewise.\n---\n gcc/config/arm/arm-mve-builtins-shapes.cc | 30 +++++++++++++++++++++++\n gcc/config/arm/arm-mve-builtins-shapes.h | 2 ++\n 2 files changed, 32 insertions(+)", "diff": "diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc b/gcc/config/arm/arm-mve-builtins-shapes.cc\nindex 03f70f8ba167..41e656e0861e 100644\n--- a/gcc/config/arm/arm-mve-builtins-shapes.cc\n+++ b/gcc/config/arm/arm-mve-builtins-shapes.cc\n@@ -1723,6 +1723,36 @@ struct mvn_def : public overloaded_base<0>\n };\n SHAPE (mvn)\n \n+/* int64_t foo(int64_t, int32_t)\n+\n+ Example: asrl\n+ int64_t [__arm_]arsl(int64_t value, int32_t shift) */\n+struct scalar_s64_shift_def : public nonoverloaded_base\n+{\n+ void\n+ build (function_builder &b, const function_group_info &group,\n+\t bool preserve_user_namespace) const override\n+ {\n+ build_all (b, \"ss64,ss64,ss32\", group, MODE_none, preserve_user_namespace);\n+ }\n+};\n+SHAPE (scalar_s64_shift)\n+\n+/* uint64_t foo(uint64_t, int32_t)\n+\n+ Example: lsll.\n+ uint64_t [__arm_]lsll(uint64_t value, int32_t shift) */\n+struct scalar_u64_shift_def : public nonoverloaded_base\n+{\n+ void\n+ build (function_builder &b, const function_group_info &group,\n+\t bool preserve_user_namespace) const override\n+ {\n+ build_all (b, \"su64,su64,ss32\", group, MODE_none, preserve_user_namespace);\n+ }\n+};\n+SHAPE (scalar_u64_shift)\n+\n /* <T0>_t vfoo[_t0](<S0>_t, <T0>_t, const_int)\n \n Check that 'idx' is in the [0..#num_lanes - 1] range.\ndiff --git a/gcc/config/arm/arm-mve-builtins-shapes.h b/gcc/config/arm/arm-mve-builtins-shapes.h\nindex 4763eeeda320..1841a8f7b22e 100644\n--- a/gcc/config/arm/arm-mve-builtins-shapes.h\n+++ b/gcc/config/arm/arm-mve-builtins-shapes.h\n@@ -67,6 +67,8 @@ namespace arm_mve\n extern const function_shape *const load_ext_gather_offset;\n extern const function_shape *const load_gather_base;\n extern const function_shape *const mvn;\n+ extern const function_shape *const scalar_s64_shift;\n+ extern const function_shape *const scalar_u64_shift;\n extern const function_shape *const setq_lane;\n extern const function_shape *const store;\n extern const function_shape *const store_scatter_base;\n", "prefixes": [ "v2", "07/14" ] }