Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2195900/?format=api
{ "id": 2195900, "url": "http://patchwork.ozlabs.org/api/patches/2195900/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260212091326.2240990-7-linopeng@andestech.com/", "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": "<20260212091326.2240990-7-linopeng@andestech.com>", "list_archive_url": null, "date": "2026-02-12T09:13:24", "name": "[6/8] RISC-V: Mark zvfofp8min altfmt on insns", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a3c98451a4533673ed6c5ebe8e7831ec5816da21", "submitter": { "id": 92634, "url": "http://patchwork.ozlabs.org/api/people/92634/?format=api", "name": "Lino Hsing-Yu Peng", "email": "linopeng@andestech.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260212091326.2240990-7-linopeng@andestech.com/mbox/", "series": [ { "id": 491947, "url": "http://patchwork.ozlabs.org/api/series/491947/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491947", "date": "2026-02-12T09:13:18", "name": "*** Add RISC-V zvfofp8min intrinsic ***", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491947/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2195900/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2195900/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=permerror header.from=andestech.com", "sourceware.org; spf=pass smtp.mailfrom=andestech.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=60.248.187.195" ], "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 4fBVKt2m4Nz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 20:26:26 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 378CD4BAD144\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 09:26:24 +0000 (GMT)", "from Atcsqr.andestech.com (unknown [60.248.187.195])\n by sourceware.org (Postfix) with ESMTPS id CECCD4BA23FF\n for <gcc-patches@gcc.gnu.org>; Thu, 12 Feb 2026 09:24:31 +0000 (GMT)", "from mail.andestech.com (ATCPCS34.andestech.com [10.0.1.134])\n by Atcsqr.andestech.com with ESMTP id 61C9OS7m012001;\n Thu, 12 Feb 2026 17:24:28 +0800 (+08)\n (envelope-from linopeng@andestech.com)", "from atccpl01.andestech.com (10.0.15.149) by ATCPCS34.andestech.com\n (10.0.1.134) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 12 Feb\n 2026 17:24:28 +0800" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 378CD4BAD144", "OpenDKIM Filter v2.11.0 sourceware.org CECCD4BA23FF" ], "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org CECCD4BA23FF", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770888272; cv=none;\n b=XWrgyKoOyi8aXsUoDmrE51EIHiqpV3tBTpqLAh/Moa2ARP89VDu1Bqfl/6waBn0oo/L02XLskkHcpuq4D8ukCYa5r0bsZi2iX9O6GC1A8MTkQgX/n1Ukmv1t2XCoaWHDpqfMhFxSMt6fY5/+Et6v3dfl74+6YDYSjXLRqZozeR0=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770888272; c=relaxed/simple;\n bh=bsPlFGoDXKbtzQMa+273FcZCb7ctJecU3pkZGwNmXqA=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=FIHQGaJi8jsgtP+JKhu019e8nneVCwP0RKUlwHF1OgmGvzb4CK3Qhd4aQwhlLaVIQEtXB0lnr7sOfMuLHf2/kfYmffEgh8d2AupdPDKuVpKVQe+q4rdbkcdM+8cBIyqMLSAGzoejkquTkpnhy1BAF8y0sT654vSqscedCpaU6/Y=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "From": "Lino Hsing-Yu Peng <linopeng@andestech.com>", "To": "<gcc-patches@gcc.gnu.org>", "CC": "Lino Hsing-Yu Peng <linopeng1019@gmail.com>", "Subject": "[PATCH 6/8] RISC-V: Mark zvfofp8min altfmt on insns", "Date": "Thu, 12 Feb 2026 17:13:24 +0800", "Message-ID": "<20260212091326.2240990-7-linopeng@andestech.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260212091326.2240990-6-linopeng@andestech.com>", "References": "<20260212091326.2240990-1-linopeng@andestech.com>\n <20260212091326.2240990-2-linopeng@andestech.com>\n <20260212091326.2240990-3-linopeng@andestech.com>\n <20260212091326.2240990-4-linopeng@andestech.com>\n <20260212091326.2240990-5-linopeng@andestech.com>\n <20260212091326.2240990-6-linopeng@andestech.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.0.15.149]", "X-ClientProxiedBy": "ATCPCS33.andestech.com (10.0.1.100) To\n ATCPCS34.andestech.com (10.0.1.134)", "X-DKIM-Results": "atcpcs34.andestech.com; dkim=none;", "X-DNSRBL": "", "X-MAIL": "Atcsqr.andestech.com 61C9OS7m012001", "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": "From: Lino Hsing-Yu Peng <linopeng1019@gmail.com>\n\nTag Zvfofp8min conversion patterns with the new altfmt attribute so the\nbackend records which instructions require alt floating-point formats.\nThis enables later vsetvl decisions to preserve compatible settings.\n\ngcc/ChangeLog:\n\n\t* config/riscv/vector-float8.md (altfmt_kind): New attribute.\n\t(@pred_extend_<altfmt_base>_to_<mode>): Set altfmt.\n\t(@pred_trunc_<mode>_to_<altfmt_sat>,\n\t@pred_quad_trunc_<mode>_to_<altfmt_sat>): Likewise.\n---\n gcc/config/riscv/vector-float8.md | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)", "diff": "diff --git a/gcc/config/riscv/vector-float8.md b/gcc/config/riscv/vector-float8.md\nindex 20c656a948b..36806c4a9ed 100644\n--- a/gcc/config/riscv/vector-float8.md\n+++ b/gcc/config/riscv/vector-float8.md\n@@ -64,6 +64,12 @@\n (UNSPEC_F8E4M3_SAT \"f8e4m3_sat\")\n (UNSPEC_F8E5M2_SAT \"f8e5m2_sat\")])\n \n+(define_int_attr altfmt_kind\n+ [(UNSPEC_F8E4M3 \"none\")\n+ (UNSPEC_F8E5M2 \"alt\")\n+ (UNSPEC_F8E4M3_SAT \"none\")\n+ (UNSPEC_F8E5M2_SAT \"alt\")])\n+\n (define_int_attr sat\n [(UNSPEC_F8E4M3 \"\")\n (UNSPEC_F8E5M2 \"\")\n@@ -90,7 +96,8 @@\n \"TARGET_VECTOR && TARGET_ZVFOFP8MIN && TARGET_ZVFBFMIN\"\n \"vfwcvtbf16.f.f.v\\t%0,%3%p1\"\n [(set_attr \"type\" \"vfwcvtbf16\")\n- (set_attr \"mode\" \"<VBF_DOUBLE_TRUNC>\")])\n+ (set_attr \"mode\" \"<VBF_DOUBLE_TRUNC>\")\n+ (set_attr \"altfmt\" \"<altfmt_kind>\")])\n \n ;; Zvfofp8min extension: BF16 to FP8 narrowing conversions.\n \n@@ -115,6 +122,7 @@\n \"vfncvtbf16<sat>.f.f.w\\t%0,%3%p1\"\n [(set_attr \"type\" \"vfncvtbf16\")\n (set_attr \"mode\" \"<VBF_DOUBLE_TRUNC>\")\n+ (set_attr \"altfmt\" \"<altfmt_kind>\")\n (set (attr \"frm_mode\")\n (symbol_ref \"riscv_vector::get_frm_mode (operands[8])\"))])\n \n@@ -141,5 +149,6 @@\n \"vfncvt<sat>.f.f.q\\t%0,%3%p1\"\n [(set_attr \"type\" \"vfncvtbf16\")\n (set_attr \"mode\" \"<VF_QUAD_TRUNC>\")\n+ (set_attr \"altfmt\" \"<altfmt_kind>\")\n (set (attr \"frm_mode\")\n (symbol_ref \"riscv_vector::get_frm_mode (operands[8])\"))])\n", "prefixes": [ "6/8" ] }