target/s390x: Use tcg_constant_* in translate_vx.c.inc
commit2b0fa727f7d02176a2c620093810402cc744072b
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Feb 2023 18:40:29 +0000 (20 08:40 -1000)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:39 +0000 (27 09:15 +0100)
tree763b50d7bc99ad0042f10895868501936e38d9db
parent6276d93faa5546e5c616eecc333d9ea397b763ac
target/s390x: Use tcg_constant_* in translate_vx.c.inc

In most cases, this is a simple local allocate and free
replaced by tcg_constant_*.  In three cases, a variable
temp was initialized with a constant value -- reorg to
localize the constant.  In gen_acc, this fixes a leak.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230220184052.163465-5-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/translate_vx.c.inc