[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 13/29] tcg/s390: Support bswap flags
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 13/29] tcg/s390: Support bswap flags |
Date: |
Mon, 28 Jun 2021 15:43:47 +0100 |
On Sat, 26 Jun 2021 at 07:44, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> For INDEX_op_bswap16_i64, use 64-bit instructions so that we can
> easily provide the extension to 64-bits. Drop the special case,
> previously used, where the input is already zero-extended -- the
> minor code size savings is not worth the complication.
>
> Cc: qemu-s390x@nongnu.org
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> + case INDEX_op_bswap32_i32:
> tcg_out_insn(s, RRE, LRVR, args[0], args[1]);
> break;
When we're working with i32s, is the top half of the host register
zero or garbage ? I guess either way LRVR does the right thing.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v3 15/29] tcg/mips: Support bswap flags in tcg_out_bswap32, (continued)
- [PATCH v3 15/29] tcg/mips: Support bswap flags in tcg_out_bswap32, Richard Henderson, 2021/06/26
- [PATCH v3 20/29] tcg: Make use of bswap flags in tcg_gen_qemu_st_*, Richard Henderson, 2021/06/26
- [PATCH v3 25/29] target/sh4: Improve swap.b translation, Richard Henderson, 2021/06/26
- [PATCH v3 22/29] target/arm: Improve vector REV, Richard Henderson, 2021/06/26
- [PATCH v3 14/29] tcg/mips: Support bswap flags in tcg_out_bswap16, Richard Henderson, 2021/06/26
- [PATCH v3 17/29] tcg: Handle new bswap flags during optimize, Richard Henderson, 2021/06/26
- [PATCH v3 24/29] target/i386: Improve bswap translation, Richard Henderson, 2021/06/26
- [PATCH v3 19/29] tcg: Make use of bswap flags in tcg_gen_qemu_ld_*, Richard Henderson, 2021/06/26
- [PATCH v3 13/29] tcg/s390: Support bswap flags, Richard Henderson, 2021/06/26
- Re: [PATCH v3 13/29] tcg/s390: Support bswap flags,
Peter Maydell <=
- [PATCH v3 23/29] target/arm: Improve REVSH, Richard Henderson, 2021/06/26
- [PATCH v3 29/29] tcg/riscv: Remove MO_BSWAP handling, Richard Henderson, 2021/06/26
- [PATCH v3 18/29] tcg: Add flags argument to tcg_gen_bswap16_*, tcg_gen_bswap32_i64, Richard Henderson, 2021/06/26
- [PATCH v3 21/29] target/arm: Improve REV32, Richard Henderson, 2021/06/26
- [PATCH v3 26/29] target/mips: Fix gen_mxu_s32ldd_s32lddr, Richard Henderson, 2021/06/26
- [PATCH v3 28/29] tcg/aarch64: Unset TCG_TARGET_HAS_MEMORY_BSWAP, Richard Henderson, 2021/06/26
- [PATCH v3 27/29] tcg/arm: Unset TCG_TARGET_HAS_MEMORY_BSWAP, Richard Henderson, 2021/06/26
- Re: [PATCH v3 00/29] tcg: bswap improvements, no-reply, 2021/06/26