Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2230603/?format=api
{ "id": 2230603, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230603/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260429222445.26301-19-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-19-richard.henderson@linaro.org>", "date": "2026-04-29T22:24:15", "name": "[PULL,18/48] fpu: Drop parts_round_to_int", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "20c74f0348b51fa0c1027062b536c8b5d49f28f0", "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-19-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/2230603/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230603/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=oxxzDKz4;\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 4g5X2l5YYTz1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 08:26:23 +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 1wIDLl-0000Nl-3g; Wed, 29 Apr 2026 18:25:45 -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 1wIDLh-0000Hl-3C\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 18:25:41 -0400", "from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036])\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 1wIDLf-0004wx-Gt\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 18:25:40 -0400", "by mail-pj1-x1036.google.com with SMTP id\n 98e67ed59e1d1-3614826eca4so214746a91.1\n for <qemu-devel@nongnu.org>; Wed, 29 Apr 2026 15:25:38 -0700 (PDT)", "from stoup.. ([180.233.125.15]) by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-364a2732502sm1888471a91.3.2026.04.29.15.25.35\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 15:25:37 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777501537; x=1778106337; 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=GLyWu8yU2Agae63TYqLRCthKC3+/ThbReajEkqa3gwY=;\n b=oxxzDKz4OJJ/dSk6o2P0WMAgCesiluNWAuBQEFHuW5tX8Wb0STalDHIpXqIGXK14zG\n Ja9vkdCjnafVAbf8dLPQvaFXgAl36BxDS5Z5aQ7Yes/zfnubHDh+ZP5dOgd/3bnrrja5\n bfvH4opNqv0P0sE5sjpAzq+zVM7gp0ycgXs4AQSYvjQ4Dtx+6ykSyviGCwZfP2oBbTEN\n 5/2EXSQ2sKfv/cEFMG2wifY+XrhJuvpblDxJHCYkuqJWaPaDXnmFAvpiPtUMYQ539wc5\n um5DdrkW9y4KKxWhyXVWa+wC1yeZhV7Ll+YSORZoGHNXRmG4+dWydjpjQa+Jht6BoITS\n bMRQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777501537; x=1778106337;\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=GLyWu8yU2Agae63TYqLRCthKC3+/ThbReajEkqa3gwY=;\n b=Y3JBI2pj52Jh1hM9IblUWQ2BtUKj6L+rq5BvU/6//JNIi6v213BmaW/Pt5QDMBxlov\n f3THzs9r52c1Z9LZB0IVyRcqU3ETWCDbKxalNvnQp7jOf/RuPB7ZVAJS+7PJrvzQU701\n KuC9ZXBkgYSq0Rewl9SRxbYsitKdob/T/IsxHAYzr7yx7lC5aXwmANx/7upbCcF2uD40\n qlkzmRapNbOMAwZjt98W0YlvY50mrjACsDQj+82EnZ8uMUXtTWhhUBbnkk9iHeUIez+t\n GN9BUQ6MYTYom37fGUrVV+WZWSJjG89kq9fajiYbq7xXaMtfgtJJwsrg4QrEvPdGcGSo\n EuCw==", "X-Gm-Message-State": "AOJu0YzUgeasdNb0D/HnSEzwjhiKVQnwxdKL4MWTnpLE7aALSK8rm7+S\n 3FMiJKYKh658T+buSctq3khFy+SVQKtMXa7mBp8cePCLViP+Hx5hHMUwqaAHeUz9s3SqbyYeuz6\n hpDfyQKY=", "X-Gm-Gg": "AeBDieuYBuIwmIn31tKKToAxTTdESvgV5/+hCBoUa0fqigIy3jtzLAfVH6FR8cpjr+J\n 3Nw2sE0LEPmjHPXwugFS/ghtEvdUklSi5GQClahivpRz3lYFjPxfmL6ZPEfcJ/9q5WtHqp9Jlef\n uAMzf57OTJY/8mDffa0kaC6PH+5rg8grosm9UAm1xJ73f9jQQAwXGKW/zPU5w2Id/rO2MC1ZwXu\n QVcRXzG/aSRVqx/AUDoCUgRDN33FCmzxJVA2ibP4dcP8BiMzQ012AkRz+OKRbBX8QziY58jH4lm\n yCuWZ5+Y2RemI9zDqmJqWixWknpdQhoKzjgFInxiZdsUEjzbHxjKvYXKGOBZOoofxjZ/+dzEz0Y\n v15q7B48S5TyZFWU9vOMLlqCTq/6HKLQObMKOYx/FBusF1yPU7fEsTOqhecYAA72Iv/2VzAstbJ\n C8P4SprDyWaDiirrrcXvIjQA+G806FfMepUH1ZxGHBy2/siBAgKPM=", "X-Received": "by 2002:a17:90b:1a87:b0:35f:bae8:3531 with SMTP id\n 98e67ed59e1d1-364c340d4d9mr149417a91.25.1777501537437;\n Wed, 29 Apr 2026 15:25:37 -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 18/48] fpu: Drop parts_round_to_int", "Date": "Thu, 30 Apr 2026 08:24:15 +1000", "Message-ID": "<20260429222445.26301-19-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::1036;\n envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1036.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}_round_to_int 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 | 22 ++++++----------------\n 1 file changed, 6 insertions(+), 16 deletions(-)", "diff": "diff --git a/fpu/softfloat.c b/fpu/softfloat.c\nindex 1f03fcf687..e2341871bd 100644\n--- a/fpu/softfloat.c\n+++ b/fpu/softfloat.c\n@@ -779,16 +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_round_to_int(FloatParts64 *a, FloatRoundMode rm,\n- int scale, float_status *s,\n- const FloatFmt *fmt);\n-static void parts128_round_to_int(FloatParts128 *a, FloatRoundMode r,\n- int scale, float_status *s,\n- const FloatFmt *fmt);\n-\n-#define parts_round_to_int(A, R, C, S, F) \\\n- PARTS_GENERIC_64_128(round_to_int, A)(A, R, C, S, F)\n-\n static int64_t parts64_float_to_sint(FloatParts64 *p, FloatRoundMode rmode,\n int scale, int64_t min, int64_t max,\n float_status *s);\n@@ -3128,7 +3118,7 @@ float16 float16_round_to_int(float16 a, float_status *s)\n FloatParts64 p;\n \n float16_unpack_canonical(&p, a, s);\n- parts_round_to_int(&p, s->float_rounding_mode, 0, s, &float16_params);\n+ parts64_round_to_int(&p, s->float_rounding_mode, 0, s, &float16_params);\n return float16_round_pack_canonical(&p, s);\n }\n \n@@ -3137,7 +3127,7 @@ float32 float32_round_to_int(float32 a, float_status *s)\n FloatParts64 p;\n \n float32_unpack_canonical(&p, a, s);\n- parts_round_to_int(&p, s->float_rounding_mode, 0, s, &float32_params);\n+ parts64_round_to_int(&p, s->float_rounding_mode, 0, s, &float32_params);\n return float32_round_pack_canonical(&p, s);\n }\n \n@@ -3146,7 +3136,7 @@ float64 float64_round_to_int(float64 a, float_status *s)\n FloatParts64 p;\n \n float64_unpack_canonical(&p, a, s);\n- parts_round_to_int(&p, s->float_rounding_mode, 0, s, &float64_params);\n+ parts64_round_to_int(&p, s->float_rounding_mode, 0, s, &float64_params);\n return float64_round_pack_canonical(&p, s);\n }\n \n@@ -3155,7 +3145,7 @@ bfloat16 bfloat16_round_to_int(bfloat16 a, float_status *s)\n FloatParts64 p;\n \n bfloat16_unpack_canonical(&p, a, s);\n- parts_round_to_int(&p, s->float_rounding_mode, 0, s, &bfloat16_params);\n+ parts64_round_to_int(&p, s->float_rounding_mode, 0, s, &bfloat16_params);\n return bfloat16_round_pack_canonical(&p, s);\n }\n \n@@ -3164,7 +3154,7 @@ float128 float128_round_to_int(float128 a, float_status *s)\n FloatParts128 p;\n \n float128_unpack_canonical(&p, a, s);\n- parts_round_to_int(&p, s->float_rounding_mode, 0, s, &float128_params);\n+ parts128_round_to_int(&p, s->float_rounding_mode, 0, s, &float128_params);\n return float128_round_pack_canonical(&p, s);\n }\n \n@@ -3176,7 +3166,7 @@ floatx80 floatx80_round_to_int(floatx80 a, float_status *status)\n return floatx80_default_nan(status);\n }\n \n- parts_round_to_int(&p, status->float_rounding_mode, 0, status,\n+ parts128_round_to_int(&p, status->float_rounding_mode, 0, status,\n &floatx80_params[status->floatx80_rounding_precision]);\n return floatx80_round_pack_canonical(&p, status);\n }\n", "prefixes": [ "PULL", "18/48" ] }