OSDN Git Service

tcg/optimize: Expand fold_mulu2_i32 to all 4-arg multiplies
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Aug 2021 13:33:04 +0000 (06:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Oct 2021 00:11:22 +0000 (17:11 -0700)
commit407112b03d7665a3cb7b3a21105e721a8a0c5fd8
treead9a5cefe075455c3ba95343f973bfc23bcb9f3f
parentfae450ba4764dcf8c7a131131639ac0969a8eae8
tcg/optimize: Expand fold_mulu2_i32 to all 4-arg multiplies

Rename to fold_multiply2, and handle muls2_i32, mulu2_i64,
and muls2_i64.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c