[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 47/75] target/riscv: rvv-1.0: floating-point compare instructi
From: |
frank . chang |
Subject: |
[PATCH v7 47/75] target/riscv: rvv-1.0: floating-point compare instructions |
Date: |
Fri, 26 Feb 2021 11:18:31 +0800 |
From: Frank Chang <frank.chang@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
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 5622fb23f85..93ed6f54e99 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
- [PATCH v7 37/75] target/riscv: rvv-1.0: floating-point scalar move instructions, (continued)
- [PATCH v7 37/75] target/riscv: rvv-1.0: floating-point scalar move instructions, frank . chang, 2021/02/25
- [PATCH v7 38/75] target/riscv: rvv-1.0: whole register move instructions, frank . chang, 2021/02/25
- [PATCH v7 39/75] target/riscv: rvv-1.0: integer extension instructions, frank . chang, 2021/02/25
- [PATCH v7 40/75] target/riscv: rvv-1.0: single-width averaging add and subtract instructions, frank . chang, 2021/02/25
- [PATCH v7 41/75] target/riscv: rvv-1.0: single-width bit shift instructions, frank . chang, 2021/02/25
- [PATCH v7 42/75] target/riscv: rvv-1.0: integer add-with-carry/subtract-with-borrow, frank . chang, 2021/02/25
- [PATCH v7 43/75] target/riscv: rvv-1.0: narrowing integer right shift instructions, frank . chang, 2021/02/25
- [PATCH v7 44/75] target/riscv: rvv-1.0: widening integer multiply-add instructions, frank . chang, 2021/02/25
- [PATCH v7 45/75] target/riscv: rvv-1.0: single-width saturating add and subtract instructions, frank . chang, 2021/02/25
- [PATCH v7 46/75] target/riscv: rvv-1.0: integer comparison instructions, frank . chang, 2021/02/25
- [PATCH v7 47/75] target/riscv: rvv-1.0: floating-point compare instructions,
frank . chang <=
- [PATCH v7 48/75] target/riscv: rvv-1.0: mask-register logical instructions, frank . chang, 2021/02/25
- [PATCH v7 49/75] target/riscv: rvv-1.0: slide instructions, frank . chang, 2021/02/25
- [PATCH v7 50/75] target/riscv: rvv-1.0: floating-point slide instructions, frank . chang, 2021/02/25
- [PATCH v7 51/75] target/riscv: rvv-1.0: narrowing fixed-point clip instructions, frank . chang, 2021/02/25
- [PATCH v7 53/75] target/riscv: rvv-1.0: widening floating-point reduction instructions, frank . chang, 2021/02/25
- [PATCH v7 52/75] target/riscv: rvv-1.0: single-width floating-point reduction, frank . chang, 2021/02/25
- [PATCH v7 54/75] target/riscv: rvv-1.0: single-width scaling shift instructions, frank . chang, 2021/02/25
- [PATCH v7 55/75] target/riscv: rvv-1.0: remove widening saturating scaled multiply-add, frank . chang, 2021/02/25
- [PATCH v7 56/75] target/riscv: rvv-1.0: remove vmford.vv and vmford.vf, frank . chang, 2021/02/25
- [PATCH v7 57/75] target/riscv: rvv-1.0: remove integer extract instruction, frank . chang, 2021/02/25