Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2230611/?format=api
{ "id": 2230611, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230611/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260429222445.26301-23-richard.henderson@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/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": "" }, "msgid": "<20260429222445.26301-23-richard.henderson@linaro.org>", "date": "2026-04-29T22:24:19", "name": "[PULL,22/48] fpu: Drop parts_sint_to_float", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "af7d85f20e24793e8f8639cd406cdd927b7c09b1", "submitter": { "id": 72104, "url": "http://patchwork.ozlabs.org/api/1.1/people/72104/?format=api", "name": "Richard Henderson", "email": "richard.henderson@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260429222445.26301-23-richard.henderson@linaro.org/mbox/", "series": [ { "id": 502161, "url": "http://patchwork.ozlabs.org/api/1.1/series/502161/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502161", "date": "2026-04-29T22:23:57", "name": "[PULL,01/48] fpu: Drop parts_canonicalize", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502161/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230611/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230611/checks/", "tags": {}, "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=IxZxDqfF;\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 4g5X3l3p1sz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 08:27:15 +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 1wIDLs-0000jO-IS; Wed, 29 Apr 2026 18:25:52 -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 1wIDLr-0000ce-BN\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 18:25:51 -0400", "from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a])\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 1wIDLp-00057E-8N\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 18:25:50 -0400", "by mail-pj1-x102a.google.com with SMTP id\n 98e67ed59e1d1-35f9ab079bdso151212a91.2\n for <qemu-devel@nongnu.org>; Wed, 29 Apr 2026 15:25:48 -0700 (PDT)", "from stoup.. ([180.233.125.15]) by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-364a2732502sm1888471a91.3.2026.04.29.15.25.45\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 15:25:47 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777501547; x=1778106347; 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=vhFqGDtxehCmCCSHm32/bhsUWFUsTM8ZpSgycIpHvuM=;\n b=IxZxDqfFy/CktAYGOahohN6PzcyeTdNHfTmvaO4VHrMccTWqzz5lrD5edNMfW3tPD/\n fFZXRpTxaQq0MCDjQaIEV52P8cmsTLvrE/bb5c1CwtUKv+o00GHbdaoDNJlOiyloH9E+\n C/ChDYTscSHYXvVgWNcGaRNsS7VkuLSMdrvfy2Rj7dEnTxvCjwzNYiYdxj5BLHxMKi+i\n tmhAxZcFbQU2X5GxU9iSiOtxta8UQLtfNbrEoN1e9+GP9+ifaSjE19I3xlzfCNaHCMIL\n b0pWluHj5++FpUhnMnPBzPAXgxb7spabIZm/jdspGUrDUuQ6WubXATEp2qCdMhwoHY8C\n eI3w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777501547; x=1778106347;\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=vhFqGDtxehCmCCSHm32/bhsUWFUsTM8ZpSgycIpHvuM=;\n b=czYblbPASOcEzsWYh8BS4onHvpZ9l4LDTQQ/y4t6vk/tlKKabUT3nc9E1ieaQzyFN4\n ekoQ0tWTU1KLoMOJ9Wezptr1rJ2LfSMd1mm7zY4XHO4MCdBEq2vgDB3RliynaPlAOBZ/\n mCUB3yLkxHTItljFoKMA+j+9ayo/R+MmEFirXPW4/Jp3zPddF3BuvBw0CM6E2vK+S2az\n VcoafxvQJvHMgWh3e2dPr/J+bzodGSLh7Syc9Sv7xDMbSbhnpoSx8K93PZ0zbIMTnDD7\n svf48t1iHSHiK2uFv3ox7klCiCCxJcwUsPGzxVcJbQ5rjp2JsCz4HHYzks9Nn/dz4S9u\n ToQQ==", "X-Gm-Message-State": "AOJu0YyEEJ34kwTFVZTs//R4nFAtSqG4IlNwSBH/ZHDDkQO2e/yxRfb6\n /DeyUofgJOwtUG4aOKsJzEDWLoo298P+l8LVwJ0TMDQgGodSxrMtyDWCXGxjVCr3W/a1k/NJwkz\n xXOUtE6Y=", "X-Gm-Gg": "AeBDieuBxDY07kFMg0XmsHRRd9IdyAJeXMR9JP5iBRFpKt6DxAGr9cwkwcYvPHz4V4b\n xMaXUy26Rw+VZt89B6wHr+xk2EPWH2vHqFjB1BlD1NlNNgVebu+5E8Kptn8GjrBYDbAob0vuLHl\n eGFI86WlbFJFeABXHYXVYOAE3NXkD7+CwtIEZt37/Fc1jbt63uwAP8VDlA/PDRvIaVZ9p7Uaa4P\n 84bOu31NhkqXEokwcE/nd/v1arXW1+Wnw4V7kX2rqYpBbLdBELL185gHDZ30pnJ5mcJjC2JJ5Hs\n K51GZ1l6X6C/5kOdfz1704gPXMNbkzaIlkuq0ra5NpZR1xxqzMfE5hXCZXbyadhRgtSHQniiAQS\n ai2pIZGNnnKlOi309k14/JGhxp49kHFAQ0y3SAeb0cAe2txwAsSXZcxdgLJ7B9t/mJYSNxIiqD2\n muc+VjkuAlZs3abo7tDXYLVxda7AcWhQll+FR57Q9kWwcMzVoVQuQ=", "X-Received": "by 2002:a17:90b:4a87:b0:35f:b5df:453 with SMTP id\n 98e67ed59e1d1-364c30ed44dmr186177a91.22.1777501547509;\n Wed, 29 Apr 2026 15:25:47 -0700 (PDT)", "From": "Richard Henderson <richard.henderson@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "stefanha@redhat.com,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "Subject": "[PULL 22/48] fpu: Drop parts_sint_to_float", "Date": "Thu, 30 Apr 2026 08:24:19 +1000", "Message-ID": "<20260429222445.26301-23-richard.henderson@linaro.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260429222445.26301-1-richard.henderson@linaro.org>", "References": "<20260429222445.26301-1-richard.henderson@linaro.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2607:f8b0:4864:20::102a;\n envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102a.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": "Use parts{64,128}_sint_to_float at each call site.\n\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nSigned-off-by: Richard Henderson <richard.henderson@linaro.org>\n---\n fpu/softfloat.c | 18 +++++-------------\n fpu/softfloat-parts.c.inc | 2 +-\n 2 files changed, 6 insertions(+), 14 deletions(-)", "diff": "diff --git a/fpu/softfloat.c b/fpu/softfloat.c\nindex 0b2638c34b..bbfdf1a076 100644\n--- a/fpu/softfloat.c\n+++ b/fpu/softfloat.c\n@@ -779,14 +779,6 @@ static float128 QEMU_FLATTEN float128_pack_raw(const FloatParts128 *p)\n FloatParts128 *: parts128_##NAME, \\\n FloatParts256 *: parts256_##NAME)\n \n-static void parts64_sint_to_float(FloatParts64 *p, int64_t a,\n- int scale, float_status *s);\n-static void parts128_sint_to_float(FloatParts128 *p, int64_t a,\n- int scale, float_status *s);\n-\n-#define parts_sint_to_float(P, I, Z, S) \\\n- PARTS_GENERIC_64_128(sint_to_float, P)(P, I, Z, S)\n-\n static void parts64_uint_to_float(FloatParts64 *p, uint64_t a,\n int scale, float_status *s);\n static void parts128_uint_to_float(FloatParts128 *p, uint64_t a,\n@@ -4013,7 +4005,7 @@ float16 int64_to_float16_scalbn(int64_t a, int scale, float_status *status)\n {\n FloatParts64 p;\n \n- parts_sint_to_float(&p, a, scale, status);\n+ parts64_sint_to_float(&p, a, scale, status);\n return float16_round_pack_canonical(&p, status);\n }\n \n@@ -4098,7 +4090,7 @@ float64 int64_to_float64_scalbn(int64_t a, int scale, float_status *status)\n return ur.s;\n }\n \n- parts_sint_to_float(&p, a, scale, status);\n+ parts64_sint_to_float(&p, a, scale, status);\n return float64_round_pack_canonical(&p, status);\n }\n \n@@ -4131,7 +4123,7 @@ bfloat16 int64_to_bfloat16_scalbn(int64_t a, int scale, float_status *status)\n {\n FloatParts64 p;\n \n- parts_sint_to_float(&p, a, scale, status);\n+ parts64_sint_to_float(&p, a, scale, status);\n return bfloat16_round_pack_canonical(&p, status);\n }\n \n@@ -4203,7 +4195,7 @@ float128 int64_to_float128(int64_t a, float_status *status)\n {\n FloatParts128 p;\n \n- parts_sint_to_float(&p, a, 0, status);\n+ parts128_sint_to_float(&p, a, 0, status);\n return float128_round_pack_canonical(&p, status);\n }\n \n@@ -4216,7 +4208,7 @@ floatx80 int64_to_floatx80(int64_t a, float_status *status)\n {\n FloatParts128 p;\n \n- parts_sint_to_float(&p, a, 0, status);\n+ parts128_sint_to_float(&p, a, 0, status);\n return floatx80_round_pack_canonical(&p, status);\n }\n \ndiff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc\nindex d8eb9f5b78..8405cf29cd 100644\n--- a/fpu/softfloat-parts.c.inc\n+++ b/fpu/softfloat-parts.c.inc\n@@ -1779,7 +1779,7 @@ static void partsN(log2)(FloatPartsN *a, float_status *s, const FloatFmt *fmt)\n r |= (a1 || a0 & ~DECOMPOSED_IMPLICIT_BIT);\n \n exact:\n- parts_sint_to_float(a, a_exp, 0, s);\n+ partsN(sint_to_float)(a, a_exp, 0, s);\n if (r == 0) {\n return;\n }\n", "prefixes": [ "PULL", "22/48" ] }