]> xenbits.xensource.com Git - qemu-xen.git/commit
target/mips: Simplify decode_opc_mxu() ifdef'ry
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 24 Feb 2021 17:58:26 +0000 (18:58 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Mar 2021 22:42:58 +0000 (23:42 +0100)
commitc7abe00ae9336892ae615fbc39157ba110d1716b
treef9b175373d896bf99742e966e77cd82821a2dc07
parenta8dad35388987fe3d55d6166d7f3f188eb607e97
target/mips: Simplify decode_opc_mxu() ifdef'ry

By making the prototype public and checking
'TARGET_LONG_BITS == 32' we let the compiler
elide the decode_opc_mxu() call.

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