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:
elad 2018-02-04 13:47:49 +02:00 committed by Ivan
parent 06fc4233d2
commit a6fb6c865d

View File

@ -302,7 +302,7 @@ void mfc_thread::cpu_task()
spu.ch_tag_stat.push(spu, completed);
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);
no_updates = 0;