tcg/riscv64: Fold the ext{8,16,32}[us] cases into {s}extract
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Dec 2024 08:17:20 +0000 (00:17 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:17 +0000 (20:57 -0800)
commit841e2c5257102c738e8578eb0ce38d3de830ea4c
treee62cdc6c4a0e75802fdc7726f276e14221959e7b
parent94d593941b68828a42df6d7af20fc4bb0e720df5
tcg/riscv64: Fold the ext{8,16,32}[us] cases into {s}extract

Accept byte and word extensions with the extract opcodes.
This is preparatory to removing the specialized extracts.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/riscv/tcg-target-has.h
tcg/riscv/tcg-target.c.inc