target/mips: Use tcg_constant_i32() in gen_msa_elm_df()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 3 Oct 2021 12:43:44 +0000 (14:43 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Oct 2021 22:41:36 +0000 (00:41 +0200)
commit2b537a3d856e2500acc321c9333f03b36a829f4e
tree62fab522aeeb3754776e3055d26a3e0e0a1a733e
parent7da51cb391bc1100b941d04a0e9fec2cdc5b9632
target/mips: Use tcg_constant_i32() in gen_msa_elm_df()

Data Format is a 2-bit constant value.
Avoid using a TCG temporary by moving it to the constant pool.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211003175743.3738710-3-f4bug@amsat.org>
target/mips/tcg/msa_translate.c