cpu_patches: Lower extrq/insertq log to trace.

This commit is contained in:
squidbus 2025-02-09 04:53:26 -08:00
parent 9dc3e39fc2
commit 164c551690

View File

@ -1041,7 +1041,7 @@ 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);
@ -1101,7 +1101,7 @@ 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);