target/mips: Move Special opcodes to tcg/sysemu/special_helper.c
commitd60146a9389db771fa4061d9376ba3e208ff2cdb
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 13 Apr 2021 18:19:52 +0000 (13 20:19 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:35 +0000 (2 16:49 +0200)
treec4e6a8bbd44831b0d4ae9f0b748804084639f4e3
parentf3185ec2f35e43c06384f5ac5edc4edfbfd11623
target/mips: Move Special opcodes to tcg/sysemu/special_helper.c

Move the Special opcodes helpers to tcg/sysemu/special_helper.c.

Since mips_io_recompile_replay_branch() is set as
CPUClass::io_recompile_replay_branch handler in cpu.c,
we need to declare its prototype in "tcg-internal.h".

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-24-f4bug@amsat.org>
target/mips/cpu.c
target/mips/helper.h
target/mips/op_helper.c
target/mips/tcg/sysemu/meson.build
target/mips/tcg/sysemu/special_helper.c [new file with mode: 0644]
target/mips/tcg/sysemu_helper.h.inc
target/mips/tcg/tcg-internal.h