{"id":812959,"url":"http://patchwork.ozlabs.org/api/patches/812959/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170912162513.21694-6-richard.henderson@linaro.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","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-6-richard.henderson@linaro.org>","list_archive_url":null,"date":"2017-09-12T16:25:02","name":"[v2,05/16] tcg: Add INDEX_op_invalid","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"a3cda4dc068e4a564bc590193df1b8761347716a","submitter":{"id":72104,"url":"http://patchwork.ozlabs.org/api/people/72104/?format=json","name":"Richard Henderson","email":"richard.henderson@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170912162513.21694-6-richard.henderson@linaro.org/mbox/","series":[{"id":2737,"url":"http://patchwork.ozlabs.org/api/series/2737/?format=json","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/812959/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812959/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=\"J9SQjbBb\"; 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 3xs9LX3M4Hz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 02:32:20 +1000 (AEST)","from localhost ([::1]:36912 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 1dro6k-0007zc-Hj\n\tfor incoming@patchwork.ozlabs.org; Tue, 12 Sep 2017 12:32:18 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:37882)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dro05-0001fs-77\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:26 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <richard.henderson@linaro.org>) id 1dro04-00071M-Br\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:25 -0400","from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:37513)\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 1dro04-000713-69\n\tfor qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:24 -0400","by mail-pg0-x232.google.com with SMTP id d8so22188704pgt.4\n\tfor <qemu-devel@nongnu.org>; Tue, 12 Sep 2017 09:25:24 -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.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 12 Sep 2017 09:25:22 -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=zystXnD+mZxgtjbQyrl7Ree1MkecfqCccEKVNR08Hes=;\n\tb=J9SQjbBbLhNGJynCZXSNLBiv/YXhOUV0kKHO7NOHbltf/Y4pEAmKwDnlbtUK8eCKr8\n\tOQq/AxIh/tyJMDzt9nPceEQqj+w93Fc9VxA4YDtVzkp7GtJi8Wd4DYDxwZqH6aabGefT\n\takuuegR4ReQoORJabG6gyJ5xhZZrqCjVNVtK8=","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=zystXnD+mZxgtjbQyrl7Ree1MkecfqCccEKVNR08Hes=;\n\tb=MOgECu9m7D/v2FE+O5aWBEWgtYANCprpDx9N2ZnN2xWDoFO+GCBp2VlzAYZl5WpsnN\n\tEeQPEBFo/6t9oT54urpXJtvjCJHPMBgc28BHKpfSI51Utu4HkTNpgFvNC2HLfZwnGZ/M\n\t4Yx1Wzg6Cbdw1qXjCkd3IQysWj9c/frOlD1vfNCWsV5/dyyfvOtl1pGwb1na0XLJnKai\n\tkF51hxV2q7NNuPAUENraSHh9lnfzq8/Sr4v4yv7DKjktQfYmiTm5ReM19AIrqZj1GZxc\n\tvGu4fx6LBCicfs5I5BCu/XaRUkmRKpFYtywCVRKJWGw3uBS7ew9i/aAFVhzRWOHjSUf5\n\tAX5g==","X-Gm-Message-State":"AHPjjUhjOgo3523Hn6swiEPgFRYFOEX9vdNtKNZ0snTTvQNNpQQ/Sxn+\n\tYDczd3w6xY7S/jyiVza6Jg==","X-Google-Smtp-Source":"ADKCNb5pjA+fwekkjgrRUryAGelMEP9SkSyeB3tyAnzaai3IaNJvL5wAxNM8fGll1pMvRnUrP6HhBg==","X-Received":"by 10.98.63.140 with SMTP id z12mr15800243pfj.218.1505233523038; \n\tTue, 12 Sep 2017 09:25:23 -0700 (PDT)","From":"Richard Henderson <richard.henderson@linaro.org>","To":"qemu-devel@nongnu.org","Date":"Tue, 12 Sep 2017 09:25:02 -0700","Message-Id":"<20170912162513.21694-6-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 05/16] tcg: Add INDEX_op_invalid","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":"Add with value 0 so that structure zero initialization can\nindicate that the field is not present.\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-opc.h | 2 ++\n tcg/tcg.c     | 3 +++\n 2 files changed, 5 insertions(+)","diff":"diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h\nindex edfdbf8798..b84cd584fb 100644\n--- a/tcg/tcg-opc.h\n+++ b/tcg/tcg-opc.h\n@@ -26,6 +26,8 @@\n  * DEF(name, oargs, iargs, cargs, flags)\n  */\n \n+DEF(invalid, 0, 0, 0, TCG_OPF_NOT_PRESENT)\n+\n /* predefined ops */\n DEF(discard, 1, 0, 0, TCG_OPF_NOT_PRESENT)\n DEF(set_label, 0, 0, 1, TCG_OPF_BB_END | TCG_OPF_NOT_PRESENT)\ndiff --git a/tcg/tcg.c b/tcg/tcg.c\nindex 9aea00d9b4..8fca202bec 100644\n--- a/tcg/tcg.c\n+++ b/tcg/tcg.c\n@@ -754,6 +754,9 @@ int tcg_check_temp_count(void)\n bool tcg_op_supported(TCGOpcode op)\n {\n     switch (op) {\n+    case INDEX_op_invalid:\n+        return false;\n+\n     case INDEX_op_discard:\n     case INDEX_op_set_label:\n     case INDEX_op_call:\n","prefixes":["v2","05/16"]}