tcg/optimize: Split out fold_addsub2_i32
commite3f7dc216744aceb46fb67be1476b518bc48c5ff
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Aug 2021 17:30:38 +0000 (24 10:30 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Oct 2021 00:11:22 +0000 (27 17:11 -0700)
tree357fde675f34e531eb0c160d5e3b98d1c2e7d4b3
parent6b8ac0d1498cf6638e3d50c33e06e5b3b0e7a2d7
tcg/optimize: Split out fold_addsub2_i32

Add two additional helpers, fold_add2_i32 and fold_sub2_i32
which will not be simple wrappers forever.

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