get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230686,
    "url": "http://patchwork.ozlabs.org/api/patches/2230686/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430000524.56046-28-richard.henderson@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260430000524.56046-28-richard.henderson@linaro.org>",
    "list_archive_url": null,
    "date": "2026-04-30T00:05:10",
    "name": "[v2,27/40] fpu: Drop QEMU_FLATTEN from muladd routines",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c2e06c77266b420ff690d072c0daed42e82da762",
    "submitter": {
        "id": 72104,
        "url": "http://patchwork.ozlabs.org/api/people/72104/?format=api",
        "name": "Richard Henderson",
        "email": "richard.henderson@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430000524.56046-28-richard.henderson@linaro.org/mbox/",
    "series": [
        {
            "id": 502170,
            "url": "http://patchwork.ozlabs.org/api/series/502170/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502170",
            "date": "2026-04-30T00:04:48",
            "name": "fpu: Export some internals for targets",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502170/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230686/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230686/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=mWtFQ+IN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5ZK30vNqz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 10:08:55 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIEwQ-000242-Gk; Wed, 29 Apr 2026 20:07:42 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>)\n id 1wIEvJ-000808-Hf\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 20:06:39 -0400",
            "from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>)\n id 1wIEvH-0001uA-JI\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 20:06:33 -0400",
            "by mail-pg1-x529.google.com with SMTP id\n 41be03b00d2f7-b6ce6d1d3dcso98005a12.3\n for <qemu-devel@nongnu.org>; Wed, 29 Apr 2026 17:06:31 -0700 (PDT)",
            "from stoup.. ([180.233.125.15]) by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-834ed7ef7a8sm2928667b3a.47.2026.04.29.17.06.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 17:06:29 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777507590; x=1778112390; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=0UzcxTTvEsTE79pjxq8kUABoPISr81drtrWFClL7oT0=;\n b=mWtFQ+INa7GD62s2jjCkKCnTiEzekgCND1TIM6PoccVoxyyBXvC3fnJdW3lsfH98ng\n vnwDKe0CzEoqcKaXdzaSWDV+puOVB16OKCSS2vPimR0iZxmsDwQxbuztc0S4pepFyL0c\n E1siWwaWwylc0279wsnyIEpPa4BVGpeX4B1Mjziw0wjoInLRZ/YqUwaYxtEY1hglBkLR\n 6fXlQ3nkTtFTJnVEdKslDWeOT558gdjWFtGS36UmkWJB0Hb41wRB+BHOq5v8efbBhdOp\n vcEoo1iWsr1oIcApnZn192dkP622LhFIzMcYIHEZ4e3aN9MiMe2iJoleal6rTLiMt2S+\n zeoA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777507590; x=1778112390;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=0UzcxTTvEsTE79pjxq8kUABoPISr81drtrWFClL7oT0=;\n b=E6YwN5wJBh8VZGkJa/kcvOK9tHo+0QJWGTnTXl4Rt+AgKpnBtvmsPpP8RZEQ977KMY\n BB2+cgV30kVSsBOT1bcCoqcKku6HSCeTzl0Tsf+LpkYKjnRQJ1whwbZeC0Zx+aYE6aoE\n QwNMyZhsopf07yaBb/xEg19VtUmB7GV8dYTjLyW5aHmm34Ryh9QtZ3m6xtrtNZjxYCVX\n 2tdlMwpO11h5mFoJNynaa/v2g/YIG6Cwsn84TjLYN8aitQs2uOZmHkz1cmrpGoabdfGH\n xM4W19XQ8oxi4s3yAGGBf9mOAI51yVxp1IYbe2vQxKsJrrtK7Xi1hO34YkmWNlXZHWr+\n 1cig==",
        "X-Gm-Message-State": "AOJu0Yw+ayxSv/0JIAHpxV28yA4Ey/OXOfdc5wQYGq3VcdFHiwYgXsdo\n 5pOpnWNXBOskHEpUuNEKHWgIL9g1vgj+a40rzhJsAcjPGkmsQeMRiqJ9iMaum3GtLwV8tlDhCG7\n C3rewetw=",
        "X-Gm-Gg": "AeBDiesLWwg6hE4IEL+YlsHV2pJSs5FEcVBVpb5mKFDwowaZ+C8kDuv19ZjDn7wErZI\n yqYDv8bQb9Ne0MklDyY3QnWAypql+9HKxGTGCqAyHzuIt3e9j/wBRCucOcDdKfevLkfyn8ZCnxx\n ELmL8fr9Tun9vSzUBU0nsDyqh45sdN+VQMxoFStRKcEjTo/WDftCAjL8OS0ECTNkZ51/q3NH8wa\n KeqtqsM3qLElbGwnNOcuyk65sEhlNPkTLPDSsuB0bFPvK76G1cMFiCuN5SLyKGmfGhUwlwacmxU\n 6LXZnEHmi4OaCToAAE000Pmn/EeA5Em919p0AUpHFtHcW6S6NqHoKrv40lDNfoCxb2xtyN355yi\n gJYyKNGgrAx1qG8jCtUIAiispTdo6OxCPwgpVqayRlF25G8Uobgyp0iZdCQnX2HyCuHrIAxm78w\n 1qvXUKUOLu80JfewI6ot46s8WULQi6VE0fKVo7dpR4",
        "X-Received": "by 2002:a05:6a00:23ca:b0:827:433c:ba7e with SMTP id\n d2e1a72fcca58-834fdd4198emr685585b3a.41.1777507590035;\n Wed, 29 Apr 2026 17:06:30 -0700 (PDT)",
        "From": "Richard Henderson <richard.henderson@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "philmd@linaro.org",
        "Subject": "[PATCH v2 27/40] fpu: Drop QEMU_FLATTEN from muladd routines",
        "Date": "Thu, 30 Apr 2026 10:05:10 +1000",
        "Message-ID": "<20260430000524.56046-28-richard.henderson@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260430000524.56046-1-richard.henderson@linaro.org>",
        "References": "<20260430000524.56046-1-richard.henderson@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2607:f8b0:4864:20::529;\n envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x529.google.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "The float16, bfloat16 and float128 paths are not so\nimportant that they require forced optimization.\n\nSigned-off-by: Richard Henderson <richard.henderson@linaro.org>\n---\n fpu/softfloat.c | 13 ++++++-------\n 1 file changed, 6 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/fpu/softfloat.c b/fpu/softfloat.c\nindex c5a27e562f..c2450bc078 100644\n--- a/fpu/softfloat.c\n+++ b/fpu/softfloat.c\n@@ -1900,9 +1900,8 @@ floatx80_mul(floatx80 a, floatx80 b, float_status *status)\n  * Fused multiply-add\n  */\n \n-float16 QEMU_FLATTEN\n-float16_muladd_scalbn(float16 a, float16 b, float16 c,\n-                      int scale, int flags, float_status *status)\n+float16 float16_muladd_scalbn(float16 a, float16 b, float16 c,\n+                              int scale, int flags, float_status *status)\n {\n     FloatParts64 pa = float16_unpack_canonical(a, status);\n     FloatParts64 pb = float16_unpack_canonical(b, status);\n@@ -2126,8 +2125,8 @@ float64 float64r32_muladd(float64 a, float64 b, float64 c,\n     return float64r32_pack_raw(&pr);\n }\n \n-bfloat16 QEMU_FLATTEN bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,\n-                                      int flags, float_status *status)\n+bfloat16 bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,\n+                         int flags, float_status *status)\n {\n     FloatParts64 pa = bfloat16_unpack_canonical(a, status);\n     FloatParts64 pb = bfloat16_unpack_canonical(b, status);\n@@ -2142,8 +2141,8 @@ bfloat16 QEMU_FLATTEN bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,\n     return pack_raw64(&pr, &bfloat16_params);\n }\n \n-float128 QEMU_FLATTEN float128_muladd(float128 a, float128 b, float128 c,\n-                                      int flags, float_status *status)\n+float128 float128_muladd(float128 a, float128 b, float128 c,\n+                         int flags, float_status *status)\n {\n     FloatParts128 pa = float128_unpack_canonical(a, status);\n     FloatParts128 pb = float128_unpack_canonical(b, status);\n",
    "prefixes": [
        "v2",
        "27/40"
    ]
}