get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2231225/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2231225,
    "url": "http://patchwork.ozlabs.org/api/patches/2231225/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260430121038.20317-1-chenglulu@loongson.cn/",
    "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": "<20260430121038.20317-1-chenglulu@loongson.cn>",
    "list_archive_url": null,
    "date": "2026-04-30T12:10:38",
    "name": "gcc-16: LoongArch: Update changes for code model and vector intrinsics.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "713c829b00d889a9e780da0894efe5adecaf52f1",
    "submitter": {
        "id": 82960,
        "url": "http://patchwork.ozlabs.org/api/people/82960/?format=api",
        "name": "Lulu Cheng",
        "email": "chenglulu@loongson.cn"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260430121038.20317-1-chenglulu@loongson.cn/mbox/",
    "series": [
        {
            "id": 502289,
            "url": "http://patchwork.ozlabs.org/api/series/502289/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502289",
            "date": "2026-04-30T12:10:38",
            "name": "gcc-16: LoongArch: Update changes for code model and vector intrinsics.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502289/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231225/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231225/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=2620:52:6:3111::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;\n dmarc=none (p=none dis=none) header.from=loongson.cn",
            "sourceware.org; spf=pass smtp.mailfrom=loongson.cn",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=114.242.206.163"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::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 4g5tK31vyfz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 22:09:56 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id D48A443B5517\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 12:09:54 +0000 (GMT)",
            "from mail.loongson.cn (mail.loongson.cn [114.242.206.163])\n by sourceware.org (Postfix) with ESMTP id 93CB94BA7992\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 12:09:22 +0000 (GMT)",
            "from loongson.cn (unknown [10.20.4.107])\n by gateway (Coremail) with SMTP id _____8DxBOlrRvNpr30FAA--.12509S3;\n Thu, 30 Apr 2026 20:09:16 +0800 (CST)",
            "from loongson-pc.loongson.cn (unknown [10.20.4.107])\n by front1 (Coremail) with SMTP id qMiowJBxSeBpRvNpdxt4AA--.31993S2;\n Thu, 30 Apr 2026 20:09:13 +0800 (CST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org D48A443B5517",
            "OpenDKIM Filter v2.11.0 sourceware.org 93CB94BA7992"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 93CB94BA7992",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 93CB94BA7992",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777550963; cv=none;\n b=QXUHvKkQ3LE8p9CYP+NNNfjlGa3VxRxqPe8eJk5MhZsIJbHJIg30JNYH68i6ocf/O8ntZ5VNXJgDnxx+X/b9puVqmTdjdOJsBETQFG0PBI+IPLDkkyukDjhD73BN8EcFInu5ysS3dsqBNKsOs5boPx9NBSpTd1gkf2S61CKRm2I=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777550963; c=relaxed/simple;\n bh=6beNnsusw2lahsoBo3v6Zg6j838Pr5/1W3/ObiroHS4=;\n h=From:To:Subject:Date:Message-Id:MIME-Version;\n b=e62P+rZ0P8LstzgB+OzSR55s98YECHK8SuU62K0LPCeBpYB/GGGVSElWmnwT83F96ihzf0Y9SDHH/kSkYtdKMN+aHgWs27Z1qik7xMZEQkGQDMMzBcMaOl7C4Nk0vRfO/0wAa/hg0xYi4igNHTzENfxqj616zuckkFEoSDAfsIw=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Lulu Cheng <chenglulu@loongson.cn>",
        "To": "gcc-patches@gcc.gnu.org,\n\tchenglulu@loongson.cn",
        "Cc": "xry111@xry111.site,\n\ti@xen0n.name,\n\txuchenghua@loongson.cn",
        "Subject": "[PATCH] gcc-16: LoongArch: Update changes for code model and vector\n intrinsics.",
        "Date": "Thu, 30 Apr 2026 20:10:38 +0800",
        "Message-Id": "<20260430121038.20317-1-chenglulu@loongson.cn>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-CM-TRANSID": "qMiowJBxSeBpRvNpdxt4AA--.31993S2",
        "X-CM-SenderInfo": "xfkh0wpoxo3qxorr0wxvrqhubq/",
        "X-Coremail-Antispam": "1Uk129KBj93XoW7uw1DXr13Zry5uF4xXrW8uFX_yoW8AryDpa\n 4DCr93GF4FyF1YkF93CasxZ3W3C3WrJa1UJF40gw1YqF1qqFy8ZryUtF1rK3srZry5Wr4S\n q3W7KF15GwsYv3gCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa\n sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU\n 0xBIdaVrnRJUUUkFb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2\n IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v\n e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI\n 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK\n xVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx\n 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E87Iv\n 67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2\n Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02\n 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0x\n vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE\n 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x\n kF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07UNvtZUUUUU=",
        "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>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "---\n htdocs/gcc-16/changes.html | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/htdocs/gcc-16/changes.html b/htdocs/gcc-16/changes.html\nindex 838a4e98..fa0d99e6 100644\n--- a/htdocs/gcc-16/changes.html\n+++ b/htdocs/gcc-16/changes.html\n@@ -620,7 +620,8 @@ struct Affected : E\n   <li>Bit-precise integer types (<code>_BitInt (<i>N</i>)</code> and\n       <code>unsigned _BitInt (<i>N</i>)</code>) are supported.\n   </li>\n-  <li>Added FunctionMulti-Versioning (FMV) support. The  <a href=\"https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/LoongArch-Attributes.html#index-target_005fclones_002c-LoongArch\"><code>target_clones</code></a>\n+  <li>Added FunctionMulti-Versioning (FMV) support. The\n+      <a href=\"https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/LoongArch-Attributes.html#index-target_005fclones_002c-LoongArch\"><code>target_clones</code></a>\n       attribute can be used to generate multiple function versions for\n       different LoongArch CPU features\n       (e.g., <code>lsx</code>, <code>lasx</code>), with automatic\n@@ -634,6 +635,11 @@ struct Affected : E\n       code for a wider range of embedded applications.<br>\n       (Note: This feature depends on corresponding Binutils and glibc support.)\n   </li>\n+  <li>Switch the default code model to <code>medium</code>.\n+  </li>\n+  <li>Implement <a href=\"https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/Directly-mapped-SX-and-ASX-Conversion-Builtin-Functions.html#Directly-mapped-SX-and-ASX-Conversion-Builtin-Functions-1\">intrinsics</a>\n+      for 128-bit and 256-bit vector conversions.\n+  </li>\n </ul>\n \n <!-- <h3 id=\"mips\">MIPS</h3> -->\n",
    "prefixes": []
}