tcg/i386: Fold the ext{8,16,32}[us] cases into {s}extract
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Dec 2024 02:55:45 +0000 (18:55 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:17 +0000 (20:57 -0800)
commit4bce752c1a4aad3bfba9b6447dd200fade242aed
tree04984830830ed89a659324eeb96fd37149af0bda
parentad76017e51731ef84e98bd25b922fe14e656dd8d
tcg/i386: 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/i386/tcg-target-has.h
tcg/i386/tcg-target.c.inc
tcg/optimize.c
tcg/tcg-has.h
tcg/tcg-op.c