From patchwork Mon Nov 29 03:03:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Chang X-Patchwork-Id: 1560985 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.a=rsa-sha256 header.s=google header.b=J7nledR4; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J2WGs6g8dz9t0T for ; Mon, 29 Nov 2021 14:36:21 +1100 (AEDT) Received: from localhost ([::1]:42732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrXSl-0000PQ-GA for incoming@patchwork.ozlabs.org; Sun, 28 Nov 2021 22:36:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrX1D-0000kH-L7 for qemu-devel@nongnu.org; Sun, 28 Nov 2021 22:07:51 -0500 Received: from [2607:f8b0:4864:20::1029] (port=52740 helo=mail-pj1-x1029.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrX1A-0000h7-KF for qemu-devel@nongnu.org; Sun, 28 Nov 2021 22:07:51 -0500 Received: by mail-pj1-x1029.google.com with SMTP id h24so11522226pjq.2 for ; Sun, 28 Nov 2021 19:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YE6GU3EgdqLfh6XtDoPgH6ClC3r3aGQSWUDP080hnKE=; b=J7nledR4sa2KTx7Gq5OMNfpGkkP2RThYNT4H5l23Oe5nQBWjuue02kcjOAUAUZ84KK nkQm0kqrd19RmtCpAwa0XdpxoAvgNQq4uLF3vYcL4jT0qAg/33hVZUc97WvyWVEW/ddb zedVnTGaaclVmwYFlQSpwcQ1SeLZzGuVM4FWaSkxos1VI3RtaNy7atTvP+yuuci/OXZA /OFjsxPChsxU3S11PjeoneaPA8aebye5WNg1PnhPJOYdlP+yzh+cPpwe4ZcVFHjet+7r yjsAg4JZ3rP534t1L0pB6WPgF7X5MSceVzYC+0IqhsmA0MLzlIKl7NwZ0KgU4wstO/83 HayQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YE6GU3EgdqLfh6XtDoPgH6ClC3r3aGQSWUDP080hnKE=; b=q5k8keMQaVGs6cGKpioyCY5oCB5jpytZ40oVNIVoUNiYw3rqSZRGyN6fwiQbr3HHPi b3HLB6xN24AZgbFrgpxGdZ4XYaybdQ7wUetFp1VRnoh6YBUt9h7EGT2zo7zEokqw9G/Q fLB1sA+1uXhPDMKHeUSOrzL1lpW7ATUJs16wo4pVuy+Cv7S83HwrfK7SR4chZvwkqGYW qjOK5RbuoLIwi8OTOHgJKVDQrkaeHO+EIZbAZi2jJBhkQh6CPVRO9QRt7DYq2gUuM80m eXPer8f0p8PadqM+QVWEQ51rrt9WHCyyUwBGxcpQF9Wwh446Nl4iLVcCIQiCWsoaMtBb Y/dA== X-Gm-Message-State: AOAM532Bj6Tm23YqvTGl8kf485F3+jc4QnWK6pOkhwdI1bLQoRw43OF8 AOZgQx89CuYT2RVgd7pORGXXwNTFYf8w/7kM X-Google-Smtp-Source: ABdhPJx4YETE64YG6Je0mwW8JkyU4Zw6xRrlNMQjN2lzoBepzLiuTE4pK6O/5PKavKSjymLk3lGBdA== X-Received: by 2002:a17:90a:af97:: with SMTP id w23mr34864112pjq.128.1638155266827; Sun, 28 Nov 2021 19:07:46 -0800 (PST) Received: from frankchang-ThinkPad-T490.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id oj11sm17904040pjb.46.2021.11.28.19.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 19:07:46 -0800 (PST) From: frank.chang@sifive.com To: qemu-devel@nongnu.org Subject: [PATCH v10 48/77] target/riscv: rvv-1.0: floating-point compare instructions Date: Mon, 29 Nov 2021 11:03:08 +0800 Message-Id: <20211129030340.429689-49-frank.chang@sifive.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211129030340.429689-1-frank.chang@sifive.com> References: <20211129030340.429689-1-frank.chang@sifive.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1029 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=frank.chang@sifive.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-riscv@nongnu.org, Frank Chang , Bin Meng , Richard Henderson , Alistair Francis , Palmer Dabbelt Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Frank Chang Signed-off-by: Frank Chang Reviewed-by: Richard Henderson --- target/riscv/vector_helper.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 277a5e4120a..71d7b1e8796 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -3710,8 +3710,6 @@ void HELPER(NAME)(void *vd, void *v0, void *vs1, void *vs2, \ { \ uint32_t vm = vext_vm(desc); \ uint32_t vl = env->vl; \ - uint32_t vlmax = vext_max_elems(desc, \ - ctzl(sizeof(ETYPE))); \ uint32_t i; \ \ for (i = 0; i < vl; i++) { \ @@ -3723,9 +3721,6 @@ void HELPER(NAME)(void *vd, void *v0, void *vs1, void *vs2, \ vext_set_elem_mask(vd, i, \ DO_OP(s2, s1, &env->fp_status)); \ } \ - for (; i < vlmax; i++) { \ - vext_set_elem_mask(vd, i, 0); \ - } \ } GEN_VEXT_CMP_VV_ENV(vmfeq_vv_h, uint16_t, H2, float16_eq_quiet) @@ -3738,7 +3733,6 @@ void HELPER(NAME)(void *vd, void *v0, uint64_t s1, void *vs2, \ { \ uint32_t vm = vext_vm(desc); \ uint32_t vl = env->vl; \ - uint32_t vlmax = vext_max_elems(desc, ctzl(sizeof(ETYPE))); \ uint32_t i; \ \ for (i = 0; i < vl; i++) { \ @@ -3749,9 +3743,6 @@ void HELPER(NAME)(void *vd, void *v0, uint64_t s1, void *vs2, \ vext_set_elem_mask(vd, i, \ DO_OP(s2, (ETYPE)s1, &env->fp_status)); \ } \ - for (; i < vlmax; i++) { \ - vext_set_elem_mask(vd, i, 0); \ - } \ } GEN_VEXT_CMP_VF(vmfeq_vf_h, uint16_t, H2, float16_eq_quiet)