Re: [PATCH v3 01/11] tcg: Implement tcg_gen_{h,w}swap_{i32,i64}

2022-03-21 Thread David Hildenbrand
On 08.03.22 02:53, Richard Henderson wrote: > Swap half-words (16-bit) and words (32-bit) within a larger value. > Mirrors functions of the same names within include/qemu/bitops.h. > > Signed-off-by: Richard Henderson > --- > include/tcg/tcg-op.h | 6 ++ > tcg/tcg-op.c | 30

[PATCH v3 01/11] tcg: Implement tcg_gen_{h,w}swap_{i32,i64}

2022-03-07 Thread Richard Henderson
Swap half-words (16-bit) and words (32-bit) within a larger value. Mirrors functions of the same names within include/qemu/bitops.h. Signed-off-by: Richard Henderson --- include/tcg/tcg-op.h | 6 ++ tcg/tcg-op.c | 30 ++ 2 files changed, 36 insertions(+)