Show a cover letter.

GET /api/covers/2195373/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2195373,
    "url": "http://patchwork.ozlabs.org/api/covers/2195373/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20260210214044.1174699-1-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-1-iii@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-02-10T21:38:59",
    "name": "[v5,0/5] target/s390x: Implement DIVIDE TO INTEGER",
    "submitter": {
        "id": 74525,
        "url": "http://patchwork.ozlabs.org/api/people/74525/?format=api",
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20260210214044.1174699-1-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/covers/2195373/comments/",
    "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=LQ0mHOyx;\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 4f9Zm54qq4z1xx7\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-000614-8x; 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 1vpvTa-0005xx-GZ; Tue, 10 Feb 2026 16:40:55 -0500",
            "from mx0b-001b2d01.pphosted.com ([148.163.158.5])\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 1vpvTY-0000Na-Pw; Tue, 10 Feb 2026 16:40:54 -0500",
            "from pps.filterd (m0356516.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 61AA74BU247099; Tue, 10 Feb 2026 21:40:48 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 4c696uv76f-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 10 Feb 2026 21:40:48 +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 61AHYIQX008883;\n Tue, 10 Feb 2026 21:40:47 GMT",
            "from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225])\n by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4c6g3ybbnx-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 10 Feb 2026 21:40:47 +0000",
            "from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com\n [10.20.54.106])\n by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 61ALejGO30998916\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 10 Feb 2026 21:40:45 GMT",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id CE1342004B;\n Tue, 10 Feb 2026 21:40:45 +0000 (GMT)",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 6DEF220040;\n Tue, 10 Feb 2026 21:40:45 +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:45 +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:message-id\n :mime-version:subject:to; s=pp1; bh=S0A9I4tLQc3/8LGEgvl9eT15NuCK\n OA583ihe38JnFSI=; b=LQ0mHOyx4q1oOKujXjGHNcqXt+EwihsnJfxNaZXNqJnx\n OXyGwcREkXNXIFp3PhKnizK3LK6hvRuKhjz8wU7JeEjH13XptpuMinUw3sz0A4Xq\n OyOCeIeyNGaa2DEzxb1k/yuhHyFz/rtFxbTXSpgIoaW4wBLV9bL0PegCtMHjQAVV\n 1uQQiY4CYjZeWtdDZ7c6beZHEY+9Y/q1BU+6M9q6ZbyyUEzZkINOZrguAhq10dsg\n lSSokToDgb83RjR5pV1VDT6ddwa6FPAWZgcFLeLGyvB5WybkEmhP6EnNNh/LMgkH\n qwAC+BbQKIRkPX6C4M5g52yT2oddo8nP2zLLhFNs5w==",
        "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>",
        "Subject": "[PATCH v5 0/5] target/s390x: Implement DIVIDE TO INTEGER",
        "Date": "Tue, 10 Feb 2026 22:38:59 +0100",
        "Message-ID": "<20260210214044.1174699-1-iii@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMjEwMDE3NiBTYWx0ZWRfXzh3WUEzoEM5E\n bsSKg09RlJav29krAdm/QprI+owUqoVwsxYRnG6Hn1WsdSVcmY1Up67zDT2JL/VtcY5yoUFh66L\n ePURSgnyuz4ETHLx0Ih6s2Lv3km0apREoc46KXBnkWa4ifs6CiWbsCak+R1jdEL+WXJ3I86RWb5\n X/EZqxERmYSao/Y19s+C6PHEMgRacA4Eo0K5TKupx5Ipc6dz6JF70MA7WLlYEp7SsZTUc6Z0nPN\n 7dLf3T21ZaE2f/1gW3C6WB8vLb4xktxABZbWwX6BGLO6AGouUr+Eva0/EXzZvQATEFOaoPY01ST\n MbDdtBoOSqFmLoy6dZ1zMzmnIDvXrnaXjZsR3FNU4yVZkX3AwU57Prq1fC1WPZxKT2PY6vOCGPB\n l9+KbmnQ948x+2OvpUIrgC42vWvm2dwoCvCkf93j6xAqiaZ2L7+YDMTYUNW7Pf+Ekb6L0BZbtk0\n P6TPvC18NunvhaYlOdQ==",
        "X-Proofpoint-ORIG-GUID": "kGVfSDz3u5liXKPjd-c9dJV7sTGNrt4i",
        "X-Proofpoint-GUID": "kGVfSDz3u5liXKPjd-c9dJV7sTGNrt4i",
        "X-Authority-Analysis": "v=2.4 cv=O+Y0fR9W c=1 sm=1 tr=0 ts=698ba5e0 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=VwQbUJbxAAAA:8\n a=VnNF1IyMAAAA:8 a=p0WdMEafAAAA:8 a=D0ifgjCuRPeBIYmd6-IA:9 a=QEXdDO2ut3YA:10",
        "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 lowpriorityscore=0 priorityscore=1501 phishscore=0 adultscore=0\n malwarescore=0 impostorscore=0 bulkscore=0 clxscore=1015 spamscore=0\n suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000\n definitions=main-2602100176",
        "Received-SPF": "pass client-ip=148.163.158.5; envelope-from=iii@linux.ibm.com;\n helo=mx0b-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": "v4: https://lore.kernel.org/qemu-devel/20260204121026.645382-1-iii@linux.ibm.com/\nv4 -> v5: Restore \"& 63\" in 3/5, add a comment, drop R-b (Thomas).\n\nv3: https://lore.kernel.org/qemu-devel/20260129190902.196262-1-iii@linux.ibm.com/\nv3 -> v4: Use parts_round_to_int_normal() (Richard).\n          Drop saved_flags.\n          Collect R-bs (Thomas, Richard).\n\nv2: https://lore.kernel.org/qemu-devel/20260127153736.62730-1-iii@linux.ibm.com/\nv2 -> v3: Use FloatParts64 (Richard).\n          Improve \"smallish\" comment (Richard).\n          Use parts_muladd_scalbn (Richard).\n          Get rid of manual precision rounding (Richard).\n          New patch: parts_round_to_int_normal() improvement.\n          New 64-bit testcase for a fuzzer finding on one of the\n          intermediate versions. I have to admit I did not put down and\n          then forgot what exactly it was about, but it must be\n          interesting, so I decided to keep it.\n\nv1: https://lore.kernel.org/qemu-devel/20260121222116.713325-1-iii@linux.ibm.com/\nv1 -> v2: Move the implementatation to fpu/ and rewrite using\n          FloatParts (Richard). I can't say I particularly like the way\n          it looks, but at least most macros are gone and it survives\n          fuzzing.\n          Explain why we need -O0 for the test (Alex).\n          New patch: s390_get_bfp_rounding_mode().\n          Add a few comments with calculation examples to the test.\n\nHi,\n\nThis series implements DIVIDE TO INTEGER instruction, which is\nrequired to run LuaJIT.\n\nPatch 1 is a debugging helper, patch 2 is a small refactoring, patch 3\nis an improvement for an FPU rounding helper, patch 4 is the\nimplementation.\n\nSince the instruction is quite complex, I've extensively tested it\nusing a libFuzzer-based harness [1] that compares emulation with native\nexecution at ~15k exec/s. The tests (patch 5) use data generated\nthis way.\n\nBest regards,\nIlya\n\n[1] https://gitlab.com/iii-i/qemu/-/tags/iii/wip/fuzz-tcg/v2\n\nIlya Leoshkevich (5):\n  target/s390x: Dump Floating-Point-Control Register\n  target/s390x: Extract s390_get_bfp_rounding_mode()\n  fpu: Restrict parts_round_to_int_normal to target precision\n  target/s390x: Implement DIVIDE TO INTEGER\n  tests/tcg/s390x: Test DIVIDE TO INTEGER\n\n fpu/softfloat-parts.c.inc           |  12 +-\n fpu/softfloat.c                     | 142 +++++++++++++++\n include/fpu/softfloat.h             |  11 ++\n target/s390x/cpu-dump.c             |   1 +\n target/s390x/helper.h               |   1 +\n target/s390x/tcg/fpu_helper.c       | 118 +++++++++----\n target/s390x/tcg/insn-data.h.inc    |   5 +-\n target/s390x/tcg/translate.c        |  26 +++\n tests/tcg/s390x/Makefile.target     |   5 +\n tests/tcg/s390x/divide-to-integer.c | 265 ++++++++++++++++++++++++++++\n 10 files changed, 548 insertions(+), 38 deletions(-)\n create mode 100644 tests/tcg/s390x/divide-to-integer.c"
}