|
From: | Richard Henderson |
Subject: | Re: [PATCH 14/30] tcg/loongarch: Implement bswap32_i32/bswap64_i64 |
Date: | Mon, 20 Sep 2021 11:20:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/20/21 8:11 AM, Richard Henderson wrote:
} else if (a2 & TCG_BSWAP_OZ) { tcg_out_ext32u(s, a0, a0); }
Actually, if ((a2 & (TCG_BSWAP_IZ | TCG_BSWAP_OZ)) == TCG_BSWAP_OZ) If the input is zero-extended, the output of revb_2w will also be zero-extended already. r~
[Prev in Thread] | Current Thread | [Next in Thread] |