tcg/mips: Fold the ext{8,16,32}[us] cases into {s}extract
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Dec 2024 05:06:30 +0000 (21:06 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:17 +0000 (20:57 -0800)
commit791d03047bb814cc5f938f2b1f59115ef7f63344
treea2cbd080e86c9891d47df173e7b42eb7f1d93ac3
parent0c44a4d3b647240aa9485e648fe5f63bed5e4820
tcg/mips: Fold the ext{8,16,32}[us] cases into {s}extract

Accept AND, ext32u, ext32s 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/mips/tcg-target-has.h
tcg/mips/tcg-target.c.inc