From patchwork Thu Aug 17 18:03:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 110331 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2518625qge; Thu, 17 Aug 2017 11:04:44 -0700 (PDT) X-Received: by 10.200.22.243 with SMTP id y48mr2198318qtk.151.1502993084150; Thu, 17 Aug 2017 11:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502993084; cv=none; d=google.com; s=arc-20160816; b=O34mkuvEmUUFWhwC/P2SvNrGil3AN1Qy/dGfCbRDDPrBBqovYhBXeqp57JBa5YQC/b 3bN5+mkHC+V1QMZ1/KeC5uKYarlH5iy0mWFHkr1jfBdaPs00FNR+C98frjbrayIyc5MB VOAJ9CdjzRYcrYa9OLxCcuU/xAThYNaRnfKUkMVLwEv9WYv3+1sz/f7KQNjF6kt3+dQp f5Yjc9PTzSvrtXBbS5onJSw3X3JDmhlUsbyihMefVR5DsUdk3vKdj5NZ896MqFwguMe6 rjnw2WTfTLrcABYVFE6U0+2UZZeiZjr9d2J8+b8+XyAucGQ6IlWOVsgdFbxUtlBGG4eW 09Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=e20I73/xAIYyMK8gdgDNzImGouaSewvZsy/sZSnO7oQ=; b=r0LoVY+T9Gs8rP3bkzp/qkVsvApuWTM4xuz7mFP48vuBoqzK8HHHVk0AiX6fwER6yk XLTSXabmdMumYDiXn7QIFZ0Ss1Wi3VHJcseXm8CYNNnEQMDAqSJwM7dOz7ad9hBGdjrm Kju8lbhVXIOXTPSrSsLKVngjxfoxG6Gr6YHEzfuZL2MgrmOntkl1jLZqjJvh8fLxfVoL zb69u4uWCXwSvlgKZdxMbee7TwY8gFqrzYX5j/GL5lX0a82UlN9jI7XCtro8kmTKv1Ye s+fJ1yxUI3ZdcG0lXrZmDXhnWilz2MSN0Apjw8PBO/U4ajuhNyXy+UzBRrmEYKfAhdWi 7w+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IJ4+peoH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e55si3567575qta.502.2017.08.17.11.04.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 Aug 2017 11:04:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IJ4+peoH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diP9u-000449-3g for patch@linaro.org; Thu, 17 Aug 2017 14:04:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diP9R-000430-VM for qemu-devel@nongnu.org; Thu, 17 Aug 2017 14:04:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diP9N-0005Gt-I2 for qemu-devel@nongnu.org; Thu, 17 Aug 2017 14:04:13 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:33099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diP9N-0005F9-Aq for qemu-devel@nongnu.org; Thu, 17 Aug 2017 14:04:09 -0400 Received: by mail-wr0-x22f.google.com with SMTP id b65so50611301wrd.0 for ; Thu, 17 Aug 2017 11:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e20I73/xAIYyMK8gdgDNzImGouaSewvZsy/sZSnO7oQ=; b=IJ4+peoHJOziwFTXbrMQpBThWuV6Ya/09ZYjgJcK7JjhMsiHlZnkzcoxCBqg+2INLv o6dRQqKFxPeHtcMRQVCF86fZ0dhLMlj9HwIuQ3jTE0Mxir1vVccBvYx2zM4J7PEUY/fN 35jsCpqKdW2NsjvZWR6PmGP+aoTYmYaUmUrYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e20I73/xAIYyMK8gdgDNzImGouaSewvZsy/sZSnO7oQ=; b=CXeDid2Z9fw5SLSvG0lOLPKVjfFyGjiPTXo/alfKgkpzUHMhcDmVxK5J8nqNEZH4k3 rg1KIF3pKVz6o7Kawv2Gw8LrQtwXPyotao3nIZ6cQqy/uVE8bspebK37ksTlJR3ZevyI g11zqCyvcqdE7K89MM2TIgyRqziF0+59eFNTfWywpaFSWyLK2xl/g+f74Tr8+/yC6tQt welB56MXNFvIFYWA8rlPc1o0DciJQlXbDkYWr8nIeTxiuIBEsLwMpO39hKZPHatjc43i sLjHfNYGRevBLxhZlc7bC8WIVZ7xf0b4leaoP0iZpDYDYNMOOIRypJl/fly+K5OPN/Aa iyVg== X-Gm-Message-State: AHYfb5iTwIJUm4BsVfmi6AamIyUyxfs+p2zcqhYHUFb+BH+RhHSJV7uM 3CffE1QDjLk5rIFI X-Received: by 10.28.28.146 with SMTP id c140mr1962112wmc.7.1502993046915; Thu, 17 Aug 2017 11:04:06 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h190sm3716635wmd.4.2017.08.17.11.04.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Aug 2017 11:04:05 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 90E3B3E0190; Thu, 17 Aug 2017 19:04:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: rth@twiddle.net, cota@braap.org, batuzovk@ispras.ru Date: Thu, 17 Aug 2017 19:03:56 +0100 Message-Id: <20170817180404.29334-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170817180404.29334-1-alex.bennee@linaro.org> References: <20170817180404.29334-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f Subject: [Qemu-devel] [RFC PATCH 1/9] tcg/README: listify the TCG types. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Although the other types are aliases lets make it clear what TCG types are available. Signed-off-by: Alex Bennée --- tcg/README | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.13.0 Reviewed-by: Richard Henderson diff --git a/tcg/README b/tcg/README index 03bfb6acd4..f116b7b694 100644 --- a/tcg/README +++ b/tcg/README @@ -53,9 +53,12 @@ an "undefined result". TCG instructions operate on variables which are temporaries, local temporaries or globals. TCG instructions and variables are strongly -typed. Two types are supported: 32 bit integers and 64 bit -integers. Pointers are defined as an alias to 32 bit or 64 bit -integers depending on the TCG target word size. +typed. A number of types are supported: + + TCGv_i32 - 32 bit integer + TCGv_i64 - 64 bit integer + TCGv - target pointer (aliased to 32 or 64 bit integer) + TCGv_ptr - host pointer (used for direct access to host structures) Each instruction has a fixed number of output variable operands, input variable operands and always constant operands.