From patchwork Sat Apr 20 07:34:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 162584 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp316014jan; Sat, 20 Apr 2019 01:02:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyU4vffA/igNl6U+LGp2peIHMA+5RGIx+0T6/jFv73eIh7VwsgVT/ZwjU0nCNzTvrexFSo3 X-Received: by 2002:a1c:f702:: with SMTP id v2mr5501044wmh.0.1555747366958; Sat, 20 Apr 2019 01:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555747366; cv=none; d=google.com; s=arc-20160816; b=jg2Ul+3MpInkOxQfzirzTy+RLFwgLz23oLUQu4dQM0vqkuz41cWvn5DYwtxhFnDhL6 wpVGxFizVyJWPCT5UWc3krtuHUXeYxh4VjN2R5x0nf+DlPvzU0DYuHOtaKFatim15pUL s5U6XeUz1hRnkCcRFbZp25sBVtu67KGw2amfYejLzYfnB7/vyr11lM7NJKo3OZiBM9HF CQ3iVr3BT3j/8+hLnMGfkBNF5KnmlbkFHFyn0H8If7jRVupGC/yEeztI4j6rDqQLO9yh F/veNQMmsSUxKoykkutPPJQqzjy0B6lUxMzBPPDbUBoZ4Add+wu+lf0R3G3Jq3lkgrbs UIVA== 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=6wY+MX9gb/NGFl8f/7Ms1g+8OImy6UwT9MWlwo8Wb2o=; b=g3mKV9bo1XYH+T9ly/UjmAvYB0MQPzZa+euqd05yY92HcXMJ5bhuIzfXvojcoadL1R xgVkXptW8BxY4fONpUks4FIQKzzinIMT9hJim5KXu929/c+tzh+Nymov7Y5+fV1i+Hg5 qBmnrY7+2SnfR2gaGUNc3qipF8jUEtIUN5YJxAWO1GaEgm5x74wiOeW15lZmqie3V6NR fN5uTFqKkVq57fOrnDlvWZpHUPCiQ1eqLWHJ7h4rITS9QCzKxCRYmL1VBzi84cALA74W 1Yg9IgupGP9ht89DN1NRQADrSrUaxt5o4isTLRPge7R4GorskTKLcRkFVnvcHbcsFGxi gaeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=vDULNkCE; 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 q15si5728867wrm.76.2019.04.20.01.02.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 20 Apr 2019 01:02:46 -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=vDULNkCE; 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]:38455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHkxR-0007MR-Ti for patch@linaro.org; Sat, 20 Apr 2019 04:02:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHkXY-00012g-Dc for qemu-devel@nongnu.org; Sat, 20 Apr 2019 03:36:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHkXW-0000n9-Dt for qemu-devel@nongnu.org; Sat, 20 Apr 2019 03:36:00 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:38052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHkXW-0000HX-6Y for qemu-devel@nongnu.org; Sat, 20 Apr 2019 03:35:58 -0400 Received: by mail-pf1-x444.google.com with SMTP id 10so3469324pfo.5 for ; Sat, 20 Apr 2019 00:35:39 -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=6wY+MX9gb/NGFl8f/7Ms1g+8OImy6UwT9MWlwo8Wb2o=; b=vDULNkCEVDAEy+8uXRYHenNyq/KPXhdCOJ3lrZFI20hgHAtRTlH7kGiNyRof7ozS4Q NPHHvzUakzyQzr4B8GH7ydiLHfQ8waw7OF1JntO0EP0R/qC1XqTLNNnUGKBKn7r1UKB5 8MZkEk7Wk9Jp91DlXm+Jr7qbv/E0wI8Uy2jFwyldJN9DgCRfyU2nPafHXC6QLiCQLrDA ywIjTEypuG9Ktp6MgKks6tISpWil9Ai5z3sqAtC2RfS03UuyOvNdiTbgBK8B+IVKBMhG Bysz7Da3uI3Iv49GK21bvj/G5CJ42KjH9KsYgF3bJhTfUflP82A/kYal3viogs0Qxxhq BRWg== 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=6wY+MX9gb/NGFl8f/7Ms1g+8OImy6UwT9MWlwo8Wb2o=; b=axu9eZIReIiG9Vn4CXW4qLLS0JYWNQNc6r55ni24mvHYOuS8Pb1qM6w4nuhwRsQFGi tZkg2g2USaMsKMPsxgMJQzxTJtS7i0qZXtwgbyStmTDxgX5j7qflawf+3G4XXEQzHFS1 Gib1N0uBXDgffWiUgn1+VqlCBNqv/DZGhCV5vbDhrExDyeAJe1aUm13HT0ktLsUVR7It ibPAG0I5mg65BxSrvlifVAbEX2yeULHdhEPtiV9mLliHEIxJmVSZywrfzAzRRSw2TqK4 ebSDN/2OC1h7wNOfAAJGzhcq64o8ALMkpX2ZgPnNxKvumUpwU0JxT+L2EF6K8jDQQogw qsIw== X-Gm-Message-State: APjAAAVo9jzQ5PRwtHsK3NA9aXFw0cSLdOBawInNnbSURV8vyiiMFIDJ bEedKa8omYdf5gpKb65I5v3Jk+bfwZI= X-Received: by 2002:a63:fa46:: with SMTP id g6mr8134255pgk.382.1555745738114; Sat, 20 Apr 2019 00:35:38 -0700 (PDT) Received: from localhost.localdomain (rrcs-66-91-136-155.west.biz.rr.com. [66.91.136.155]) by smtp.gmail.com with ESMTPSA id z22sm7025492pgv.23.2019.04.20.00.35.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2019 00:35:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 19 Apr 2019 21:34:37 -1000 Message-Id: <20190420073442.7488-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190420073442.7488-1-richard.henderson@linaro.org> References: <20190420073442.7488-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::444 Subject: [Qemu-devel] [PATCH 33/38] 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: 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 84d402acd8..e68e4de08c 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -2348,16 +2348,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: