|
From: | Richard Henderson |
Subject: | Re: [PATCH v4 07/47] target/ppc: Move vexts[bhw]2[wd] to decodetree |
Date: | Tue, 22 Feb 2022 08:34:30 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/22/22 04:36, matheus.ferst@eldorado.org.br wrote:
+static void gen_vexts_i64(TCGv_i64 t, TCGv_i64 b, int64_t s) +{ + tcg_gen_shli_i64(t, b, s); + tcg_gen_sari_i64(t, t, s); +} + +static void gen_vexts_i32(TCGv_i32 t, TCGv_i32 b, int32_t s) +{ + tcg_gen_shli_i32(t, b, s); + tcg_gen_sari_i32(t, t, s); +}
tcg_gen_sextract_*. With that, Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |