From patchwork Sat May 4 05:53:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 163378 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp264432ill; Fri, 3 May 2019 23:22:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqEeMJ5s94tRPJHV6ohcJVK5pNwx9DWXC0GMGZyKRyjL3uQhrH3E+eDUGKC9oAhAYIF4cx X-Received: by 2002:adf:ec47:: with SMTP id w7mr254991wrn.197.1556950926615; Fri, 03 May 2019 23:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556950926; cv=none; d=google.com; s=arc-20160816; b=iQodvBc6rcBmeSSd546VnJpLkDmVSXYbHDYzC9jUTsSTm8ENAc6TX2kOfkNSc9WMPi q4VMC1IfAar8pw1tdQ81XRd18yx13fy3Icf9lYbP3H2bepb78wsfxqsyBMcYKvV+ZuPo 8ai1+/AeVZACwDgFUJfNIDQSIHf4CaCBAPBPNrMkICvbRThs+NdmLyqZcJEQnMUSTDSJ +yK7s5ql+PEpTs3tZCxPguWSjME1CimFobnLw8V8YBnIvQ5ADFggxZOaV4YeBaWgvsfE EvVy4DPuHftH4mQAVEf9eEFzAO5k75LYv5L6X32eDgkqsUzZv76DooOi/7yHqN4lhCv9 hO+w== 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=tIygHdppWS7z7SV8q8qHfD/88HKRxXbhxr5Q11UfKw4=; b=JYHjeHtbyEDn3BRWt1rBUQOzUmMCi/pKoDFC79bDHeOLqo6NRCyXtapT3JEfAcwOQT JZk8epr8Dv8XYY/07jV3z98u9t8jFaqwRchjYVR73yCbmaBOWPHzAGizASAdh+k4NNgo EgP5/KsMMM5BlRg7OqI7uR6ymswzhvDb+1vc++gHhHgYvnaiymbUyj0vbucCkgkm8Rht xcpG/lhaJKOWkEOntqj0qnUaUlpP3xKD54qMl+PLaszULfpy7g/u+qbmMWtakVKvBg0W T0TK9YA8fdE3CbUI2k91FljN+OJgboX234gs7Mi1M7jIpBTIz2R5MGQtZc4s9AUfGZ74 /ctw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YzwRBDUY; 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 p4si2095587wmc.77.2019.05.03.23.22.06 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 03 May 2019 23:22:06 -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=YzwRBDUY; 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]:52012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMo3h-0007PQ-K0 for patch@linaro.org; Sat, 04 May 2019 02:22:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMncE-0008AW-7u for qemu-devel@nongnu.org; Sat, 04 May 2019 01:53:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMncD-0004ic-Bj for qemu-devel@nongnu.org; Sat, 04 May 2019 01:53:42 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:36051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMncD-0004hs-5y for qemu-devel@nongnu.org; Sat, 04 May 2019 01:53:41 -0400 Received: by mail-pf1-x442.google.com with SMTP id v80so3978159pfa.3 for ; Fri, 03 May 2019 22:53:41 -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=tIygHdppWS7z7SV8q8qHfD/88HKRxXbhxr5Q11UfKw4=; b=YzwRBDUYyI+7OdmU7QWnzA4M4wRPWQyiLe2O8wSSwfTw8LxY76XYNpjWlY9BkmfwU1 cLy8SeYKaaJIzj99LMDkUi+2QhQkffw6SupnlwL7pZ96OxuriY/geZ1S87s/tPdAryKl /n1EuKMP1I1VCJB6pvWAvBkruTHt3zd27pRnUXUmjQXMxbUW7q6afQn5FkK3WcVfajsY FjuchkqNJyuTvw+XXUV/CQVO5lMgJKiNUqgGNfA3eEoPxnOjD8Faf5K59yJFXNA8/G02 cuJ48NO6Zq3heGCYQ9yGGmkGdDi9jkuQGkEoVdnRUO01JIpu7ssk1NodBA2ygZq1ach7 mC4Q== 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=tIygHdppWS7z7SV8q8qHfD/88HKRxXbhxr5Q11UfKw4=; b=bsis/6pV//bQ9hJzMNVMlUKytyaNpCP1W1tTGMcomNC5PGAbHHW3dYIWcEnvYgkvn2 KZud5AMT8gD7OuOW/Yjt0JZ1j0jV0L8Q+LUM4s2wcdgE2qLNy7JkDsxaegZuV1pjT+WM KuYC14T6bdFYqoe3fRNeo1RyBf5uNeDUbY0q1rQpPDQKkgfcpDbKphYCx3CFYyhsmr6c GdBhueU3oE40zgCwWJaWp2no69QKnKoibnWgy1dDmCCbD+1HzabgXbOpemv9/VXythrn z7Z+MyAOw65Si530YBYldm4dVEjTa6x8TpzZh1A2ERhZO8WwoQLBnJVj0jeqpXFHrW37 4idA== X-Gm-Message-State: APjAAAUqLxzIVvVF2VNbBND/d0Jj+Ko+iLuIFbyNNJamwTbkLfrOO+5B 83sq+KSPG5g5lBrVhIEASB7AMVergN0= X-Received: by 2002:a63:e004:: with SMTP id e4mr16248223pgh.344.1556949219880; Fri, 03 May 2019 22:53:39 -0700 (PDT) Received: from localhost.localdomain (97-113-189-189.tukw.qwest.net. [97.113.189.189]) by smtp.gmail.com with ESMTPSA id 15sm6680423pfo.117.2019.05.03.22.53.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 May 2019 22:53:39 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 3 May 2019 22:53:00 -0700 Message-Id: <20190504055300.18426-32-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190504055300.18426-1-richard.henderson@linaro.org> References: <20190504055300.18426-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 v3 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: alex.bennee@linaro.org, david@redhat.com 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 5684b39e1f..e13960711d 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -2332,16 +2332,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: