mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
target-mips: fix mft* helpers/call
This patch attempts to fix mft* helpers and the associated TCG calls. mft* helpers do not take a register in argument, however: - some helpers are called with an argument while they do not take one. - some helpers are declared with an argument they don't use. Acked-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5674 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c24135ffcc
commit
add69063e8
3 changed files with 34 additions and 34 deletions
|
|
@ -137,11 +137,11 @@ DEF_HELPER(void, do_mtc0_taghi, (target_ulong t0))
|
|||
DEF_HELPER(void, do_mtc0_datahi, (target_ulong t0))
|
||||
|
||||
/* MIPS MT functions */
|
||||
DEF_HELPER(target_ulong, do_mftgpr, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftlo, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mfthi, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftacx, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftdsp, (target_ulong t0))
|
||||
DEF_HELPER(target_ulong, do_mftgpr, (uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftlo, (uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mfthi, (uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftacx, (uint32_t sel))
|
||||
DEF_HELPER(target_ulong, do_mftdsp, (void))
|
||||
DEF_HELPER(void, do_mttgpr, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(void, do_mttlo, (target_ulong t0, uint32_t sel))
|
||||
DEF_HELPER(void, do_mtthi, (target_ulong t0, uint32_t sel))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue