get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819547,
    "url": "http://patchwork.ozlabs.org/api/patches/819547/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20170928115044.21422-4-krebbel@linux.vnet.ibm.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170928115044.21422-4-krebbel@linux.vnet.ibm.com>",
    "list_archive_url": null,
    "date": "2017-09-28T11:50:02",
    "name": "[3/5] New target check: vect_long_mult",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7b3e3e2e3695bc01c29680268cd40f676396b6ae",
    "submitter": {
        "id": 4421,
        "url": "http://patchwork.ozlabs.org/api/people/4421/?format=api",
        "name": "Andreas Krebbel",
        "email": "krebbel@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20170928115044.21422-4-krebbel@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 5545,
            "url": "http://patchwork.ozlabs.org/api/series/5545/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=5545",
            "date": "2017-09-28T11:49:59",
            "name": "vect testsuite adjustments for S/390 - v2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/5545/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/819547/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819547/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-return-463103-incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-463103-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"hC4NNRqy\"; dkim-atps=neutral",
            "sourceware.org; auth=none"
        ],
        "Received": [
            "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2tNw5fytz9t3v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 21:53:04 +1000 (AEST)",
            "(qmail 113063 invoked by alias); 28 Sep 2017 11:52:55 -0000",
            "(qmail 113054 invoked by uid 89); 28 Sep 2017 11:52:55 -0000",
            "from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com)\n\t(148.163.158.5) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 28 Sep 2017 11:52:53 +0000",
            "from pps.filterd (m0098416.ppops.net [127.0.0.1])\tby\n\tmx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8SBne3X050225\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 07:52:52 -0400",
            "from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com\n\t[195.75.94.109])\tby mx0b-001b2d01.pphosted.com with ESMTP id\n\t2d8yxrt4u2-1\t(version=TLSv1.2 cipher=AES256-SHA bits=256\n\tverify=NOT)\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 07:52:52 -0400",
            "from localhost\tby e06smtp13.uk.ibm.com with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be\n\tprosecuted\tfor <gcc-patches@gcc.gnu.org> from\n\t<krebbel@linux.vnet.ibm.com>; Thu, 28 Sep 2017 12:52:50 +0100",
            "from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198)\tby\n\te06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted;\n\tThu, 28 Sep 2017 12:52:48 +0100",
            "from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com\n\t[9.149.105.61])\tby b06cxnps4076.portsmouth.uk.ibm.com\n\t(8.14.9/8.14.9/NCO v10.0) with ESMTP id v8SBqmPb13762770\tfor\n\t<gcc-patches@gcc.gnu.org>; Thu, 28 Sep 2017 11:52:48 GMT",
            "from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1])\tby IMSVA\n\t(Postfix) with ESMTP id AF15D11C054\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 12:48:39 +0100 (BST)",
            "from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1])\tby IMSVA\n\t(Postfix) with ESMTP id 9513711C04A\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 12:48:39 +0100 (BST)",
            "from maggie.boeblingen.de.ibm.com (unknown [9.152.212.134])\tby\n\td06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS\tfor\n\t<gcc-patches@gcc.gnu.org>; Thu, 28 Sep 2017 12:48:39 +0100 (BST)"
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:subject:date:in-reply-to:references:message-id; q=dns; s=\n\tdefault; b=SjB1AbTehH3r7n1tqSi/XBvoa5yh49TBQhMRyZF0qOjEOHlVEKO0W\n\tgfZIaGAepYA6y+y2Nyic7DlaVR03JR34XEtph86hVEQBUIxEydLvErE7YK0tdQ1P\n\txgXj7cfOjwtQCT/reccpmzHT4SMZ8NJFaVVgeDsU3O7tJkZwsk+qL8=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:subject:date:in-reply-to:references:message-id; s=default;\n\tbh=WwvvD8e66YYh0Wo9BDGWb/qQwIc=; b=hC4NNRqy2V1ldV+VmnfYOu6YW299\n\tH7F7WjXQmrYXNAB5An/ZPDOhT8yvaLSXE08In9PpyheYLPt9QJ8XAZKD2wN+I2EU\n\tlPhpvTF5++pFUYC64qZ75ia5yJPzNTxY+0j32B5VQI94D1Bix5pe82809K3dKLI1\n\tyUUbPZGdXx9MEq8=",
        "Mailing-List": "contact gcc-patches-help@gcc.gnu.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "List-Archive": "<http://gcc.gnu.org/ml/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-help@gcc.gnu.org>",
        "Sender": "gcc-patches-owner@gcc.gnu.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-24.7 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "mx0a-001b2d01.pphosted.com",
        "From": "Andreas Krebbel <krebbel@linux.vnet.ibm.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[PATCH 3/5] New target check: vect_long_mult",
        "Date": "Thu, 28 Sep 2017 13:50:02 +0200",
        "In-Reply-To": "<20170928115044.21422-1-krebbel@linux.vnet.ibm.com>",
        "References": "<20170928115044.21422-1-krebbel@linux.vnet.ibm.com>",
        "X-TM-AS-GCONF": "00",
        "x-cbid": "17092811-0012-0000-0000-0000057CF43B",
        "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused",
        "x-cbparentid": "17092811-0013-0000-0000-000018F6485B",
        "Message-Id": "<20170928115044.21422-4-krebbel@linux.vnet.ibm.com>",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-28_04:, , signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=1 malwarescore=0 phishscore=0\n\tadultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx\n\tscancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709280177",
        "X-IsSubscribed": "yes"
    },
    "content": "We don't have a 64 bit vector integer multiply on z.  Add a specific\ncheck for that.\n\ngcc/ChangeLog:\n\n2017-09-28  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>\n\n\t* doc/sourcebuild.texi: Document vect_long_mult.\n\ngcc/testsuite/ChangeLog:\n\n2017-09-28  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>\n\n\t* gcc.dg/vect/pr60656.c: Check vect_long_mult.\n\t* lib/target-supports.exp (check_effective_target_vect_long_mult):\n\tNew proc.\n---\n gcc/doc/sourcebuild.texi              |  3 +++\n gcc/testsuite/gcc.dg/vect/pr60656.c   |  3 ++-\n gcc/testsuite/lib/target-supports.exp | 24 ++++++++++++++++++++++++\n 3 files changed, 29 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi\nindex 56e1b4e..4f25268 100644\n--- a/gcc/doc/sourcebuild.texi\n+++ b/gcc/doc/sourcebuild.texi\n@@ -1422,6 +1422,9 @@ Target supports @code{vector short} multiplication.\n @item vect_int_mult\n Target supports @code{vector int} multiplication.\n \n+@item vect_long_mult\n+Target supports 64 bit @code{vector long} multiplication.\n+\n @item vect_extract_even_odd\n Target supports vector even/odd element extraction.\n \ndiff --git a/gcc/testsuite/gcc.dg/vect/pr60656.c b/gcc/testsuite/gcc.dg/vect/pr60656.c\nindex d9e30bb..70ec0f6 100644\n--- a/gcc/testsuite/gcc.dg/vect/pr60656.c\n+++ b/gcc/testsuite/gcc.dg/vect/pr60656.c\n@@ -43,4 +43,5 @@ int main()\n   return 0;\n }\n \n-/* { dg-final { scan-tree-dump-times \"vectorized 1 loops\" 1 \"vect\" { target vect_widen_mult_si_to_di_pattern } } } */\n+/* P * P * P requires a widening multiplication first as well as a longxlong->long after that.  */\n+/* { dg-final { scan-tree-dump-times \"vectorized 1 loops\" 1 \"vect\" { target { vect_widen_mult_si_to_di_pattern && vect_long_mult } } } } */\ndiff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp\nindex 5949da4..539aaaf 100644\n--- a/gcc/testsuite/lib/target-supports.exp\n+++ b/gcc/testsuite/lib/target-supports.exp\n@@ -6299,6 +6299,30 @@ proc check_effective_target_vect_int_mult { } {\n     return $et_vect_int_mult_saved($et_index)\n }\n \n+# Return 1 if the target supports 64 bit hardware vector\n+# multiplication of long operands with a long result, 0 otherwise.\n+#\n+# This can change for different subtargets so do not cache the result.\n+\n+proc check_effective_target_vect_long_mult { } {\n+    if { [istarget i?86-*-*] || [istarget x86_64-*-*]\n+\t || (([istarget powerpc*-*-*]\n+              && ![istarget powerpc-*-linux*paired*])\n+              && [check_effective_target_ilp32])\n+\t || [is-effective-target arm_neon]\n+\t || ([istarget sparc*-*-*] && [check_effective_target_ilp32])\n+\t || [istarget aarch64*-*-*]\n+\t || ([istarget mips*-*-*]\n+\t      && [et-is-effective-target mips_msa]) } {\n+\tset answer 1\n+    } else {\n+\tset answer 0\n+    }\n+\n+    verbose \"check_effective_target_vect_long_mult: returning $answer\" 2\n+    return $answer\n+}\n+\n # Return 1 if the target supports vector even/odd elements extraction, 0 otherwise.\n \n proc check_effective_target_vect_extract_even_odd { } {\n",
    "prefixes": [
        "3/5"
    ]
}