DSPJitUtil: Remove redundant handling of ac0.h and ac1.h
m_gpr.WriteReg calls PutReg which already handles the sign extension.
This commit is contained in:
parent
3b4bc9852f
commit
439bf1597b
|
@ -109,12 +109,6 @@ void DSPEmitter::dsp_op_write_reg(int reg, Gen::X64Reg host_sreg)
|
||||||
{
|
{
|
||||||
switch (reg & 0x1f)
|
switch (reg & 0x1f)
|
||||||
{
|
{
|
||||||
// 8-bit sign extended registers.
|
|
||||||
case DSP_REG_ACH0:
|
|
||||||
case DSP_REG_ACH1:
|
|
||||||
m_gpr.WriteReg(reg, R(host_sreg));
|
|
||||||
break;
|
|
||||||
|
|
||||||
// Stack registers.
|
// Stack registers.
|
||||||
case DSP_REG_ST0:
|
case DSP_REG_ST0:
|
||||||
case DSP_REG_ST1:
|
case DSP_REG_ST1:
|
||||||
|
@ -133,11 +127,6 @@ void DSPEmitter::dsp_op_write_reg_imm(int reg, u16 val)
|
||||||
{
|
{
|
||||||
switch (reg & 0x1f)
|
switch (reg & 0x1f)
|
||||||
{
|
{
|
||||||
// 8-bit sign extended registers. Should look at prod.h too...
|
|
||||||
case DSP_REG_ACH0:
|
|
||||||
case DSP_REG_ACH1:
|
|
||||||
m_gpr.WriteReg(reg, Imm16((u16)(s16)(s8)(u8)val));
|
|
||||||
break;
|
|
||||||
// Stack registers.
|
// Stack registers.
|
||||||
case DSP_REG_ST0:
|
case DSP_REG_ST0:
|
||||||
case DSP_REG_ST1:
|
case DSP_REG_ST1:
|
||||||
|
|
Loading…
Reference in New Issue