get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1475715,
    "url": "http://patchwork.ozlabs.org/api/patches/1475715/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20210508014802.892561-8-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": "<20210508014802.892561-8-richard.henderson@linaro.org>",
    "list_archive_url": null,
    "date": "2021-05-08T01:46:57",
    "name": "[07/72] softfloat: Inline float_raise",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "bdb2bea350125f131118ed6fd2c8585f9325f8ba",
    "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/20210508014802.892561-8-richard.henderson@linaro.org/mbox/",
    "series": [
        {
            "id": 242770,
            "url": "http://patchwork.ozlabs.org/api/series/242770/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=242770",
            "date": "2021-05-08T01:46:53",
            "name": "Convert floatx80 and float128 to FloatParts",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/242770/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1475715/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1475715/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@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=aFrWMwUe;\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4FcVq21NNmz9sWp\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  8 May 2021 11:58:54 +1000 (AEST)",
            "from localhost ([::1]:40754 helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1lfCF2-0004e5-47\n\tfor incoming@patchwork.ozlabs.org; Fri, 07 May 2021 21:58:52 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10]:40520)\n by lists.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 1lfC4i-00043j-Sq\n for qemu-devel@nongnu.org; Fri, 07 May 2021 21:48:12 -0400",
            "from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:44971)\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 1lfC4f-0003XH-MX\n for qemu-devel@nongnu.org; Fri, 07 May 2021 21:48:12 -0400",
            "by mail-pf1-x430.google.com with SMTP id a5so2094743pfa.11\n for <qemu-devel@nongnu.org>; Fri, 07 May 2021 18:48:09 -0700 (PDT)",
            "from localhost.localdomain ([71.212.144.24])\n by smtp.gmail.com with ESMTPSA id t4sm5819681pfq.165.2021.05.07.18.48.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 07 May 2021 18:48:08 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=+lENBfCn+Nf5//dPYW1SMMYldoBTpdzj3Cr2k1/SLCM=;\n b=aFrWMwUemCIVduTyNC1fWrIzqKCKmWR6pIedTWdViMiZY4K5UoftD3dN8NBqpQV7g0\n 6Ktg9IGulL/YCAYoT1/HWYt2qqzcZQX9Xcd1nkFSqY7X8OMXyonbPMBdb+tusJU1hrs/\n CdyfHLKhizSbg22XFI/4vpCiMr3QvCHGle3kwvArT6iB9avDcJ1CG/B//W8nDdeJdVlB\n RXY/ohCWmWBFPDZnRTo+Qe5cIJ1VswC9dZ9NulqnURTlhr7LPSc0pSqWteA//sCYRzx7\n otFP+xX1aPyJpkud/l0WdzP8dF+wE1MltJtelw/VJ08SX3Zbkata5qTbKA7+8PH7iQA3\n Em/g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=+lENBfCn+Nf5//dPYW1SMMYldoBTpdzj3Cr2k1/SLCM=;\n b=ivC4Bognp1avBims85YuNlWZ/dJTXhyNdb9p8vykPC8imq23/3bHBqKReLAnKsfky9\n r5pB0hZ3/e0ECsqk2ngiNhHkwYQvMNPmvk3BJ0Ar6YKFVoTaEINYR0rV8hya0KGz7STI\n m1ESMjr8mHCy/7s5K3h6vn1hC2BwfEPQaD7H/wc1XZFXcN32IB7vzq2N5doGENNtoFR+\n cX6avOiEDa0d6+R1B0qVkR6n0ENEhh20sxOsGD5o0+gahs8/Now8ogdXssebBLcJkDX0\n 9qUTucxdoCANMNHDrtimD/cQIodGFZoGjurZUPHkl1RpAgxn21B3qT/+/xuyBmrhtOP5\n z6Mg==",
        "X-Gm-Message-State": "AOAM530+er+m8j4QvKK0h+NOvofVgXHFjj7zEVMuLB4BT/bpa/de1ICq\n T8Jxuyg19l+sPUUUhowT1Q6pqHLGA9QZrw==",
        "X-Google-Smtp-Source": "\n ABdhPJyp4DkGxQYGKDDWWD2kAnM0hi6TWMdaxBwCFulj2d+xYdZDmzfrJyVwCIL9+vRi0CKUAqX6Fg==",
        "X-Received": "by 2002:aa7:8a84:0:b029:231:ff56:2c7e with SMTP id\n a4-20020aa78a840000b0290231ff562c7emr13641999pfc.50.1620438488480;\n Fri, 07 May 2021 18:48:08 -0700 (PDT)",
        "From": "Richard Henderson <richard.henderson@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Subject": "[PATCH 07/72] softfloat: Inline float_raise",
        "Date": "Fri,  7 May 2021 18:46:57 -0700",
        "Message-Id": "<20210508014802.892561-8-richard.henderson@linaro.org>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210508014802.892561-1-richard.henderson@linaro.org>",
        "References": "<20210508014802.892561-1-richard.henderson@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2607:f8b0:4864:20::430;\n envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.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.23",
        "Precedence": "list",
        "List-Id": "<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>",
        "Cc": "alex.bennee@linaro.org, david@redhat.com",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "Signed-off-by: Richard Henderson <richard.henderson@linaro.org>\n---\n include/fpu/softfloat.h        |  5 ++++-\n fpu/softfloat-specialize.c.inc | 12 ------------\n 2 files changed, 4 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h\nindex 78ad5ca738..019c2ec66d 100644\n--- a/include/fpu/softfloat.h\n+++ b/include/fpu/softfloat.h\n@@ -100,7 +100,10 @@ typedef enum {\n | Routine to raise any or all of the software IEC/IEEE floating-point\n | exception flags.\n *----------------------------------------------------------------------------*/\n-void float_raise(uint8_t flags, float_status *status);\n+static inline void float_raise(uint8_t flags, float_status *status)\n+{\n+    status->float_exception_flags |= flags;\n+}\n \n /*----------------------------------------------------------------------------\n | If `a' is denormal and we are in flush-to-zero mode then set the\ndiff --git a/fpu/softfloat-specialize.c.inc b/fpu/softfloat-specialize.c.inc\nindex 9ea318f3e2..487b29155c 100644\n--- a/fpu/softfloat-specialize.c.inc\n+++ b/fpu/softfloat-specialize.c.inc\n@@ -228,18 +228,6 @@ floatx80 floatx80_default_nan(float_status *status)\n const floatx80 floatx80_infinity\n     = make_floatx80_init(floatx80_infinity_high, floatx80_infinity_low);\n \n-/*----------------------------------------------------------------------------\n-| Raises the exceptions specified by `flags'.  Floating-point traps can be\n-| defined here if desired.  It is currently not possible for such a trap\n-| to substitute a result value.  If traps are not implemented, this routine\n-| should be simply `float_exception_flags |= flags;'.\n-*----------------------------------------------------------------------------*/\n-\n-void float_raise(uint8_t flags, float_status *status)\n-{\n-    status->float_exception_flags |= flags;\n-}\n-\n /*----------------------------------------------------------------------------\n | Internal canonical NaN format.\n *----------------------------------------------------------------------------*/\n",
    "prefixes": [
        "07/72"
    ]
}