riscvarchive / riscv-gcc

GNU General Public License v2.0
361 stars 274 forks source link

The intrinsic API of vector extension of branch 'riscv-gcc-10.1-rvv-dev' is not identical with spec #255

Closed rjiejie closed 3 years ago

rjiejie commented 3 years ago

e.g.

The prototype of 'vle32_v_i32m1' is :

vle##SEW##ff_v_i##SEW##m##LMUL (const int##SEW##_t a, word_type new_vl, word_type vl)

but the spec https://github.com/riscv/rvv-intrinsic-doc describe it as:

vint32m1_t vle32_v_i32m1 (const int32_t *base, size_t vl);

kito-cheng commented 3 years ago

vle##SEW##ff_v_i##SEW##m##LMUL (const int##SEW##_t a, word_type new_vl, word_type vl)

This declaration is used for vle*ff_v_* functions.