Removed some temp logging, minor other stuff

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@154 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-08-08 20:38:08 +00:00
parent 9626b3bc42
commit a9b441f379
6 changed files with 12 additions and 6 deletions

View File

@ -233,10 +233,14 @@ namespace Jit64
bool FPURegCache::IsXRegVolatile(X64Reg reg) const
{
#ifdef _WIN32
if (reg < 6)
return true;
else
return false;
#else
return true;
#endif
}
void GPRRegCache::Start(PPCAnalyst::BlockRegStats &stats)

View File

@ -40,7 +40,6 @@ namespace Jit64
void fp_tri_op(int d, int a, int b, bool reversible, bool dupe, void (*op)(X64Reg, OpArg))
{
fpr.Lock(d, a, b);
if (d == a)
{
fpr.GetReadyForOp(d, b);
@ -176,7 +175,10 @@ namespace Jit64
}
AND(32, M(&CR), Imm32(~(0xF0000000 >> shift)));
(ordered ? COMISD : UCOMISD)(fpr.R(a).GetSimpleReg(), fpr.R(b));
if (ordered)
COMISD(fpr.R(a).GetSimpleReg(), fpr.R(b));
else
UCOMISD(fpr.R(a).GetSimpleReg(), fpr.R(b));
FixupBranch pLesser = J_CC(CC_B);
FixupBranch pGreater = J_CC(CC_A);
// _x86Reg == 0

View File

@ -211,7 +211,7 @@ bool PixelShaderMngr::CompilePixelShader(FRAGMENTSHADER& ps, const char* pstrpro
}
cgDestroyProgram(tempprog);
printf("Compiled pixel shader %i\n", ps.glprogid);
// printf("Compiled pixel shader %i\n", ps.glprogid);
#ifdef _DEBUG
ps.strprog = pstrprogram;

View File

@ -99,7 +99,7 @@ class PixelShaderMngr
PSCacheEntry() : frameCount(0) {}
~PSCacheEntry() {}
void Destroy() {
printf("Destroying ps %i\n", shader.glprogid);
// printf("Destroying ps %i\n", shader.glprogid);
glDeleteProgramsARB(1, &shader.glprogid);
shader.glprogid = 0;
}

View File

@ -183,7 +183,7 @@ bool VertexShaderMngr::CompileVertexShader(VERTEXSHADER& vs, const char* pstrpro
}
cgDestroyProgram(tempprog);
printf("Compiled vertex shader %i\n", vs.glprogid);
// printf("Compiled vertex shader %i\n", vs.glprogid);
#ifdef _DEBUG
vs.strprog = pstrprogram;

View File

@ -41,7 +41,7 @@ class VertexShaderMngr
int frameCount;
VSCacheEntry() : frameCount(0) {}
void Destroy() {
printf("Destroying vs %i\n", shader.glprogid);
// printf("Destroying vs %i\n", shader.glprogid);
glDeleteProgramsARB(1, &shader.glprogid);
shader.glprogid = 0;
}