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