]> xenbits.xensource.com Git - qemu-xen.git/commit
target/mips/translate: Expose check_mips_64() to 32-bit mode
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 14 Dec 2020 23:54:34 +0000 (00:54 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 14 Jan 2021 16:13:53 +0000 (17:13 +0100)
commitd7efb69382cde8f29cd37df321b399542db9fdd2
treed7759917d3476a791cb9089dba563507be54a68d
parent311edee771510436fc70b2e4fbe5f9fd3cf3d14d
target/mips/translate: Expose check_mips_64() to 32-bit mode

To allow compiling 64-bit specific translation code more
generically (and removing #ifdef'ry), allow compiling
check_mips_64() on 32-bit targets.
If ever called on 32-bit, we obviously emit a reserved
instruction exception.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20201215225757.764263-3-f4bug@amsat.org>
target/mips/translate.c
target/mips/translate.h