From patchwork Tue May 14 00:05:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 164077 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1971084ili; Mon, 13 May 2019 17:11:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBRqjZXCP1JH3blRRacfcelsFNeVe4Rp1EfpHJDa+xCT7cOaFWGIhEvis/4cbta847tPYG X-Received: by 2002:a17:906:29d0:: with SMTP id y16mr20469922eje.181.1557792710521; Mon, 13 May 2019 17:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557792710; cv=none; d=google.com; s=arc-20160816; b=YkYBpct12ZMpSS2aNERuyeNNcEBem/WAcVkb69oIF1VwpRIQCr6+WdkvqBwaTOZx26 6iNgsGk4Ml+aPQ8LJS70bbcw5WTyQAwyhPPwhUsOcZyPaRLLuqxwvXvSSyS4WsjK994M LH0wrgpv7r2XcZLGE9E6zyz/DZqUsCG/cmk8SSiHsCfLE7y70LyIB0/1wit0sYOVHhT0 JhlahRLpNzG8geYueFMXWkMDJIOU1WIlScX0hxEpVdr6U3vLyUntjzTEsFXglNeEuI58 +W4ffHToDEeUlhgr91SKv1xHBZd+j33jTu6JtM9xE0S8XKasQzlbAYJK4nWBVByDv80x yB2Q== 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=1kgfuF1MVun7P1d0mNatwqAFUCrmFPWnRVb1dwFf54w=; b=jVb/ZiHsnY+uWeTOVAH/qKwg94nABVETWtApcjQOOv+pXvJPqFMZAm+9FUxcuj4pI8 V8LtZb3AqmZc/eTLR/dqAG7DyYixCEZkNMbBv7/lj/6pb526pVmGzwgPnqUQuVeuIFcN B0akhASHtvcN4RKtEsAUbAEHfZ6jLnLzlC57BHoN5S5wiePTvNLEnRxtC2mX9UNecNoo f9q2VwEMfl7TpluPu2SwkFeN3WzX6jcEyycy4BNBx7bpjLAifAz8uJuYBE6RtHPVZx4Q V4X5SRbXJQ8ayzT+vwJv/gvG1LRMQ5BvXV/wyTH2AGKKhL86K6E2urLwW5HwVxr639Ar BtgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CNs0bde5; 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 43si2215160edu.132.2019.05.13.17.11.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 13 May 2019 17:11:50 -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=CNs0bde5; 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]:36658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQL2r-0005Gt-Dv for patch@linaro.org; Mon, 13 May 2019 20:11:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQKyp-0001pI-FA for qemu-devel@nongnu.org; Mon, 13 May 2019 20:09:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQKxg-0003s9-65 for qemu-devel@nongnu.org; Mon, 13 May 2019 20:07:31 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:35783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQKxd-0003lk-UZ for qemu-devel@nongnu.org; Mon, 13 May 2019 20:06:27 -0400 Received: by mail-pf1-x433.google.com with SMTP id t87so8077720pfa.2 for ; Mon, 13 May 2019 17:06:23 -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=1kgfuF1MVun7P1d0mNatwqAFUCrmFPWnRVb1dwFf54w=; b=CNs0bde5VHPTPuHdyT+g0uPXyOQVWb/md047xu6VtaJrB1MEpkLQb9pFDedkQpKvgT HAx5OUCQF8d5avFy6SjnVSyF6yUlNDcZKeqTaxGCVDQjNP+EIFBVUTlxqijTLEiKimVR iLiPo3QWo9cad0mhwMCbwtYM0f4LLWQr1R/80vXKURUm0GO7j3Xc8GnF9leyiarDJkG7 hSzgCkiAfDVf5rSR9kNtqIJtNwQ6Z+2Wbfc/3FQDTsz7fQzlEZHxnGbLj2KD6nbtzAXt sCq/bdfcJ+7tra0yM4Zzf9rjPF2UKl7BzmX9turuqwEsSw+gWTcUefGb932Uh+rCFcTv vj+A== 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=1kgfuF1MVun7P1d0mNatwqAFUCrmFPWnRVb1dwFf54w=; b=A6aXkmQZVxaiKMTQOrdpVj4eSG5GGU0nB2qZzJvhe3yYgAe0Z3GeGughAGqiuLXLg7 lP68nCF19BMzOPne+NQY5Au2ell3JdPNEfdYKQcfBu4HBm7yekX5tl8HlCAYR6rz63tW tUhnlCgQFJlPkUSN7FRIER37ykDlJ0Uvd1SG7D2y25QeJFjbSQ1KKofh4A7JbjPqTsTQ K4KpCC6H3gcKQWg2NF2BL32RXGwz9nsS6TbbGxIbijhtozVhvUnXmm9uKcL99gsBj1Wc auYVy4REFfGDc0XsRg0DibTCjXYLH6jr69yqfwqDygXujq2Wr09ZJ/FyYA6LS99Lk4Bn 8A9w== X-Gm-Message-State: APjAAAUmXEDAhpq4qIdF1GhBGnC4BQJ6fxd1DE+LtT3AvSBNYBQ9uUwa QyKlaWgCgLhBW+e3/ijjqlylA9+verY= X-Received: by 2002:a63:754b:: with SMTP id f11mr35176034pgn.32.1557792382497; Mon, 13 May 2019 17:06:22 -0700 (PDT) Received: from localhost.localdomain (97-113-13-231.tukw.qwest.net. [97.113.13.231]) by smtp.gmail.com with ESMTPSA id u3sm238151pfn.29.2019.05.13.17.06.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 17:06:21 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 13 May 2019 17:05:40 -0700 Message-Id: <20190514000540.4313-32-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190514000540.4313-1-richard.henderson@linaro.org> References: <20190514000540.4313-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::433 Subject: [Qemu-devel] [PULL 31/31] tcg/aarch64: Do not advertise minmax for MO_64 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: peter.maydell@linux.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The min/max instructions are not available for 64-bit elements. Fixes: 93f332a50371 Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 1248dfd04c..40bf35079a 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -2333,16 +2333,16 @@ int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) case INDEX_op_sssub_vec: case INDEX_op_usadd_vec: case INDEX_op_ussub_vec: - case INDEX_op_smax_vec: - case INDEX_op_smin_vec: - case INDEX_op_umax_vec: - case INDEX_op_umin_vec: case INDEX_op_shlv_vec: return 1; case INDEX_op_shrv_vec: case INDEX_op_sarv_vec: return -1; case INDEX_op_mul_vec: + case INDEX_op_smax_vec: + case INDEX_op_smin_vec: + case INDEX_op_umax_vec: + case INDEX_op_umin_vec: return vece < MO_64; default: