mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-mips: Use mul[us]2 in [D]MULT[U] insns
Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
2de68a4900
commit
ce1dd5d1bb
3 changed files with 20 additions and 42 deletions
|
@ -267,18 +267,6 @@ target_ulong helper_mulshiu(CPUMIPSState *env, target_ulong arg1,
|
|||
(uint64_t)(uint32_t)arg2);
|
||||
}
|
||||
|
||||
#ifdef TARGET_MIPS64
|
||||
void helper_dmult(CPUMIPSState *env, target_ulong arg1, target_ulong arg2)
|
||||
{
|
||||
muls64(&(env->active_tc.LO[0]), &(env->active_tc.HI[0]), arg1, arg2);
|
||||
}
|
||||
|
||||
void helper_dmultu(CPUMIPSState *env, target_ulong arg1, target_ulong arg2)
|
||||
{
|
||||
mulu64(&(env->active_tc.LO[0]), &(env->active_tc.HI[0]), arg1, arg2);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
||||
static inline hwaddr do_translate_address(CPUMIPSState *env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue