tcg/loongarch64: Fold the ext{8,16,32}[us] cases into {s}extract
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Dec 2024 04:38:06 +0000 (20:38 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:17 +0000 (20:57 -0800)
commit0c44a4d3b647240aa9485e648fe5f63bed5e4820
tree561f751153988f3b9645227e6936d3b0a93c8376
parent802ef65b5f8dccbcabb7960bee9993ec65f95ab6
tcg/loongarch64: 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/loongarch64/tcg-target-has.h
tcg/loongarch64/tcg-target.c.inc