Re: [PATCH v9 05/10] target/riscv: use vext_set_tail_elems_1s() in vcrypto insns

2024-03-09 Thread Richard Henderson
On 3/9/24 10:43, Daniel Henrique Barboza wrote: Vcrypto insns should also use the same helper the regular vector insns uses to update the tail elements. Move vext_set_tail_elems_1s() to vector_internals.c and make it public. Use it in vcrypto_helper.c to set tail elements instead of vext_set_ele

[PATCH v9 05/10] target/riscv: use vext_set_tail_elems_1s() in vcrypto insns

2024-03-09 Thread Daniel Henrique Barboza
Vcrypto insns should also use the same helper the regular vector insns uses to update the tail elements. Move vext_set_tail_elems_1s() to vector_internals.c and make it public. Use it in vcrypto_helper.c to set tail elements instead of vext_set_elems_1s(). Helpers must set env->vstart = 0 after se