OSDN Git Service

target/mips: Use tcg_constant_tl() in gen_compute_compact_branch()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 3 Oct 2021 12:25:14 +0000 (14:25 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Oct 2021 22:41:36 +0000 (00:41 +0200)
commitd2db0f729da6946873b1352bfb7c12c2c9f91fb0
treed41acf6ca678a21598f822f8b262f5addc58b80a
parent469a316dc42cd669ab502a385fdd3539fd45e36e
target/mips: Use tcg_constant_tl() in gen_compute_compact_branch()

The offset is constant and read-only: move 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-9-f4bug@amsat.org>
target/mips/tcg/translate.c