target/ppc: Use tcg_constant_i64() in gen_brh()
commit491b3cca3653bf36db67f91be0e3db64682bef91
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 3 Oct 2021 14:17:11 +0000 (3 16:17 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Oct 2021 00:42:47 +0000 (21 11:42 +1100)
tree5b123c8ad09268f1938a607143a573ae9a479034
parent6f4912a4160f157217730b0affdcb6c92c24ca76
target/ppc: Use tcg_constant_i64() in gen_brh()

The mask of the Byte-Reverse Halfword opcode is a read-only
constant. We can avoid using a TCG temporary by moving the
mask to the constant pool.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211003141711.3673181-3-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c