From patchwork Tue Mar 19 17:21:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 160589 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4133780jad; Tue, 19 Mar 2019 10:21:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQd0HYKFkMPTfpngL6oKIkE5g+JDPLk5gjykylLHutS6SxkksYSaGTPNLbm+NKT+ST1SaO X-Received: by 2002:a1c:f70f:: with SMTP id v15mr4478724wmh.86.1553016117890; Tue, 19 Mar 2019 10:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553016117; cv=none; d=google.com; s=arc-20160816; b=tPYj1y9AP/cpgyuamMc8iUZgsd3uqx0Z9IVIppP79dQSe4Ek5opBUMCwDfQUi0Aste O7KfV0VBZgE5v1J1DIMJgANHCelFGXwHMdogIyw04mUTgKPhyqczA0CegJdtpfaWBTYG e5U7Ckb3wseZIExbQX5dGHaPAhkz0tFcwNbOeyVxMxIvDmSlugoqEi/RDXCbchCuEy/u UV/3E2AhDPyrPXdL8uRGK9ddwmukk91UJHDmM2ceruaVXRy8M+fk/I9Me8fHo6PNe9e/ UswBIyxIM7iYGuYk13Brb2d3cWaa/hInA2mdD2A5jF57HWZaDZclYuHptIIuZ5cCu6er V99g== 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=IMlkAflOFM5iXfEUsKesVxvidkJWo46jGKGmc+R0LWJ5C/HkN8ypALdzmA6SpSGmpq PRU5LHodLQIXja0WB/bZS9P5b/ZkfNW+3XQnc51lCz1uymUR4QyECJNWfiEnJSqkx/Rb N1TE1+SIlJXMzXSr1qgfyYsc3ES47tKmhz+crOCtrGNzhXF+V0HcLvvvwAqXdhTxaNJw xaQxAO4MvCkPfZ24cGhiyM6mZ9qJRgfZfnEN4Tbzu8xWpf8wtHY0mGrGw0jXzcDp+KRz FoMxcDmMMHJrcLHHBAo82J404hXN5YrhpPydYuMcp6nPHDL3LXHSD9qqPVyvPsuLbjH6 g32g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Uhq+lf3i; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v18si9037150wru.448.2019.03.19.10.21.57 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Mar 2019 10:21:57 -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=Uhq+lf3i; 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]:60659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6IR2-0004Y5-QA for patch@linaro.org; Tue, 19 Mar 2019 13:21:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6IQe-0004XF-Sq for qemu-devel@nongnu.org; Tue, 19 Mar 2019 13:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6IQe-0004QB-5w for qemu-devel@nongnu.org; Tue, 19 Mar 2019 13:21:32 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:38121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6IQd-0004PW-QL for qemu-devel@nongnu.org; Tue, 19 Mar 2019 13:21:32 -0400 Received: by mail-pf1-x441.google.com with SMTP id n125so14163128pfn.5 for ; Tue, 19 Mar 2019 10:21:31 -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=Uhq+lf3iNMXtUhqj0Sl5OEiXWHtzGwN4d8RsWrmTMEwlkYSt9uiG40yjNRx//wk+uW BkW+2kgJ60NmTe254KS0pj6aUu14M8qNSZNa2G349IsKluPf56hQ4gW+V8xbDr9vjJgo 6GC1r6gIh3NUeVkmOeEETHh0l8RpUGEX3PFMP+7btp+Cs9yqMettR3iv7JOts5HSF4cp tTPzvaiD3lyLYkjfpxsCH4C4z3Vxqbeuk9mvyyNZd1mGFUGPr17EaeoZaRLnNn/f0OON n9DLaWtY7qEoc51dyRat08o9u+c9Ejy+GWgapPmMQO66sl9uEctkdhg9iBNSIYMVPY33 7qCg== 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=W80MCA3njRR3rKKynGMAHx/VsBCfCrXPzGdrixjKcBQm3LeRdcFu90Lz0WIJteJB4m Ewm09LldW1z/N4sZZuVOnf8EarNR2I7QskL+K2bLG5c3zIUoQDEigS6QruRTcWoi7DS6 0MGSQLrZX+YbvTpKHiS6//VU1f2nkgvT1KeZyL0IMPa5CgLZpj4xWu1SXLBlbwP5XKrg pDuiLB4KkX/0AdCS6sD/ehni2OYJ9nltt31d9hZvbMRULfHZOb021MdPhjW2DHdUAA60 pw42ZqeL2G2udfHwctHSAIOitLVrUWr2iVJS+8QILc4egZBPP9zpVol6UwjLYo+LUJNg t3yg== X-Gm-Message-State: APjAAAVqkGF01mH1g31MFCwLx9fscMgPGhA/hElAWYb7d2MabBmBK1RG ZfWsL7h6dgXxgfaQ7lWL3b/oKyx288s= X-Received: by 2002:a63:f412:: with SMTP id g18mr2860037pgi.444.1553016090503; Tue, 19 Mar 2019 10:21:30 -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 w68sm5616666pfb.176.2019.03.19.10.21.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 10:21:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 19 Mar 2019 10:21:10 -0700 Message-Id: <20190319172126.7502-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190319172126.7502-1-richard.henderson@linaro.org> References: <20190319172126.7502-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::441 Subject: [Qemu-devel] [PATCH for-4.1 v3 01/17] target/arm: Fill in .opc for cmtst_op 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: mark.cave-ayland@ilande.co.uk, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 --- target/arm/translate.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.2 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 }, };