get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812949,
    "url": "http://patchwork.ozlabs.org/api/patches/812949/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170912162513.21694-3-richard.henderson@linaro.org/",
    "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": "<20170912162513.21694-3-richard.henderson@linaro.org>",
    "list_archive_url": null,
    "date": "2017-09-12T16:24:59",
    "name": "[v2,02/16] tcg: Add types for host vectors",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7962b9eeb77c9b8448aadec225da7cdb91b6beb9",
    "submitter": {
        "id": 72104,
        "url": "http://patchwork.ozlabs.org/api/people/72104/?format=api",
        "name": "Richard Henderson",
        "email": "richard.henderson@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170912162513.21694-3-richard.henderson@linaro.org/mbox/",
    "series": [
        {
            "id": 2737,
            "url": "http://patchwork.ozlabs.org/api/series/2737/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=2737",
            "date": "2017-09-12T16:24:59",
            "name": "TCG vectorization and example conversion",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/2737/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812949/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812949/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"FnCOKfa6\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xs9CM1121z9s7f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 02:26:07 +1000 (AEST)",
            "from localhost ([::1]:36886 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dro0j-0001fJ-71\n\tfor incoming@patchwork.ozlabs.org; Tue, 12 Sep 2017 12:26:05 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:37799)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dro02-0001dG-47\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:23 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dro00-0006yL-GF\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:22 -0400",
            "from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:35937)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <richard.henderson@linaro.org>)\n\tid 1dro00-0006xy-AX\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:20 -0400",
            "by mail-pg0-x232.google.com with SMTP id i130so14869212pgc.3\n\tfor <qemu-devel@nongnu.org>; Tue, 12 Sep 2017 09:25:20 -0700 (PDT)",
            "from bigtime.twiddle.net (97-126-103-167.tukw.qwest.net.\n\t[97.126.103.167]) by smtp.gmail.com with ESMTPSA id\n\tb22sm20382140pfh.175.2017.09.12.09.25.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 12 Sep 2017 09:25:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=oWluCzfErekNM0P6PesQBlMo2sMHFtlmX5OXtZiRM/Y=;\n\tb=FnCOKfa6JKVEQp9YtXnfopTVVX8J5nxFMmylmcw1dY/TXzuiJb8vLkeYeKaQ46YZbN\n\tVdxbjOkBymH5wNcYcafHOjObZwTmB8chf42txkP7wdhop7Po3QppoSIDyVt4xK2YczBc\n\tpKx04l6P8yH+JIyZmsuyEw2bpHfuPizM7plMk=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=oWluCzfErekNM0P6PesQBlMo2sMHFtlmX5OXtZiRM/Y=;\n\tb=PXX6Ypd5dlwvd9gl8VCCOmLU4QdniFnSvLRxTHbXg6YgpjijGQt7hDVOZn7Pc44T3s\n\thGGWHv9hwzieEf+A/2e/iTbsC017A+p+rIOQeDqr/LX2J1hY3FWd+yceXHimNEo3MZw2\n\tVxA1gaZNBfjw6uJsxK/rN9jgNFuuHPqupK/rcqWHpM0P3A9kHQFtiDkGegKImd4X8xcG\n\tysEZMtD8GiU8m7BKAvrmQMdYlxBDt4aWQkZCn5xKoBScIDC5XbzIRN5aFDwHNVyOQjY8\n\tk22Q+V1NFQSm7kHrf5vWYh+P4aOUnt81QOXP5o8jrpoTgLu+YU/oYliIZgDMdTUUEbn7\n\tktxw==",
        "X-Gm-Message-State": "AHPjjUiJ+bNO9xWrhy9HECjQL52Ifv/t9NKi5mk+I0FICG5IlzgmqtH0\n\ttnEC3c3Exe3Dx41cPxHSGA==",
        "X-Google-Smtp-Source": "ADKCNb4c8VjliWVRDI/6g8/A8wzB57W8vjutty1JKOjkOYqBQlC+anx04Td7bfk8r5RacQMylO+qoA==",
        "X-Received": "by 10.99.121.135 with SMTP id\n\tu129mr15188409pgc.250.1505233519009; \n\tTue, 12 Sep 2017 09:25:19 -0700 (PDT)",
        "From": "Richard Henderson <richard.henderson@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Tue, 12 Sep 2017 09:24:59 -0700",
        "Message-Id": "<20170912162513.21694-3-richard.henderson@linaro.org>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170912162513.21694-1-richard.henderson@linaro.org>",
        "References": "<20170912162513.21694-1-richard.henderson@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.",
        "X-Received-From": "2607:f8b0:400e:c05::232",
        "Subject": "[Qemu-devel] [PATCH v2 02/16] tcg: Add types for host vectors",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "alex.bennee@linaro.org, f4bug@amsat.org",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "Nothing uses or enables them yet.\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nReviewed-by: Alex Bennée <alex.bennee@linaro.org>\nSigned-off-by: Richard Henderson <richard.henderson@linaro.org>\n---\n tcg/tcg.h | 5 +++++\n tcg/tcg.c | 2 +-\n 2 files changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tcg/tcg.h b/tcg/tcg.h\nindex ac94133870..f56ddac31d 100644\n--- a/tcg/tcg.h\n+++ b/tcg/tcg.h\n@@ -256,6 +256,11 @@ typedef struct TCGPool {\n typedef enum TCGType {\n     TCG_TYPE_I32,\n     TCG_TYPE_I64,\n+\n+    TCG_TYPE_V64,\n+    TCG_TYPE_V128,\n+    TCG_TYPE_V256,\n+\n     TCG_TYPE_COUNT, /* number of different types */\n \n     /* An alias for the size of the host register.  */\ndiff --git a/tcg/tcg.c b/tcg/tcg.c\nindex fd8a3dfe93..bc65d01618 100644\n--- a/tcg/tcg.c\n+++ b/tcg/tcg.c\n@@ -116,7 +116,7 @@ static int tcg_target_const_match(tcg_target_long val, TCGType type,\n static bool tcg_out_ldst_finalize(TCGContext *s);\n #endif\n \n-static TCGRegSet tcg_target_available_regs[2];\n+static TCGRegSet tcg_target_available_regs[TCG_TYPE_COUNT];\n static TCGRegSet tcg_target_call_clobber_regs;\n \n #if TCG_TARGET_INSN_UNIT_SIZE == 1\n",
    "prefixes": [
        "v2",
        "02/16"
    ]
}