From nobody Mon Feb 9 13:21:04 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1505233632437773.9097727351049; Tue, 12 Sep 2017 09:27:12 -0700 (PDT) Received: from localhost ([::1]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dro1n-0002yN-34 for importer@patchew.org; Tue, 12 Sep 2017 12:27:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dro02-0001dG-47 for qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dro00-0006yL-GF for qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:22 -0400 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:35937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dro00-0006xy-AX for qemu-devel@nongnu.org; Tue, 12 Sep 2017 12:25:20 -0400 Received: by mail-pg0-x232.google.com with SMTP id i130so14869212pgc.3 for ; Tue, 12 Sep 2017 09:25:20 -0700 (PDT) Received: from bigtime.twiddle.net (97-126-103-167.tukw.qwest.net. [97.126.103.167]) by smtp.gmail.com with ESMTPSA id b22sm20382140pfh.175.2017.09.12.09.25.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Sep 2017 09:25:17 -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=oWluCzfErekNM0P6PesQBlMo2sMHFtlmX5OXtZiRM/Y=; b=FnCOKfa6JKVEQp9YtXnfopTVVX8J5nxFMmylmcw1dY/TXzuiJb8vLkeYeKaQ46YZbN VdxbjOkBymH5wNcYcafHOjObZwTmB8chf42txkP7wdhop7Po3QppoSIDyVt4xK2YczBc pKx04l6P8yH+JIyZmsuyEw2bpHfuPizM7plMk= 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=oWluCzfErekNM0P6PesQBlMo2sMHFtlmX5OXtZiRM/Y=; b=PXX6Ypd5dlwvd9gl8VCCOmLU4QdniFnSvLRxTHbXg6YgpjijGQt7hDVOZn7Pc44T3s hGGWHv9hwzieEf+A/2e/iTbsC017A+p+rIOQeDqr/LX2J1hY3FWd+yceXHimNEo3MZw2 VxA1gaZNBfjw6uJsxK/rN9jgNFuuHPqupK/rcqWHpM0P3A9kHQFtiDkGegKImd4X8xcG ysEZMtD8GiU8m7BKAvrmQMdYlxBDt4aWQkZCn5xKoBScIDC5XbzIRN5aFDwHNVyOQjY8 k22Q+V1NFQSm7kHrf5vWYh+P4aOUnt81QOXP5o8jrpoTgLu+YU/oYliIZgDMdTUUEbn7 ktxw== X-Gm-Message-State: AHPjjUiJ+bNO9xWrhy9HECjQL52Ifv/t9NKi5mk+I0FICG5IlzgmqtH0 tnEC3c3Exe3Dx41cPxHSGA== X-Google-Smtp-Source: ADKCNb4c8VjliWVRDI/6g8/A8wzB57W8vjutty1JKOjkOYqBQlC+anx04Td7bfk8r5RacQMylO+qoA== X-Received: by 10.99.121.135 with SMTP id u129mr15188409pgc.250.1505233519009; Tue, 12 Sep 2017 09:25:19 -0700 (PDT) From: Richard Henderson 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: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org, f4bug@amsat.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Nothing uses or enables them yet. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Richard Henderson --- tcg/tcg.h | 5 +++++ tcg/tcg.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tcg/tcg.h b/tcg/tcg.h index ac94133870..f56ddac31d 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -256,6 +256,11 @@ typedef struct TCGPool { typedef enum TCGType { TCG_TYPE_I32, TCG_TYPE_I64, + + TCG_TYPE_V64, + TCG_TYPE_V128, + TCG_TYPE_V256, + TCG_TYPE_COUNT, /* number of different types */ =20 /* An alias for the size of the host register. */ diff --git a/tcg/tcg.c b/tcg/tcg.c index fd8a3dfe93..bc65d01618 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -116,7 +116,7 @@ static int tcg_target_const_match(tcg_target_long val, = TCGType type, static bool tcg_out_ldst_finalize(TCGContext *s); #endif =20 -static TCGRegSet tcg_target_available_regs[2]; +static TCGRegSet tcg_target_available_regs[TCG_TYPE_COUNT]; static TCGRegSet tcg_target_call_clobber_regs; =20 #if TCG_TARGET_INSN_UNIT_SIZE =3D=3D 1 --=20 2.13.5