mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-24 19:38:32 -06:00
rsx/cfg: Log a warning when encountering empty IF blocks with ELSE aliasing
- Hardware tests confirm this is correct behavior, the condition just inverts
This commit is contained in:
parent
d54e54b66d
commit
3c68c36fa0
@ -218,6 +218,7 @@ namespace rsx::assembler
|
||||
// Empty IF block. We co-opt the ELSE block as the IF and invert the condition.
|
||||
auto& inst = parent->instructions.back();
|
||||
FP::invert_conditional_execution_mask(&inst);
|
||||
rsx_log.warning("CFG: Condition at L%u was inverted to cover empty IF block.");
|
||||
}
|
||||
else if (end_addr != else_addr)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user