Message ID | 20170912162513.21694-3-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp145055edi; Tue, 12 Sep 2017 09:27:25 -0700 (PDT) X-Received: by 10.55.17.207 with SMTP id 76mr5019161qkr.178.1505233645756; Tue, 12 Sep 2017 09:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505233645; cv=none; d=google.com; s=arc-20160816; b=CJ8z0x1b8WUvLhdGLV/shtm9MpaCUsRJ+zWyTOqqF8ZMjd8+RvRoA4c5tamixUWsuD lcSA3SIPkEXYNNi9EgSkMz1W82LzV5EA77mBN8nRv+zORCdbjoSjW4oezWAISutDJRfh k7Gsq0YNEgWATEOEwbc8Weqt1RV+g/Ztmz3cE4YqkcBbU+Bhj4uQw3grF/XWRJoxjmDq U8//mMyUO8k++yZb4tykqzAtshkF50EYm/iqlRXEGaSEUtU2AxeTTqDI9BTaYBN5+wzp lGB057LBotLY5DoY47pUSgsOuQTnswvqxGvysUgyMAGtcFNXw7NahgY+s7JTjaKqj4m5 18Zw== 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=oWluCzfErekNM0P6PesQBlMo2sMHFtlmX5OXtZiRM/Y=; b=eNG+4+dfyjdtER5iLj+DJYnwciRSBLVOZMhSm671Sr1yyHrEqbHWhPp+NjZuMQP/V6 Btswp0Jx+L2byU0gZwEOYyzXAdKS6yzrOapyRQAK6IyDADuS3CKrcRREY1rEzq/291LN 2jORUjpoUR35zm68OoE/djFvtJC9oiFidudDCgLAEUVqdqmBtjTsHvPXb7K2KQYF1KLM kcS/6zCZYH3Pyr0IRWK/C7MLwoCuCu6CgGpiqwKz1hC4jOmj1G2dcuhFtK9B2tmFdnZs BDNJqxy9FyjFA4PV4HnIQRYIO0tQZD4uimzGpUc3VXZi3HHLZbMyh7dGX+9n3j6S7BQO rGgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FnCOKfa6; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h135si12652694qka.285.2017.09.12.09.27.25 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 12 Sep 2017 09:27:25 -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=FnCOKfa6; 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]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1dro1z-0002yN-BG for patch@linaro.org; Tue, 12 Sep 2017 12:27:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) 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 <richard.henderson@linaro.org>) 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 <richard.henderson@linaro.org>) 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 <qemu-devel@nongnu.org>; Tue, 12 Sep 2017 09:25:20 -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) 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) 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 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <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>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: alex.bennee@linaro.org, f4bug@amsat.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
TCG vectorization and example conversion
|
expand
|
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 */ /* 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 -static TCGRegSet tcg_target_available_regs[2]; +static TCGRegSet tcg_target_available_regs[TCG_TYPE_COUNT]; static TCGRegSet tcg_target_call_clobber_regs; #if TCG_TARGET_INSN_UNIT_SIZE == 1