mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Core: Fix warnings on Linux related to the JIT
This commit is contained in:
parent
46ce810b45
commit
a46a500b94
@ -305,7 +305,7 @@ void FPURegCache::LoadRegister(size_t preg, X64Reg newLoc)
|
||||
{
|
||||
if (!regs[preg].location.IsImm() && (regs[preg].location.offset & 0xF))
|
||||
{
|
||||
PanicAlert("WARNING - misaligned fp register location %i", preg);
|
||||
PanicAlert("WARNING - misaligned fp register location %" PRIx64, preg);
|
||||
}
|
||||
emit->MOVAPD(newLoc, regs[preg].location);
|
||||
}
|
||||
@ -320,7 +320,7 @@ void RegCache::Flush(FlushMode mode)
|
||||
for (size_t i = 0; i < xregs.size(); i++)
|
||||
{
|
||||
if (xregs[i].locked)
|
||||
PanicAlert("Someone forgot to unlock X64 reg %zu.", i);
|
||||
PanicAlert("Someone forgot to unlock X64 reg %" PRIx64, i);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < regs.size(); i++)
|
||||
|
@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "Common/x64Emitter.h"
|
||||
|
||||
@ -85,7 +86,7 @@ public:
|
||||
if (IsBound(preg))
|
||||
return regs[preg].location.GetSimpleReg();
|
||||
|
||||
PanicAlert("Not so simple - %i", preg);
|
||||
PanicAlert("Not so simple - %" PRIx64, preg);
|
||||
return Gen::INVALID_REG;
|
||||
}
|
||||
virtual Gen::OpArg GetDefaultLocation(size_t reg) const = 0;
|
||||
|
@ -34,7 +34,7 @@ using namespace std;
|
||||
|
||||
static const int CODEBUFFER_SIZE = 32000;
|
||||
// 0 does not perform block merging
|
||||
static const int FUNCTION_FOLLOWING_THRESHOLD = 16;
|
||||
static const u32 FUNCTION_FOLLOWING_THRESHOLD = 16;
|
||||
|
||||
CodeBuffer::CodeBuffer(int size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user