get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195374,
    "url": "http://patchwork.ozlabs.org/api/patches/2195374/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260210214044.1174699-6-iii@linux.ibm.com/",
    "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": "<20260210214044.1174699-6-iii@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-02-10T21:39:04",
    "name": "[v5,5/5] tests/tcg/s390x: Test DIVIDE TO INTEGER",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "aadabfd01d4a5ef04b49ecc709cba27baf223635",
    "submitter": {
        "id": 74525,
        "url": "http://patchwork.ozlabs.org/api/people/74525/?format=api",
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260210214044.1174699-6-iii@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 491741,
            "url": "http://patchwork.ozlabs.org/api/series/491741/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491741",
            "date": "2026-02-10T21:39:00",
            "name": "target/s390x: Implement DIVIDE TO INTEGER",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/491741/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195374/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195374/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=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=jk/Kn5KW;\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=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.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 4f9Zm54jqwz1xvg\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 08:42:29 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1vpvTj-00061P-DA; Tue, 10 Feb 2026 16:41:03 -0500",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <iii@linux.ibm.com>)\n id 1vpvTe-0005zY-9J; Tue, 10 Feb 2026 16:40:59 -0500",
            "from mx0a-001b2d01.pphosted.com ([148.163.156.1])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <iii@linux.ibm.com>)\n id 1vpvTb-0000Q5-Qn; Tue, 10 Feb 2026 16:40:58 -0500",
            "from pps.filterd (m0353729.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 61AJxPWW400635; Tue, 10 Feb 2026 21:40:51 GMT",
            "from ppma22.wdc07v.mail.ibm.com\n (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4c696w6et2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 10 Feb 2026 21:40:51 +0000 (GMT)",
            "from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1])\n by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 61AHhrv0008383;\n Tue, 10 Feb 2026 21:40:50 GMT",
            "from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224])\n by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4c6g3ybbp2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 10 Feb 2026 21:40:50 +0000",
            "from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com\n [10.20.54.106])\n by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 61ALem3v45613426\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 10 Feb 2026 21:40:48 GMT",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 496BA20043;\n Tue, 10 Feb 2026 21:40:48 +0000 (GMT)",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id D4E7120040;\n Tue, 10 Feb 2026 21:40:47 +0000 (GMT)",
            "from heavy.ibm.com (unknown [9.111.60.229])\n by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Tue, 10 Feb 2026 21:40:47 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=pp1; bh=uDFpOr\n TKD4tfvio491w45htkLbYV8H4eGvyMdZDlOOU=; b=jk/Kn5KWY5ZpkmfPFZcDRF\n nHllXfTk6w4C1+eIq1KiZb6dBof0k2OqveJTiIwfb9NFxINeFWCo6kZ2/GSpiFt/\n WGGSrSUqEk35frnt5WisbL/w5y3CZdMLf8pZ62FKnwMHyXnpo4XKuCG076pNBP2w\n hh398RgnAxuX+YkAa4qRiqAeMJBnEJEtM3qXKYVsp0apmbmJQZhKF686XstuPuBy\n zceDFpefo8SGo5Xtsfr0zmZH5s/ku1zn/w22V1MUDUQz7Dpq3bCYYO+J18piO2Pg\n rLJXH9pwENWG1VhIFGN1MuTgUqmnBoLRWEGnWfrLVH5QS8Vsf1MA4ogZk2xIXDPQ\n ==",
        "From": "Ilya Leoshkevich <iii@linux.ibm.com>",
        "To": "Thomas Huth <thuth@redhat.com>,\n Richard Henderson <richard.henderson@linaro.org>",
        "Cc": "David Hildenbrand <david@kernel.org>, qemu-s390x@nongnu.org,\n qemu-devel@nongnu.org, Ilya Leoshkevich <iii@linux.ibm.com>, =?utf-8?q?Alex?=\n\t=?utf-8?q?_Benn=C3=A9e?= <alex.bennee@linaro.org>",
        "Subject": "[PATCH v5 5/5] tests/tcg/s390x: Test DIVIDE TO INTEGER",
        "Date": "Tue, 10 Feb 2026 22:39:04 +0100",
        "Message-ID": "<20260210214044.1174699-6-iii@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260210214044.1174699-1-iii@linux.ibm.com>",
        "References": "<20260210214044.1174699-1-iii@linux.ibm.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Authority-Analysis": "v=2.4 cv=YeCwJgRf c=1 sm=1 tr=0 ts=698ba5e3 cx=c_pps\n a=5BHTudwdYE3Te8bg5FgnPg==:117 a=5BHTudwdYE3Te8bg5FgnPg==:17\n a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22\n a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=KKAkSRfTAAAA:8\n a=VnNF1IyMAAAA:8 a=xC6-lGDZH8Trbaw0IpYA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10\n a=cvBusfyB2V15izCimMoJ:22",
        "X-Proofpoint-GUID": "CjAGzu5O_6lygMXBBHqs79YgQCliFpJp",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMjEwMDE3NiBTYWx0ZWRfX06c3Itq7Q2db\n V0eiQFyD1kPxLhCpd52yxDuT7IUwA3LWxdj5mazpkWMoFTyEO9IEZv8wptoVeeEdQbEvrArZtjj\n BWd/xOmkSbksWPuWoFnqXErTaknqCuONx10JHQeSV/tWrvmHVNORGA1IgP0aXuYE5P9ilxeFCFg\n cJ2xZL3uIethdw8ZwDJ216LxB3eLp0cMR5H++OGYVEa/jxNbblFLnjz/3ZlFtsTZvLkTiLcCPkT\n KYzWEe6Bt0UGfohV8Ovcfy39Gl5KAObD7A4mIb8NX7NB+AHyv4QKibeUrQpKD660TupmcNzJrg8\n 2aHKLdwjuNuHoFsVCJ34/uYeUN48L9jW2uBUzRJte2svvYV5XkMuzj7K2tqZ1YeCpTqWnyjzOZS\n 69FgNyP5vN8sK4/UsKAoaHrwTbOn7VQB1BigdbYVRW0fV+6LLTWBqmAQXgKlf4/qKoBTN0w66LN\n 7NmfhN7R0rC3L7fBdjQ==",
        "X-Proofpoint-ORIG-GUID": "CjAGzu5O_6lygMXBBHqs79YgQCliFpJp",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-02-10_03,2026-02-10_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0\n priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0\n spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound\n adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000\n definitions=main-2602100176",
        "Received-SPF": "pass client-ip=148.163.156.1; envelope-from=iii@linux.ibm.com;\n helo=mx0a-001b2d01.pphosted.com",
        "X-Spam_score_int": "-19",
        "X-Spam_score": "-2.0",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001,\n RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_NONE=0.001, 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": "Add a test to prevent regressions. Data is generated using a\nlibFuzzer-based fuzzer and hopefully covers all the important corner\ncases.\n\nAcked-by: Alex Bennée <alex.bennee@linaro.org>\nSigned-off-by: Ilya Leoshkevich <iii@linux.ibm.com>\n---\n tests/tcg/s390x/Makefile.target     |   5 +\n tests/tcg/s390x/divide-to-integer.c | 265 ++++++++++++++++++++++++++++\n 2 files changed, 270 insertions(+)\n create mode 100644 tests/tcg/s390x/divide-to-integer.c",
    "diff": "diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x/Makefile.target\nindex da5fe71a407..0ca030ded01 100644\n--- a/tests/tcg/s390x/Makefile.target\n+++ b/tests/tcg/s390x/Makefile.target\n@@ -49,14 +49,19 @@ TESTS+=cvd\n TESTS+=cvb\n TESTS+=ts\n TESTS+=ex-smc\n+TESTS+=divide-to-integer\n \n cdsg: CFLAGS+=-pthread\n cdsg: LDFLAGS+=-pthread\n \n+# The following tests contain inline assembly that requires inlining,\n+# and thus cannot be built with -O0.\n rxsbg: CFLAGS+=-O2\n+divide-to-integer: CFLAGS+=-O2\n \n cgebra: LDFLAGS+=-lm\n clgebr: LDFLAGS+=-lm\n+divide-to-integer: LDFLAGS+=-lm\n \n include $(S390X_SRC)/pgm-specification.mak\n $(PGM_SPECIFICATION_TESTS): pgm-specification-user.o\ndiff --git a/tests/tcg/s390x/divide-to-integer.c b/tests/tcg/s390x/divide-to-integer.c\nnew file mode 100644\nindex 00000000000..62b4787ec0e\n--- /dev/null\n+++ b/tests/tcg/s390x/divide-to-integer.c\n@@ -0,0 +1,265 @@\n+/*\n+ * Test DIEBR and DIDBR instructions.\n+ *\n+ * Most inputs were discovered by fuzzing and exercise various corner cases in\n+ * the helpers.\n+ *\n+ * SPDX-License-Identifier: GPL-2.0-or-later\n+ */\n+#include <signal.h>\n+#include <stdio.h>\n+#include <stdlib.h>\n+#include <asm/ucontext.h>\n+\n+static void sigfpe_handler(int sig, siginfo_t *info, void *puc)\n+{\n+    struct ucontext *uc = puc;\n+    unsigned short *xr_insn;\n+    int r;\n+\n+    xr_insn = (unsigned short *)(uc->uc_mcontext.regs.psw.addr - 6);\n+    r = *xr_insn & 0xf;\n+    uc->uc_mcontext.regs.gprs[r] = sig;\n+}\n+\n+#define DIVIDE_TO_INTEGER(name, floatN)                                        \\\n+static inline __attribute__((__always_inline__)) int                           \\\n+name(floatN *r1, floatN r2, floatN *r3, int m4, int *sig)                      \\\n+{                                                                              \\\n+    int cc;                                                                    \\\n+                                                                               \\\n+    asm(/* Make the initial CC predictable for suppression tests */            \\\n+        \"xr %[sig],%[sig]\\n\"                                                   \\\n+        #name \" %[r1],%[r3],%[r2],%[m4]\\n\"                                     \\\n+        \"ipm %[cc]\\n\"                                                          \\\n+        \"srl %[cc],28\"                                                         \\\n+        /*                                                                     \\\n+         * Use earlyclobbers to prevent the compiler from reusing floating     \\\n+         * point registers. This instruction doesn't like it.                  \\\n+         */                                                                    \\\n+        : [r1] \"+&f\" (*r1), [r3] \"+&f\" (*r3), [sig] \"=r\" (*sig), [cc] \"=d\" (cc)\\\n+        : [r2] \"f\" (r2), [m4] \"i\" (m4)                                         \\\n+        : \"cc\");                                                               \\\n+                                                                               \\\n+    return cc;                                                                 \\\n+}\n+\n+DIVIDE_TO_INTEGER(diebr, float)\n+DIVIDE_TO_INTEGER(didbr, double)\n+\n+#define TEST_DIVIDE_TO_INTEGER(name, intN, int_fmt, floatN, float_fmt)         \\\n+static inline __attribute__((__always_inline__)) int                           \\\n+test_ ## name(unsigned intN r1i, unsigned intN r2i, int m4, int fpc,           \\\n+              unsigned intN r1o, unsigned intN r3o, int cco, unsigned int fpco,\\\n+              int sigo)                                                        \\\n+{                                                                              \\\n+    union {                                                                    \\\n+        floatN f;                                                              \\\n+        unsigned intN i;                                                       \\\n+    } r1, r2, r3;                                                              \\\n+    int cc, err = 0, sig;                                                      \\\n+                                                                               \\\n+    r1.i = r1i;                                                                \\\n+    r2.i = r2i;                                                                \\\n+    r3.i = 0x12345678;                                                         \\\n+    printf(\"[ RUN      ] %\" float_fmt \"(0x%\" int_fmt                           \\\n+           \") / %\" float_fmt \"(0x%\" int_fmt \")\\n\", r1.f, r1.i, r2.f, r2.i);    \\\n+    asm volatile(\"sfpc %[fpc]\" : : [fpc] \"r\" (fpc));                           \\\n+    cc = name(&r1.f, r2.f, &r3.f, m4, &sig);                                   \\\n+    asm volatile(\"stfpc %[fpc]\" : [fpc] \"=Q\" (fpc));                           \\\n+    if (r1.i != r1o) {                                                         \\\n+        printf(\"[  FAILED  ] remainder 0x%\" int_fmt                            \\\n+               \" != expected 0x%\" int_fmt \"\\n\", r1.i, r1o);                    \\\n+        err += 1;                                                              \\\n+    }                                                                          \\\n+    if (r3.i != r3o) {                                                         \\\n+        printf(\"[  FAILED  ] quotient 0x%\" int_fmt                             \\\n+               \" != expected 0x%\" int_fmt \"\\n\", r3.i, r3o);                    \\\n+        err += 1;                                                              \\\n+    }                                                                          \\\n+    if (cc != cco) {                                                           \\\n+        printf(\"[  FAILED  ] cc %d != expected %d\\n\", cc, cco);                \\\n+        err += 1;                                                              \\\n+    }                                                                          \\\n+    if (fpc != fpco) {                                                         \\\n+        printf(\"[  FAILED  ] fpc 0x%x != expected 0x%x\\n\", fpc, fpco);         \\\n+        err += 1;                                                              \\\n+    }                                                                          \\\n+    if (sig != sigo) {                                                         \\\n+        printf(\"[  FAILED  ] signal 0x%x != expected 0x%x\\n\", sig, sigo);      \\\n+        err += 1;                                                              \\\n+    }                                                                          \\\n+                                                                               \\\n+    return err;                                                                \\\n+}\n+\n+TEST_DIVIDE_TO_INTEGER(diebr, int, \"x\", float, \"f\")\n+TEST_DIVIDE_TO_INTEGER(didbr, long, \"lx\", double, \"lf\")\n+\n+int main(void)\n+{\n+    struct sigaction act = {\n+        .sa_sigaction = sigfpe_handler,\n+        .sa_flags = SA_SIGINFO,\n+    };\n+    int err = 0;\n+\n+    /* Set up SIG handler */\n+    if (sigaction(SIGFPE, &act, NULL)) {\n+        printf(\"[  FAILED  ] sigaction(SIGFPE) failed\\n\");\n+        return EXIT_FAILURE;\n+    }\n+\n+    /* 451 / 460 */\n+    err += test_diebr(0x43e1f1f1, 0x43e61616, 7, 0,\n+                      0x43e1f1f1, 0, 0, 0, 0);\n+\n+    /* 480 / 0 */\n+    err += test_diebr(0x43f00000, 0, 0, 0,\n+                      0x7fc00000, 0x7fc00000, 1, 0x800000, 0);\n+\n+    /* QNaN / QNaN */\n+    err += test_diebr(0xffffffff, 0xffffffff, 0, 0,\n+                      0xffffffff, 0xffffffff, 1, 0, 0);\n+\n+    /* -2.08E-8 / -2.08E-8 */\n+    err += test_diebr(0xb2b2b2b2, 0xb2b2b2b2, 0, 0,\n+                      0x80000000, 0x3f800000, 0, 0, 0);\n+\n+    /*\n+     * Test partial remainder without quotient scaling (cc2).\n+     *\n+     * a = 12401981 / 268435456\n+     * b = -5723991 / 72057594037927936\n+     * q = a / b = -3329131425038336 / 5723991 =~ -581610178.1\n+     * n = round(q, float32, nearest_even) = -581610176\n+     * r_precise = a - b * n = 189155 / 1125899906842624\n+     * r = round(r_precise, float32, nearest_even) = r_precise\n+     */\n+    err += test_diebr(0x3d3d3d3d, 0xaeaeaeae, 0, 0,\n+                      0x2f38b8c0, 0xce0aaaab, 2, 0, 0);\n+\n+    /* 1.07E-31 / 2.19 */\n+    err += test_diebr(0x0c0c0c0c, 0x400c0c0c, 6, 0,\n+                      0xc00c0c0c, 0x3f800000, 0, 0x80000, 0);\n+\n+    /*\n+     * Test partial remainder with quotient scaling (cc3).\n+     *\n+     * a = 298343530578310714772108083200\n+     * b = -592137/10384593717069655257060992658440192\n+     * q = a / b\n+     *   = -1032725451057301340137043014721780674141077289604872315653324800 /\n+     *     197379\n+     *   =~ -5232195173029052432817285601415452880707052369324357280426.6\n+     * n = round(q, float32, nearest_even)\n+     *   = -5232194943010009439437691768433469154159343131709361094656\n+     * n / 2^192 = -6992213 / 8388608\n+     * r_precise = a - b * n = 13115851209189604982784\n+     * r = round(r_precise, float32, nearest_even) = r_precise\n+     */\n+    err += test_diebr(0x7070ffff, 0x90909090, 0, 0,\n+                      0x6431c0c0, 0xbf5562aa, 3, 0, 0);\n+\n+    /*\n+     * Test large, but representable quotient.\n+     *\n+     * a = -12040119 / 549755813888\n+     * b = 1 / 38685626227668133590597632\n+     * q = a / b = -847248053779631702016\n+     * n = round(q, float32, to_odd) = q\n+     * r_precise = a - b * n = -0\n+     * r = round(r_precise, float32, nearest_even) = -0\n+     */\n+    err += test_diebr(0xb7b7b7b7, 0x15000000, 7, 0,\n+                      0x80000000, 0xe237b7b7, 0, 0, 0);\n+\n+    /* 0 / 0 */\n+    err += test_diebr(0, 0, 1, 0,\n+                      0x7fc00000, 0x7fc00000, 1, 0x800000, 0);\n+\n+    /* 4.3E-33 / -2.08E-8 with SIGFPE */\n+    err += test_diebr(0x09b2b2b2, 0xb2b2b2b2, 0, 0xfc000007,\n+                      0xb2b2b2b1, 0xbf800000, 0, 0xfc000807, SIGFPE);\n+\n+    /*\n+     * Test tiny remainder scaling when FPC Underflow Mask is set.\n+     *\n+     * 1.19E-39 / -1.28E-9 = { r = 1.19E-39 * 2^192, n = -0 }\n+     */\n+    err += test_diebr(0x000d0100, 0xb0b0b0b0, 6, 0xfc000000,\n+                      0x5ed01000, 0x80000000, 0, 0xfc001000, SIGFPE);\n+\n+    /*\n+     * Test \"inexact and incremented\" DXC.\n+     *\n+     * a = 53555504\n+     * b = -520849213389117849600\n+     * q = a / b = -3347219 / 32553075836819865600\n+     * n = round(q, float32, to_odd) = -1\n+     * r_precise = a - b * n = -520849213389064294096\n+     * r = round(r_precise, float32, to_odd) = -520849213389117849600\n+     * abs(r) - abs(r_precise) = 53555504\n+     */\n+    err += test_diebr(0x4c4c4c4c, 0xe1e1e1e1, 0, 0xfc000007,\n+                      0xe1e1e1e1, 0xbf800000, 0, 0xfc000c07, SIGFPE);\n+\n+    /* 0 / 0 with SIGFPE */\n+    err += test_diebr(0, 0, 0, 0xfc000007,\n+                      0, 0x12345678, 0, 0xfc008007, SIGFPE);\n+\n+    /* 5.76E-16 / 5.39E+34 */\n+    err += test_diebr(0x26262626, 0x79262626, 6, 0,\n+                      0xf9262626, 0x3f800000, 0, 0x80000, 0);\n+\n+    /* -4.97E+17 / 2.03E-38 */\n+    err += test_diebr(0xdcdcdcdc, 0x00dcdcdc, 7, 0xfc000000,\n+                      0x80000000, 0xbb800000, 1, 0xfc000000, 0);\n+\n+    /* -1.23E+17 / SNaN */\n+    err += test_diebr(0xdbdb240b, 0xffac73ff, 4, 0,\n+                      0xffec73ff, 0xffec73ff, 1, 0x800000, 0);\n+\n+    /* 2.34E-38 / 3.27E-33 with SIGFPE */\n+    err += test_diebr(0x00ff0987, 0x0987c6f6, 6, 0x08000000,\n+                      0x8987c6b6, 0x3f800000, 0, 0x8000800, SIGFPE);\n+\n+    /* -5.93E+11 / -2.7E+4 */\n+    err += test_diebr(0xd30a0040, 0xc6d30a00, 0, 0xc4000000,\n+                      0xc74a4400, 0x4ba766c6, 2, 0xc4000000, 0);\n+\n+    /* 9.86E-32 / -inf */\n+    err += test_diebr(0x0c000029, 0xff800000, 0, 0,\n+                      0xc000029, 0x80000000, 0, 0, 0);\n+\n+    /* QNaN / SNaN */\n+    err += test_diebr(0xffff94ff, 0xff94ff24, 4, 7,\n+                      0xffd4ff24, 0xffd4ff24, 1, 0x800007, 0);\n+\n+    /* 2.8E-43 / -inf */\n+    err += test_diebr(0x000000c8, 0xff800000, 0, 0x7c000007,\n+                      0x000000c8, 0x80000000, 0, 0x7c000007, 0);\n+\n+    /* -1.7E+38 / -inf */\n+    err += test_diebr(0xff00003d, 0xff800000, 0, 0,\n+                      0xff00003d, 0, 0, 0, 0);\n+\n+    /* 1.94E-304 / 1.94E-304 */\n+    err += test_didbr(0x00e100e100e100e1, 0x00e100e100e100e1, 0, 1,\n+                      0, 0x3ff0000000000000, 0, 1, 0);\n+\n+    /* 4.82E-299 / 5.29E-308 */\n+    err += test_didbr(0x0200230200230200, 0x0023020023020023, 0, 0,\n+                      0x8001a017d247b3f4, 0x41cb2aa05f000000, 0, 0, 0);\n+\n+    /* -1.38E-75 / -3.77E+208 */\n+    err += test_didbr(0xb063eb3d63b063eb, 0xeb3d63b063eb3d63, 3, 0xe8000000,\n+                      0x6b3d63b063eb3d63, 0x3ff0000000000000, 0, 0xe8000c00,\n+                      SIGFPE);\n+\n+    /* 4.78E-299 / 6.88E-315 */\n+    err += test_didbr(0x0200000000000000, 0x0000000053020000, 0, 0,\n+                      0x8000000020820000, 0x4338ac20dd47c6c1, 0, 0, 0);\n+\n+    return err ? EXIT_FAILURE : EXIT_SUCCESS;\n+}\n",
    "prefixes": [
        "v5",
        "5/5"
    ]
}