Re: [PATCH v2 3/7] target/s390x: vxeh2: vector shift {double by bit, left, right {logical,arithmetic}}

2022-03-07 Thread Richard Henderson
On 3/6/22 16:03, David Miller wrote: } +/** + * deposit8: + * @value: initial value to insert bit field into + * @start: the lowest bit in the bit field (numbered from 0) + * @length: the length of the bit field + * @fieldval: the value to insert into the bit field + * + * Deposit @fieldval int

[PATCH v2 3/7] target/s390x: vxeh2: vector shift {double by bit, left, right {logical, arithmetic}}

2022-03-06 Thread David Miller
Signed-off-by: David Miller --- include/qemu/bitops.h | 25 +++ target/s390x/helper.h | 3 + target/s390x/tcg/insn-data.def | 6 +- target/s390x/tcg/translate_vx.c.inc | 108 ++-- target/s390x/tcg/vec_int_helper.c | 58 +