target/s390x: Split out gen_ri2
commitbdbc87e323ee417735141ed2b11dab0091b57593
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 03:55:31 +0000 (26 17:55 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:46:26 +0000 (5 13:46 -0800)
tree77eb1d1f49fbec1a0054232e2c8b6f856c99053c
parent2f668fabbc09f9fcf6c93b17c077a078130e057a
target/s390x: Split out gen_ri2

Use tcg_constant_i64.  Adjust in2_mri2_* to allocate a new
temporary for the output, using gen_ri2 for the address.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/s390x/tcg/translate.c