mbox series

[0/5] tcg: Add 32-bit vector operations

Message ID 20210624105023.3852-1-zhiwei_liu@c-sky.com
Headers show
Series tcg: Add 32-bit vector operations | expand

Message

LIU Zhiwei June 24, 2021, 10:50 a.m. UTC
This patch set is split from RISC-V Packed extension where needs
some i32 vector operations, accorind to Richard Henderson's suggestion.

The original implementation is on
https://www.mail-archive.com/qemu-devel@nongnu.org/msg814538.html.

LIU Zhiwei (5):
  tcg: Add tcg_gen_vec_add{sub}16_i32
  tcg: Add tcg_gen_vec_add{sub}8_i32
  tcg: Add tcg_gen_vec_shl{shr}{sar}16i_i32
  tcg: Add tcg_gen_vec_shl{shr}{sar}8i_i32
  tcg: Implement tcg_gen_vec_add{sub}32_tl

 include/tcg/tcg-op-gvec.h |  43 ++++++++++++++
 tcg/tcg-op-gvec.c         | 122 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)

Comments

Richard Henderson June 26, 2021, 3:53 a.m. UTC | #1
On 6/24/21 3:50 AM, LIU Zhiwei wrote:
> This patch set is split from RISC-V Packed extension where needs
> some i32 vector operations, accorind to Richard Henderson's suggestion.
> 
> The original implementation is on
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg814538.html.
> 
> LIU Zhiwei (5):
>    tcg: Add tcg_gen_vec_add{sub}16_i32
>    tcg: Add tcg_gen_vec_add{sub}8_i32
>    tcg: Add tcg_gen_vec_shl{shr}{sar}16i_i32
>    tcg: Add tcg_gen_vec_shl{shr}{sar}8i_i32
>    tcg: Implement tcg_gen_vec_add{sub}32_tl
> 
>   include/tcg/tcg-op-gvec.h |  43 ++++++++++++++
>   tcg/tcg-op-gvec.c         | 122 ++++++++++++++++++++++++++++++++++++++
>   2 files changed, 165 insertions(+)
> 

Queued to tcg-next, thanks.

r~