DSP jit: 'mv 's 'sn are now jitted. Added

void pushExtValueFromReg(u16 dreg, u16 sreg);
	void popExtValueToReg();
instead of the backlog.
Someone might want to add it to the Unit test


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5389 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2010-04-19 13:02:24 +00:00
parent 63d296fcba
commit 282cf6c6b5
4 changed files with 28 additions and 10 deletions

View File

@ -33,6 +33,10 @@ class DSPEmitter : public Gen::XCodeBlock
u16 blockSize[0x10000];
bool *endBlock;
u16 compileSR;
// The index of the last stored ext value (compile time).
u16 storeIndex;
DISALLOW_COPY_AND_ASSIGN(DSPEmitter);
void ToMask(Gen::X64Reg value_reg = Gen::EDI, Gen::X64Reg temp_reg = Gen::ESI);
@ -62,7 +66,10 @@ public:
void decrease_addr_reg(int reg);
void ext_dmem_write(u32 src, u32 dest);
void ext_dmem_read(u16 addr);
void storeExtValue(u16 value);
// Ext command helpers
void pushExtValueFromReg(u16 dreg, u16 sreg);
void popExtValueToReg();
// Ext commands
void l(const UDSPInstruction opc);