mfc: dont check for one completed command if tag update requast is 2
Instead check only for completed commads tag groups specified in the tag mask ( as real hw does )
This commit is contained in:
@@ -302,7 +302,7 @@ void mfc_thread::cpu_task()
|
|||||||
spu.ch_tag_stat.push(spu, completed);
|
spu.ch_tag_stat.push(spu, completed);
|
||||||
no_updates = 0;
|
no_updates = 0;
|
||||||
}
|
}
|
||||||
else if (completed && spu.ch_tag_mask == completed && spu.ch_tag_upd.compare_and_swap_test(2, 0))
|
else if (spu.ch_tag_mask == completed && spu.ch_tag_upd.compare_and_swap_test(2, 0))
|
||||||
{
|
{
|
||||||
spu.ch_tag_stat.push(spu, completed);
|
spu.ch_tag_stat.push(spu, completed);
|
||||||
no_updates = 0;
|
no_updates = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user