mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
cpu_patches: Lower extrq/insertq log to trace. (#2386)
This commit is contained in:
parent
89d349ae1c
commit
0e238c87cb
@ -1041,10 +1041,10 @@ static bool TryExecuteIllegalInstruction(void* ctx, void* code_address) {
|
|||||||
if (length + index > 64) {
|
if (length + index > 64) {
|
||||||
// Undefined behavior if length + index is bigger than 64 according to the spec,
|
// Undefined behavior if length + index is bigger than 64 according to the spec,
|
||||||
// we'll warn and continue execution.
|
// we'll warn and continue execution.
|
||||||
LOG_WARNING(Core,
|
LOG_TRACE(Core,
|
||||||
"extrq at {} with length {} and index {} is bigger than 64, "
|
"extrq at {} with length {} and index {} is bigger than 64, "
|
||||||
"undefined behavior",
|
"undefined behavior",
|
||||||
fmt::ptr(code_address), length, index);
|
fmt::ptr(code_address), length, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
lowQWordDst >>= index;
|
lowQWordDst >>= index;
|
||||||
@ -1101,10 +1101,10 @@ static bool TryExecuteIllegalInstruction(void* ctx, void* code_address) {
|
|||||||
if (length + index > 64) {
|
if (length + index > 64) {
|
||||||
// Undefined behavior if length + index is bigger than 64 according to the spec,
|
// Undefined behavior if length + index is bigger than 64 according to the spec,
|
||||||
// we'll warn and continue execution.
|
// we'll warn and continue execution.
|
||||||
LOG_WARNING(Core,
|
LOG_TRACE(Core,
|
||||||
"insertq at {} with length {} and index {} is bigger than 64, "
|
"insertq at {} with length {} and index {} is bigger than 64, "
|
||||||
"undefined behavior",
|
"undefined behavior",
|
||||||
fmt::ptr(code_address), length, index);
|
fmt::ptr(code_address), length, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
lowQWordSrc &= mask;
|
lowQWordSrc &= mask;
|
||||||
|
Loading…
Reference in New Issue
Block a user