mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-04 15:18:59 +00:00
Added msub and andfc/andcf to LLE, also fixed compiler warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2844 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7c4e654253
commit
d3552a8e2c
4 changed files with 15 additions and 5 deletions
|
@ -1022,7 +1022,16 @@ void madd(const UDSPInstruction& opc)
|
|||
prod += (s64)dsp_get_ax_l(sreg) * (s64)dsp_get_ax_h(sreg) * GetMultiplyModifier();
|
||||
dsp_set_long_prod(prod);
|
||||
}
|
||||
|
||||
|
||||
void msub(const UDSPInstruction& opc)
|
||||
{
|
||||
u8 sreg = (opc.hex >> 8) & 0x1;
|
||||
|
||||
s64 prod = dsp_get_long_prod();
|
||||
prod -= (s64)dsp_get_ax_l(sreg) * (s64)dsp_get_ax_h(sreg) * GetMultiplyModifier();
|
||||
dsp_set_long_prod(prod);
|
||||
}
|
||||
|
||||
void lsr16(const UDSPInstruction& opc)
|
||||
{
|
||||
u8 areg = (opc.hex >> 8) & 0x1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue