Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kNKyw-0006zP-EN for mharc-qemu-riscv@gnu.org; Tue, 29 Sep 2020 15:08:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNKyt-0006x5-Fv for qemu-riscv@nongnu.org; Tue, 29 Sep 2020 15:08:07 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:46851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNKyr-0002My-R3 for qemu-riscv@nongnu.org; Tue, 29 Sep 2020 15:08:07 -0400 Received: by mail-pf1-x434.google.com with SMTP id b124so5502382pfg.13 for ; Tue, 29 Sep 2020 12:08:05 -0700 (PDT) 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; bh=VayNy6WNBL4cZZfrNwtrFRs18luSxkt42LlMHvIBi7M=; b=G+tI3Xaw38igCBcvqUGHR8D8uq0UBc7YdLdolBHUd3TcejTC2eRqD+dXG+1PHE+nR+ gI0MSd0dvGbNAWBG5JpvY7AQkYWwOJUyAz/InAomJsoMMxSkf2WWP4dnNwOxtbie9lCV ZBLjSak/xacMJbOx3kiKopkg80T6oc2Mf5Pvsb0kovCtjcm2wMJnzuLT8feTt/7io6nF Z86Az2x3u4pHmIQNgB+7yhXhYdsWtIpGm/I7rUqJ0P9qaVa+sR8kLvhtByfnt+KnUAkD GIXUIxZbgVeaR4pP+cje4YAqOETtpAOMMZn4VjiXXUHPf0SyJBwSW0T8KF+2C2RjU66d ofHg== 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=VayNy6WNBL4cZZfrNwtrFRs18luSxkt42LlMHvIBi7M=; b=ek/O5P4hE+noW5QTTo0igIyByy8HAtvp6vcNEbe4ZuCQkjaaLEwu2+qzcA3ATNIRFV dM+olOus3rk+e6aGu6NA+rCldUfgF12X9adqmw6HXjhGJB9mkrFTrop1tnHUDAkwSW0r BaRVyD+u0GxN1miV8vXyNh134qVOpGcnMCyGwtimS3PiyqUoUfh9+/7KImxuixdioS/c Bh6kZ6YepN0SLpQIDAc50koFthHQh6v51LB16EU2uyklaHp+RW0vthok3Winjncs/G7k e9DyFy2khgrOIoeD8Efr10VoSr55D1cqIy/3G3yfZFLkeKuHF8FqEfHQpuI/vW7DOIIj Y0fg== X-Gm-Message-State: AOAM532pH1RvTJuRXZA1BM97iwpoSv+r8wr8jYz7bj1KFjpjNHjs8vKn SfzU/v3EabD21PE8muiiZGlZhg== X-Google-Smtp-Source: ABdhPJzScCVotYZfolNpJcw5GTNTZpvZRcM0MAcJDyLBVwBj1BwZSD+Ps9Dok+XHpMUpkZPEmKe8yQ== X-Received: by 2002:a17:902:9f97:b029:d2:89d4:bc with SMTP id g23-20020a1709029f97b02900d289d400bcmr6236396plq.12.1601406484572; Tue, 29 Sep 2020 12:08:04 -0700 (PDT) Received: from localhost.localdomain (122-116-72-36.HINET-IP.hinet.net. [122.116.72.36]) by smtp.gmail.com with ESMTPSA id v8sm6003950pgg.58.2020.09.29.12.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 12:08:04 -0700 (PDT) From: frank.chang@sifive.com To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Frank Chang , Palmer Dabbelt , Alistair Francis , Sagar Karandikar , Bastian Koppelmann Subject: [RFC v5 47/68] target/riscv: rvv-1.0: floating-point compare instructions Date: Wed, 30 Sep 2020 03:04:22 +0800 Message-Id: <20200929190448.31116-48-frank.chang@sifive.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200929190448.31116-1-frank.chang@sifive.com> References: <20200929190448.31116-1-frank.chang@sifive.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=frank.chang@sifive.com; helo=mail-pf1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 19:08:08 -0000 From: Frank Chang Signed-off-by: Frank Chang Reviewed-by: Richard Henderson --- target/riscv/vector_helper.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 5622fb23f8..93ed6f54e9 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -3919,7 +3919,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_maxsz(desc) / sizeof(ETYPE); \ uint32_t i; \ \ for (i = 0; i < vl; i++) { \ @@ -3931,9 +3930,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) @@ -3946,7 +3942,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++) { \ @@ -3957,9 +3952,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) -- 2.17.1