Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/layer/riscv/rvv_mathfun.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ _RVV_FLOAT32_COS_OP(8, 4)
\
/* clamp the inputs to the range [-9, 9] since anything outside */ \
/* this range is -/+1.0f in single-precision. */ \
x2 = vfmin_vf_f32m##LMUL(x, c_tanh_hi, vl); \
x2 = vfmin_vf_f32m##LMUL(x2, c_tanh_hi, vl); \
\
/* since the polynomials are odd/even, we need x**2. */ \
vfloat32m##LMUL##_t z = vfmul_vv_f32m##LMUL(x2, x2, vl); \
Expand Down