OSDN Git Service

target/mips: Simplify gen_helper() macros by using tcg_constant_i32()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 15 Aug 2021 13:07:40 +0000 (15:07 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 25 Aug 2021 11:02:14 +0000 (13:02 +0200)
commit26fe92763aaf3b0d704fbdb32daf434147dc6ca7
tree7ddd4570039c6e4b2f5a0d6f4b1fc5a204bbb40d
parent78bdd3886577ce4f3e573685b155622e19bcca38
target/mips: Simplify gen_helper() macros by using tcg_constant_i32()

In all call sites the last argument is always used as a
read-only value, so we can replace tcg_const_i32() temporary
by tcg_constant_i32().

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