Skip to content

Commit

Permalink
Update CodeGen submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Jul 19, 2023
1 parent ce1056d commit 5eccf2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Source/ee/VUShared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ void VUShared::IAND(CMipsJitter* codeGen, uint8 id, uint8 is, uint8 it)

void VUShared::ILWbase(CMipsJitter* codeGen, uint8 it)
{
codeGen->LoadFromRefIdx();
codeGen->LoadFromRefIdx(1);
codeGen->PullRel(offsetof(CMIPS, m_State.nCOP2VI[it]));
}

Expand Down Expand Up @@ -950,7 +950,7 @@ void VUShared::ISWbase(CMipsJitter* codeGen, uint8 dest)
codeGen->PushRelRef(offsetof(CMIPS, m_vuMem));
codeGen->PushIdx(1); //Push computed address
codeGen->PushIdx(3); //Push value to store
codeGen->StoreAtRefIdx();
codeGen->StoreAtRefIdx(1);
}

if(i != 3)
Expand Down Expand Up @@ -1806,7 +1806,7 @@ void VUShared::QueueInFlagPipeline(const FLAG_PIPEINFO& pipeInfo, CMipsJitter* c
codeGen->Add();

//--- Store time
codeGen->StoreAtRefIdx4();
codeGen->StoreAtRefIdx();
}

//Write value
Expand All @@ -1817,7 +1817,7 @@ void VUShared::QueueInFlagPipeline(const FLAG_PIPEINFO& pipeInfo, CMipsJitter* c

//--- Store value
codeGen->PushCursor(valueCursor);
codeGen->StoreAtRefIdx4();
codeGen->StoreAtRefIdx();
}

assert(codeGen->GetTopCursor() == offsetCursor);
Expand All @@ -1841,12 +1841,12 @@ void VUShared::ResetFlagPipeline(const FLAG_PIPEINFO& pipeInfo, CMipsJitter* cod
for(uint32 i = 0; i < FLAG_PIPELINE_SLOTS; i++)
{
codeGen->PushRelAddrRef(pipeInfo.timeArray);
codeGen->PushCst(i * 4);
codeGen->PushCst(i);
codeGen->PushCst(0);
codeGen->StoreAtRefIdx();

codeGen->PushRelAddrRef(pipeInfo.valueArray);
codeGen->PushCst(i * 4);
codeGen->PushCst(i);
codeGen->PushCursor(valueCursor);
codeGen->StoreAtRefIdx();
}
Expand Down

0 comments on commit 5eccf2f

Please sign in to comment.