Message ID | 20190317090834.5552-6-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp1407721jad; Sun, 17 Mar 2019 02:14:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxioGG7XZG75IgfoxM3WUEh6a9tyga4af33pLFzJpddkpG21dXjl3OkYMPf3zfidNU5u1OH X-Received: by 2002:a1c:9c04:: with SMTP id f4mr7410925wme.149.1552814077917; Sun, 17 Mar 2019 02:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552814077; cv=none; d=google.com; s=arc-20160816; b=Hooypuv2wXK2blCrbGEFznAHzxAnIdvyinLMs1rTMWeN3dhXPZYouBtRc6+73/cKm2 fyVKgLCrJ+XAf2rgjKbVNrySBceK3Af4J22YSTEfNMOo73HKnp79nuzF9cgkahXuzof4 GLIlx88Go1r9tnrFrNnox7MOhhdsmsF6ttCEYup+6qhwXLS8iMspC2XSL1J54Git/erK I5XGazn5m6coPJpI5jp+/adzoFVkoWJWU1K6/zLDZplqcizYe+RE/BNC12XeFsHcuVHN 3XE5hVNaMvQEmjHdZt8WraIZ0TGYza8IlaO4lr+MljDT8wZZ6z4DM7RyOOtJhOg2JS8l ixmw== 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:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=jmuyYwVXW/xQ7qX84YnbpLmhrhQYqlDYF9YCOZY12zU=; b=tCk30+jJmzY1RRg85U/sXk/CsY2FCwLmlOpBb3si5KBSqslQF/VljeJAIIgks7h1Ep mtTjcLJU4KHQYFopyG1C1ej2kZESlxd7kcCQE8qmMQZkfJztDMWpOw1667m3WiPxftQK eZ4yTMkb2lyqNZFUExlPxJ56Dul23EJmrWyjsFd5dRKm6moMq34Jzxyv+Vsa0xVmavID yHb7ykvHgaVGeF+ZAT2BEvI/kT/B0I3s/ZZSFHqOeRXNgZLrZBu6YuAk+iDepM2h3zdO bo8pPsmFUyc1tlIoB4g0CAemsQEWwOVsXHZrhb/C4Wu/3QFOAYpeMTgosq5omgfBokcg 1nhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=t1N9zA2+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id o10si4241050wma.17.2019.03.17.02.14.37 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 17 Mar 2019 02:14:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=t1N9zA2+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:52141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1h5RsK-000273-Qj for patch@linaro.org; Sun, 17 Mar 2019 05:14:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h5Rmg-0005ca-ME for qemu-devel@nongnu.org; Sun, 17 Mar 2019 05:08:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h5Rmf-00049g-Lw for qemu-devel@nongnu.org; Sun, 17 Mar 2019 05:08:46 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:46611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h5Rmf-00049E-9T for qemu-devel@nongnu.org; Sun, 17 Mar 2019 05:08:45 -0400 Received: by mail-pf1-x442.google.com with SMTP id s23so9211116pfe.13 for <qemu-devel@nongnu.org>; Sun, 17 Mar 2019 02:08:45 -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; bh=jmuyYwVXW/xQ7qX84YnbpLmhrhQYqlDYF9YCOZY12zU=; b=t1N9zA2+yFhNV2KlNZxpNzmFjjiAyrT4z3Y1gHhbVFyj4FgvWnzENvsPireJdQ1kFV 0XQ6OCIrhgeAhtLAPozV8uImSGikF/olDe1ySGXxqdmhDNHhChGSG8LFMY2dOAb5ujCr cCCqwDRrd7Z1a/SR6Rl07a5lqtBYleOZc5WYyUYO3C8pdh1chtMU/gTJ9iLSqmyH0erP 55Du2hxAvr0ojrMgZiuWt8VgM/xGS/muMuLeCH7kmRczD7K8oacBcyHq8WmdhCaqiJLT kOVdezrzb1kqDZL7kCQ76dOvbEcLw4sKF2vVxtuM+vbYCF5i229aMW338R/5yO+PKPfJ tHkw== 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; bh=jmuyYwVXW/xQ7qX84YnbpLmhrhQYqlDYF9YCOZY12zU=; b=FSjEosQpOyrtbdGnnmVZtgchQLH626NJPvxDBgXm7mLVObWlbiRuFAU71Ym4R3Ix4H aSN85Rhvr1POU2KdMKIncz4EcMBO5YWsjb1SZzRTStf/hxCjTp3t99WYIBB4uR1kexND dhHJFEZRp9A4pJcrImYleTMxsBTK3Bk/Xn2NSMg0xIewkPM+1WPyBfAfSRjEmwQyRz10 GDWYVbn+i9XxA65qcWJ6NxJ7nvGaNjf9yWi8U3VDLS3Qs9U1KThOOCRcCHKXYoHJonMq ElgwZG2xoUooeF5m9c1ZupCHRTiRclrFklhEzPI9NqypkCoJ2UUnp6RDtPUvd9BA3s5v eG0g== X-Gm-Message-State: APjAAAWjzcHK3a3r2smVdnq5xrrTi69Uq+X5ix9yeZgYxSIraY0C5mfv iNnHlO2sf2U6WG65Tq2WPzBtGNnYJsI= X-Received: by 2002:a63:cd10:: with SMTP id i16mr11710839pgg.90.1552813723897; Sun, 17 Mar 2019 02:08:43 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id b85sm19378435pfj.56.2019.03.17.02.08.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Mar 2019 02:08:43 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Sun, 17 Mar 2019 02:08:26 -0700 Message-Id: <20190317090834.5552-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190317090834.5552-1-richard.henderson@linaro.org> References: <20190317090834.5552-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH for-4.1 v2 05/13] target/arm: Fill in .opc for cmtst_op 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: mark.cave-ayland@ilande.co.uk, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg/ppc: Add vector opcodes
|
expand
|
diff --git a/target/arm/translate.c b/target/arm/translate.c index d408e4d7ef..13e2dc6562 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -6140,16 +6140,20 @@ static void gen_cmtst_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) const GVecGen3 cmtst_op[4] = { { .fni4 = gen_helper_neon_tst_u8, .fniv = gen_cmtst_vec, + .opc = INDEX_op_cmp_vec, .vece = MO_8 }, { .fni4 = gen_helper_neon_tst_u16, .fniv = gen_cmtst_vec, + .opc = INDEX_op_cmp_vec, .vece = MO_16 }, { .fni4 = gen_cmtst_i32, .fniv = gen_cmtst_vec, + .opc = INDEX_op_cmp_vec, .vece = MO_32 }, { .fni8 = gen_cmtst_i64, .fniv = gen_cmtst_vec, .prefer_i64 = TCG_TARGET_REG_BITS == 64, + .opc = INDEX_op_cmp_vec, .vece = MO_64 }, };
This allows us to fall back to integers if the tcg backend does not support comparisons in the given vece. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/translate.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.2