]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390x: Avoid the constant pool in tcg_out_movi
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Dec 2022 23:05:03 +0000 (23:05 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Jan 2023 23:07:10 +0000 (23:07 +0000)
commit90497e03ca7432153c5db4a06019265486541d44
tree9b67c8bcdbca5ea9f6018e2b2e1ffca0fd624de1
parent1818c71ba11682b239bbc3d891743edc0943f79f
tcg/s390x: Avoid the constant pool in tcg_out_movi

Load constants in no more than two insns, which turns
out to be faster than using the constant pool.

Suggested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target.c.inc