mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
Implement PADDUH.
This commit is contained in:
parent
4fee4366bf
commit
18a61d68f8
@ -831,6 +831,17 @@ void CMA_EE::PEXTUW()
|
||||
PullVector(m_nRD);
|
||||
}
|
||||
|
||||
//14
|
||||
void CMA_EE::PADDUH()
|
||||
{
|
||||
if(m_nRD == 0) return;
|
||||
|
||||
PushVector(m_nRS);
|
||||
PushVector(m_nRT);
|
||||
m_codeGen->MD_AddHUS();
|
||||
PullVector(m_nRD);
|
||||
}
|
||||
|
||||
//15
|
||||
void CMA_EE::PSUBUH()
|
||||
{
|
||||
@ -1755,7 +1766,7 @@ CMA_EE::InstructionFuncConstant CMA_EE::m_pOpMmi1[0x20] =
|
||||
//0x08
|
||||
&CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::PCEQB, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::Illegal,
|
||||
//0x10
|
||||
&CMA_EE::PADDUW, &CMA_EE::Illegal, &CMA_EE::PEXTUW, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::PSUBUH, &CMA_EE::PEXTUH, &CMA_EE::Illegal,
|
||||
&CMA_EE::PADDUW, &CMA_EE::Illegal, &CMA_EE::PEXTUW, &CMA_EE::Illegal, &CMA_EE::PADDUH, &CMA_EE::PSUBUH, &CMA_EE::PEXTUH, &CMA_EE::Illegal,
|
||||
//0x18
|
||||
&CMA_EE::PADDUB, &CMA_EE::PSUBUB, &CMA_EE::PEXTUB, &CMA_EE::QFSRV, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::Illegal, &CMA_EE::Illegal,
|
||||
};
|
||||
|
@ -115,6 +115,7 @@ private:
|
||||
void PCEQB();
|
||||
void PADDUW();
|
||||
void PEXTUW();
|
||||
void PADDUH();
|
||||
void PSUBUH();
|
||||
void PEXTUH();
|
||||
void PADDUB();
|
||||
|
@ -161,7 +161,7 @@ INSTRUCTION CMA_EE::m_cReflMmi1[32] =
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
{ "PEXTUW", NULL, CopyMnemonic, ReflOpRdRsRt, NULL, NULL },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
{ "PADDUH", NULL, CopyMnemonic, ReflOpRdRsRt, NULL, NULL },
|
||||
{ "PSUBUH", NULL, CopyMnemonic, ReflOpRdRsRt, NULL, NULL },
|
||||
{ "PEXTUH", NULL, CopyMnemonic, ReflOpRdRsRt, NULL, NULL },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
|
Loading…
Reference in New Issue
Block a user