Re: [PATCH 8/9] MIPS: KVM: Decode RDHWR more strictly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/07/2016 13:16, Sergei Shtylyov wrote:
>>      if (inst.r_format.opcode == spec3_op &&
>> -        inst.r_format.func == rdhwr_op) {
>> +        inst.r_format.func == rdhwr_op &&
>> +        inst.r_format.rs == 0 &&
>> +        (inst.r_format.re >> 3) == 0) {
> 
>    Inner parens not necessary here.

They are nicer though.

Paolo




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux