mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-06 06:55:02 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue