get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222052,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222052/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/08abae5ee53c81a1a61b776e4d0a7b0b91d6d824.1775843299.git.matheus.bernardino@oss.qualcomm.com/",
    "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": "<08abae5ee53c81a1a61b776e4d0a7b0b91d6d824.1775843299.git.matheus.bernardino@oss.qualcomm.com>",
    "date": "2026-04-10T17:56:01",
    "name": "[v4,13/16] tests/hexagon: add tests for v68 HVX IEEE float min/max",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "545e729d4f5fc56a30e2da1d7c81a6e5bd922e49",
    "submitter": {
        "id": 90606,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90606/?format=api",
        "name": "Matheus Tavares Bernardino",
        "email": "matheus.bernardino@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/08abae5ee53c81a1a61b776e4d0a7b0b91d6d824.1775843299.git.matheus.bernardino@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 499491,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499491/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=499491",
            "date": "2026-04-10T17:55:50",
            "name": "hexagon: add missing HVX float instructions",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/499491/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222052/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222052/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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=DqJ0BiVy;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=L45p8A9l;\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 (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 4fskzh3CTpz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Apr 2026 03:57:52 +1000 (AEST)",
            "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 1wBG5t-0006sk-DB; Fri, 10 Apr 2026 13:56:37 -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 <matheus.bernardino@oss.qualcomm.com>)\n id 1wBG5p-0006qs-TV\n for qemu-devel@nongnu.org; Fri, 10 Apr 2026 13:56:33 -0400",
            "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <matheus.bernardino@oss.qualcomm.com>)\n id 1wBG5l-0001g0-TT\n for qemu-devel@nongnu.org; Fri, 10 Apr 2026 13:56:32 -0400",
            "from pps.filterd (m0279864.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63AHCYeG1498589\n for <qemu-devel@nongnu.org>; Fri, 10 Apr 2026 17:56:22 GMT",
            "from mail-dl1-f70.google.com (mail-dl1-f70.google.com\n [74.125.82.70])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dey5b1ctg-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Fri, 10 Apr 2026 17:56:21 +0000 (GMT)",
            "by mail-dl1-f70.google.com with SMTP id\n a92af1059eb24-12c20a91932so4749161c88.1\n for <qemu-devel@nongnu.org>; Fri, 10 Apr 2026 10:56:21 -0700 (PDT)",
            "from hu-mathbern-lv.qualcomm.com (Global_NAT1.qualcomm.com.\n [129.46.96.20]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12c3459f7ffsm4256271c88.3.2026.04.10.10.56.20\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 10 Apr 2026 10:56:20 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=qcppdkim1; bh=6rsaGe+qyX7\n aGhkX5jlvph/v3y8P3SaLT96OgXBeU9M=; b=DqJ0BiVyla3DjSDPAZWWjcfPFqA\n WZd+oUWFg9raR7D5D/HxocVbrWQhAZ5ZTVfIOp2H2gMOxx5dHLCwWiZHT22TUWSH\n LE3NvaMne79T11pqVR43NY6bpCOOeTrRQ5mFJ1YT+TobEY80GXpnW7uyTXgPgI5Y\n 4oGIQlwi/DwqAae9ndUbyOgzzKUw04LDqytD/kSWYE11SuZJJqtNEc+j2x+gxv+W\n RrFANwqPhmpkeB2xM8zvWtsRjB7nIuFpxJ73t4CbTvvnIfakoxY/1Hndm2QeTnGC\n f5Fsue7gpgRHu+nNpMuQglSWb+7r5ameKn+evMC9SFWap6cokLKBfp6OtfA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1775843781; x=1776448581; 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=6rsaGe+qyX7aGhkX5jlvph/v3y8P3SaLT96OgXBeU9M=;\n b=L45p8A9lbgMa5mDOg60mApSVFdPChFremC29Yw/ehqKswBahpCSXetaBO8BthowMba\n aJBLxRkaZFcBB4DxOLoLF1fl6tH3ahKEzR9aQDpfLwukMa6W7Zvp9Ya+41Rv1OveFJn2\n r6sUTD6Lbb4QJ1KmUBz23s5NoNWNQfL5M0wtec0wRC1dSXT5oPSJTORkFAdub3cd2Xuv\n 9jVCkPrcwafT9/Gcdeh+C28v8dH9EsKGneoyXZwgmIPBR9m20V/C0eitTshnMNG+wyEK\n 4k6KycIENxX3pj1xMhlw5yL0Qu+6eYoSR4Bkl08dh6lFkm2RRXmBu/ljZwsi6HzTHlZf\n SvXw=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775843781; x=1776448581;\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=6rsaGe+qyX7aGhkX5jlvph/v3y8P3SaLT96OgXBeU9M=;\n b=h6+fXdw/oVTeVRn1xWLTUI17HlDvb7YdOcUwS7eYCddt3EbkIx7iG5RvtYIjC/cmqd\n bBwb2WOoMGMneVKCdfHioxVUQfCjE7qCFqKmXP1a8yip1x0eXoRN1En5lkG7gYrHTeD2\n eALp+oH5PlHw7PlD5pT559OGSoDwyjF4DhaNtrIZXEMBZlmd4TVKm91Pn2FzkjKynL0W\n T4JT8Vpwy4QxOgH9ckn9HBNZyGQOE5jfOaWDG/i/onBYtD8lscj7f143ptPbTlIs+qA2\n DBYd7vDR9HkC+x6lJdO3txZt5AYy/TWwhUk9NMiB1BPeo4Z0hDDSBacKayK7wSgH5stH\n CjSQ==",
        "X-Gm-Message-State": "AOJu0YxsS0HbaGSjQyjr4/DpcUwvZRInG4BFtinHPeUC8W3LwMM/9H/2\n 7EJ8FchFzI4lMhEL7IqVzogWkbL0aVxmUX2ALqKHDrV3I2qzqpjcv1iz+70xMra6MTY/NFHOKWh\n LWo7nYZ8umAFM6kT/REANIq9ARSXlS4Pa/gMwoFsJ/1vBJhxug2Ysf0otJnLSc3/Wi3JF",
        "X-Gm-Gg": "AeBDies4Qa8DuATfjdSCBGAxS5j7Q3ewq5wFspLaFkeoCwcAuTta67LhTqMntMcgEKy\n reZtUmvQ73SOWSywdX6c1NlijRt7qDuOdv0afciS7DfLl+YqVkC5gG4tDHVT4nvMiedv12K1uFq\n kKAOv0r69wmW7D/hKgpwxJhvLbVWMzqgIbXHOMdX0vIV0978zrTS2hGtwiAFUb3xg2NkMssw6LG\n 16UU4SDnPvC8+cMCywhTnFeefIqXtn5ajjpPi4W/p3jjsJZWVtJZm2pw7nl/6KLjLc03fpvGFRZ\n as8bOAX58FZcA7v8VJhVaf6VwAEm7c8VEb1qOnr9+tMt+l7b2zvERzkF3NdpKTOTWVx6qkQsjvy\n yHNYJvZFwe1SzOuu8dYC2SWZoXfHljYxubUWsSayrCDGNBP7imDTN8ImdtyI+03RUvOM6ufQNeN\n rCbVeR/CAZ",
        "X-Received": [
            "by 2002:a05:7022:3d08:b0:11b:ec5f:1c37 with SMTP id\n a92af1059eb24-12c34ecf745mr2677316c88.18.1775843781152;\n Fri, 10 Apr 2026 10:56:21 -0700 (PDT)",
            "by 2002:a05:7022:3d08:b0:11b:ec5f:1c37 with SMTP id\n a92af1059eb24-12c34ecf745mr2677296c88.18.1775843780564;\n Fri, 10 Apr 2026 10:56:20 -0700 (PDT)"
        ],
        "From": "Matheus Tavares Bernardino <matheus.bernardino@oss.qualcomm.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "richard.henderson@linaro.org, ale@rev.ng, anjo@rev.ng,\n brian.cain@oss.qualcomm.com, ltaylorsimpson@gmail.com,\n marco.liebel@oss.qualcomm.com, philmd@linaro.org,\n quic_mburton@quicinc.com, sid.manning@oss.qualcomm.com",
        "Subject": "[PATCH v4 13/16] tests/hexagon: add tests for v68 HVX IEEE float\n min/max",
        "Date": "Fri, 10 Apr 2026 10:56:01 -0700",
        "Message-Id": "\n <08abae5ee53c81a1a61b776e4d0a7b0b91d6d824.1775843299.git.matheus.bernardino@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.37.2",
        "In-Reply-To": "<cover.1775843299.git.matheus.bernardino@oss.qualcomm.com>",
        "References": "<cover.1775843299.git.matheus.bernardino@oss.qualcomm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-ORIG-GUID": "Z4c2oWp4Nu3mNgXLPk9sQNbopSv86Rmr",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDEwMDE2OCBTYWx0ZWRfX5E4N1ezN0Ida\n peeIV+6ewQTqzPEyrN3dKI8yQjPplI0K8vTWrLubAyvJGgeo/wItNDvwmMSgYwUlUoMRM7cRs88\n Lm1wwxOmW+TWyA7vLTn6pDJKCylpL9GlFpue5wBXKpz/M88huX442ovb3g8yCR4OaY1kP067aCt\n tDOtxTzMt0eLZSY0mM+/Hhu7pcR3dmfTDeFDv2y+tGcaUn4jmVqk3D77ORlaqAfAfPIuju0I0/1\n 8sIEg9IDNaUJo30YduxFQu2dleFf8qLqUXhQ13YawOqShoN+29jGtX+zAP8GU+LKQbc2ppJ3vsi\n JZu5Py/UU4l9UQZZ/QlC4ffPqU6xXdFDm5zrRBwGy0233nNnxx9BWLLnbpNDmfDK35X+AOpT/zp\n KSlsU3dX3cdEIKkgWfWlyjO2nzVdx8du6TZ8LpQGeWp3ji1gQ9vkCWu8tVKoe/YtGvK6gRJOnPE\n c5NjEETvXXcCs+iYd7g==",
        "X-Proofpoint-GUID": "Z4c2oWp4Nu3mNgXLPk9sQNbopSv86Rmr",
        "X-Authority-Analysis": "v=2.4 cv=VsgTxe2n c=1 sm=1 tr=0 ts=69d939c5 cx=c_pps\n a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=pGLkceISAAAA:8\n a=EUspDBNiAAAA:8 a=gVZ7t9wPRZXE4v3XZ3MA:9 a=Kq8ClHjjuc5pcCNDwlU0:22",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-10_05,2026-04-09_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501\n adultscore=0 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0\n phishscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604010000\n definitions=main-2604100168",
        "Received-SPF": "pass client-ip=205.220.168.131;\n envelope-from=matheus.bernardino@oss.qualcomm.com;\n helo=mx0a-0031df01.pphosted.com",
        "X-Spam_score_int": "-27",
        "X-Spam_score": "-2.8",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,\n RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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": "Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>\nSigned-off-by: Matheus Tavares Bernardino <matheus.bernardino@oss.qualcomm.com>\n---\n tests/tcg/hexagon/fp_hvx.c | 30 ++++++++++++++++++++++++++++++\n 1 file changed, 30 insertions(+)",
    "diff": "diff --git a/tests/tcg/hexagon/fp_hvx.c b/tests/tcg/hexagon/fp_hvx.c\nindex a309654ed7..dee0781bd7 100644\n--- a/tests/tcg/hexagon/fp_hvx.c\n+++ b/tests/tcg/hexagon/fp_hvx.c\n@@ -73,6 +73,30 @@ DEF_TEST_OP_2(vsub, SUB_HF, hf, hf);\n DEF_TEST_OP_2(vmpy, MULT_SF, sf, sf);\n DEF_TEST_OP_2(vmpy, MULT_HF, hf, hf);\n \n+#define signbit_fp(X) \\\n+    (sizeof(X) == bytes_hf ? ((raw_hf(X) & 0x8000) != 0) : \\\n+                             ((raw_sf(X) & 0x80000000) != 0))\n+\n+#define STD_MIN(X, Y) ((X) < (Y) ? (X) : (Y))\n+#define STD_MAX(X, Y) ((X) > (Y) ? (X) : (Y))\n+\n+#define MIN(X, Y, DEF_NAN) \\\n+    ((isnan(X) || isnan(Y)) ? DEF_NAN : \\\n+     ((X) != (Y)) ? STD_MIN(X, Y) : (signbit_fp(X) ? (X) : (Y))) /* -0 < +0 */\n+#define MAX(X, Y, DEF_NAN) \\\n+    ((isnan(X) || isnan(Y)) ? DEF_NAN : \\\n+     ((X) != (Y)) ? STD_MAX(X, Y) : (signbit_fp(X) ? (Y) : (X))) /* -0 < +0 */\n+\n+#define MIN_HF(X, Y) MIN(X, Y, NAN_HF)\n+#define MAX_HF(X, Y) MAX(X, Y, NAN_HF)\n+#define MIN_SF(X, Y) MIN(X, Y, NAN_SF)\n+#define MAX_SF(X, Y) MAX(X, Y, NAN_SF)\n+\n+DEF_TEST_OP_2(vfmin, MIN_SF, sf, sf);\n+DEF_TEST_OP_2(vfmax, MAX_SF, sf, sf);\n+DEF_TEST_OP_2(vfmin, MIN_HF, hf, hf);\n+DEF_TEST_OP_2(vfmax, MAX_HF, hf, hf);\n+\n /******************************************************************************\n  * Other tests\n  *****************************************************************************/\n@@ -150,6 +174,12 @@ int main(void)\n \n     test_new();\n \n+    /* min/max */\n+    test_vfmin_sf_sf();\n+    test_vfmin_hf_hf();\n+    test_vfmax_sf_sf();\n+    test_vfmax_hf_hf();\n+\n     puts(err ? \"FAIL\" : \"PASS\");\n     return err ? 1 : 0;\n }\n",
    "prefixes": [
        "v4",
        "13/16"
    ]
}