On 06/25/2015 10:41 AM, Daniel Axtens wrote:
>>                              cpuhw->bhrb_entries[u_index].to = addr;
>> -                            cpuhw->bhrb_entries[u_index].mispred = pred;
>> -                            cpuhw->bhrb_entries[u_index].predicted = ~pred;
>> +                            cpuhw->bhrb_entries[u_index].mispred = mispred;
>> +                            cpuhw->bhrb_entries[u_index].predicted =
>> +                                                            ~mispred;
>>  
> 
> This is much better! However, these are still bitwise rather than
> logical inversions. They will work, but would it be easier to understand
> if you used "!mispred"?

Sure, will change it as well.

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to