Run api testing error with gcc
muxiff opened this issue · 2 comments
muxiff commented
hi,@zhongjuzhe,
I run the api-testing with gcc upstream master branch, and it reports several other errors besides rounding mode intrinsics,
1.expected 'const float *' but argument is of type 'const float16_t *' {aka 'const _Float16 *'}
such as:
/rvv-intrinsic-doc/auto-generated/api-testing/vloxseg3ei64.c:12:42: warning: passing argument 1 of '__riscv_vloxseg3ei64_v_f16mf2x3' from incompatible pointer type [-Wincompatible-pointer-types]
12 | return __riscv_vloxseg3ei64_v_f16mf2x3(base, bindex, vl);
| ^~~~
| |
| const float16_t * {aka const _Float16 *}
2.internal compiler error
, such as:
/rvv-intrinsic-doc/auto-generated/api-testing/vloxseg3ei64.c:8:10: internal compiler error: in code_for_pred_indexed_load, at ./insn-opinit.h:2646
8 | return __riscv_vloxseg3ei64_v_f16mf4x3(base, bindex, vl);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
during RTL pass: expand
3.error: too few arguments to function
, such as:
/rvv-intrinsic-doc/auto-generated/api-testing/vsadd.c:188:10: error: too few arguments to function '__riscv_vsadd_vx_i8mf8_m'
188 | return __riscv_vsadd_vx_i8mf8_m(mask, op1, op2, vl);
| ^~~~~~~~~~~~~~~~~~~~~~~~
Will these be fixed in the future?
Thank you !
zhongjuzhe commented
Sorry for inconvenience. We are working on it.
We will finish all api support and tests this month.
Thanks.
muxiff commented
Got it!
Thanks for your reply! @zhongjuzhe