target/riscv: rvv-1.0: floating-point min/max instructions
Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211210075704.23951-60-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
c3536f2f55
commit
49c5611a97
@ -3387,28 +3387,28 @@ GEN_VEXT_V_ENV(vfsqrt_v_w, 4, 4)
|
|||||||
GEN_VEXT_V_ENV(vfsqrt_v_d, 8, 8)
|
GEN_VEXT_V_ENV(vfsqrt_v_d, 8, 8)
|
||||||
|
|
||||||
/* Vector Floating-Point MIN/MAX Instructions */
|
/* Vector Floating-Point MIN/MAX Instructions */
|
||||||
RVVCALL(OPFVV2, vfmin_vv_h, OP_UUU_H, H2, H2, H2, float16_minnum)
|
RVVCALL(OPFVV2, vfmin_vv_h, OP_UUU_H, H2, H2, H2, float16_minimum_number)
|
||||||
RVVCALL(OPFVV2, vfmin_vv_w, OP_UUU_W, H4, H4, H4, float32_minnum)
|
RVVCALL(OPFVV2, vfmin_vv_w, OP_UUU_W, H4, H4, H4, float32_minimum_number)
|
||||||
RVVCALL(OPFVV2, vfmin_vv_d, OP_UUU_D, H8, H8, H8, float64_minnum)
|
RVVCALL(OPFVV2, vfmin_vv_d, OP_UUU_D, H8, H8, H8, float64_minimum_number)
|
||||||
GEN_VEXT_VV_ENV(vfmin_vv_h, 2, 2)
|
GEN_VEXT_VV_ENV(vfmin_vv_h, 2, 2)
|
||||||
GEN_VEXT_VV_ENV(vfmin_vv_w, 4, 4)
|
GEN_VEXT_VV_ENV(vfmin_vv_w, 4, 4)
|
||||||
GEN_VEXT_VV_ENV(vfmin_vv_d, 8, 8)
|
GEN_VEXT_VV_ENV(vfmin_vv_d, 8, 8)
|
||||||
RVVCALL(OPFVF2, vfmin_vf_h, OP_UUU_H, H2, H2, float16_minnum)
|
RVVCALL(OPFVF2, vfmin_vf_h, OP_UUU_H, H2, H2, float16_minimum_number)
|
||||||
RVVCALL(OPFVF2, vfmin_vf_w, OP_UUU_W, H4, H4, float32_minnum)
|
RVVCALL(OPFVF2, vfmin_vf_w, OP_UUU_W, H4, H4, float32_minimum_number)
|
||||||
RVVCALL(OPFVF2, vfmin_vf_d, OP_UUU_D, H8, H8, float64_minnum)
|
RVVCALL(OPFVF2, vfmin_vf_d, OP_UUU_D, H8, H8, float64_minimum_number)
|
||||||
GEN_VEXT_VF(vfmin_vf_h, 2, 2)
|
GEN_VEXT_VF(vfmin_vf_h, 2, 2)
|
||||||
GEN_VEXT_VF(vfmin_vf_w, 4, 4)
|
GEN_VEXT_VF(vfmin_vf_w, 4, 4)
|
||||||
GEN_VEXT_VF(vfmin_vf_d, 8, 8)
|
GEN_VEXT_VF(vfmin_vf_d, 8, 8)
|
||||||
|
|
||||||
RVVCALL(OPFVV2, vfmax_vv_h, OP_UUU_H, H2, H2, H2, float16_maxnum)
|
RVVCALL(OPFVV2, vfmax_vv_h, OP_UUU_H, H2, H2, H2, float16_maximum_number)
|
||||||
RVVCALL(OPFVV2, vfmax_vv_w, OP_UUU_W, H4, H4, H4, float32_maxnum)
|
RVVCALL(OPFVV2, vfmax_vv_w, OP_UUU_W, H4, H4, H4, float32_maximum_number)
|
||||||
RVVCALL(OPFVV2, vfmax_vv_d, OP_UUU_D, H8, H8, H8, float64_maxnum)
|
RVVCALL(OPFVV2, vfmax_vv_d, OP_UUU_D, H8, H8, H8, float64_maximum_number)
|
||||||
GEN_VEXT_VV_ENV(vfmax_vv_h, 2, 2)
|
GEN_VEXT_VV_ENV(vfmax_vv_h, 2, 2)
|
||||||
GEN_VEXT_VV_ENV(vfmax_vv_w, 4, 4)
|
GEN_VEXT_VV_ENV(vfmax_vv_w, 4, 4)
|
||||||
GEN_VEXT_VV_ENV(vfmax_vv_d, 8, 8)
|
GEN_VEXT_VV_ENV(vfmax_vv_d, 8, 8)
|
||||||
RVVCALL(OPFVF2, vfmax_vf_h, OP_UUU_H, H2, H2, float16_maxnum)
|
RVVCALL(OPFVF2, vfmax_vf_h, OP_UUU_H, H2, H2, float16_maximum_number)
|
||||||
RVVCALL(OPFVF2, vfmax_vf_w, OP_UUU_W, H4, H4, float32_maxnum)
|
RVVCALL(OPFVF2, vfmax_vf_w, OP_UUU_W, H4, H4, float32_maximum_number)
|
||||||
RVVCALL(OPFVF2, vfmax_vf_d, OP_UUU_D, H8, H8, float64_maxnum)
|
RVVCALL(OPFVF2, vfmax_vf_d, OP_UUU_D, H8, H8, float64_maximum_number)
|
||||||
GEN_VEXT_VF(vfmax_vf_h, 2, 2)
|
GEN_VEXT_VF(vfmax_vf_h, 2, 2)
|
||||||
GEN_VEXT_VF(vfmax_vf_w, 4, 4)
|
GEN_VEXT_VF(vfmax_vf_w, 4, 4)
|
||||||
GEN_VEXT_VF(vfmax_vf_d, 8, 8)
|
GEN_VEXT_VF(vfmax_vf_d, 8, 8)
|
||||||
|
Loading…
Reference in New Issue
Block a user