Re: [PATCH 02/38] target/riscv: Hoist vector functions

2021-03-09 Thread Alistair Francis
On Fri, Feb 12, 2021 at 10:07 AM LIU Zhiwei wrote: > > The saturate functions about add,subtract and shift functions can > be used in packed extension.Therefore hoist them up. A better title might be: target/riscv: Make the vector helper functions public Otherwise: Reviewed-by: Alistair

[PATCH 02/38] target/riscv: Hoist vector functions

2021-02-12 Thread LIU Zhiwei
The saturate functions about add,subtract and shift functions can be used in packed extension.Therefore hoist them up. The endianess process macro is also be hoisted. Signed-off-by: LIU Zhiwei --- target/riscv/internals.h | 50 ++ target/riscv/vector_helper.c | 82