tcg/mips: Try three insns with shift and add in tcg_out_movi
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Aug 2021 21:18:25 +0000 (11:18 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 25 May 2023 13:57:51 +0000 (13:57 +0000)
commit269e93ab76bc8b6239e12e427591fa46fb8c5be8
tree7be5bd3b85846b1c9d049753ae9147507a4e0a94
parent1d159e64cca6497565cdcbb0a8383fc8568b4983
tcg/mips: Try three insns with shift and add in tcg_out_movi

These sequences are inexpensive to test.  Maxing out at three insns
results in the same space as a load plus the constant pool entry.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/mips/tcg-target.c.inc