Fix new aligned memcpy (probably, it still hasn't been tested at all) and removed calls to it that were added to test code generation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3469 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1 2010-07-12 04:21:21 +00:00
parent 383c58ba3e
commit 9600a67ea9
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ __forceinline void memcpy_vibes(void * dest, const void * src, int size) {
float (*destxmm)[4] = (float(*)[4])dest, (*srcxmm)[4] = (float(*)[4])src;
size_t count = size & ~15, extra = size & 15;
destxmm += 8 - extra, srcxmm += 8 - extra;
destxmm -= 8 - extra, srcxmm -= 8 - extra;
switch (extra) {
do {
destxmm += 16, srcxmm += 16, count -= 16;

View File

@ -1111,13 +1111,13 @@ void __fastcall mVU_XGKICK_(u32 addr) {
if (size > diff) {
//DevCon.WriteLn("XGkick Wrap!");
memcpy_qwc_(pDest, microVU1.regs->Mem + (addr*16), diff);
memcpy_qwc(pDest, microVU1.regs->Mem + (addr*16), diff);
size -= diff;
pDest += diff*16;
memcpy_qwc_(pDest, microVU1.regs->Mem, size);
memcpy_qwc(pDest, microVU1.regs->Mem, size);
}
else {
memcpy_qwc_(pDest, microVU1.regs->Mem + (addr*16), size);
memcpy_qwc(pDest, microVU1.regs->Mem + (addr*16), size);
}
GetMTGS().SendDataPacket();
if(GSTransferStatus.PTH1 == STOPPED_MODE)