PowerPC: Create new MMA instruction masks and use them

Peter Bergner bergner@linux.ibm.com
Thu Jul 21 20:17:23 GMT 2022


On 7/20/22 11:10 PM, Alan Modra wrote:
> On Wed, Jul 20, 2022 at 07:01:35PM -0500, Peter Bergner wrote:
>> The MMA instructions use XX3_MASK|3<<21 as an instruction mask, but that
>> misses the RC bit/bit 31, so if we disassemble a .long that represents an
>> MMA instruction except that it also has bit 31 set, we will erroneously
>> disassemble it to that MMA instruction.  We create new masks defines that
>> contain bit 31 so that doesn't happen anymore.
>>
>> This passed testing on powerpc64le-linux with no regressions.
>> I plan on pushing this tomorrow unless I hear some objections.
> 
> 2.39 branch too, please.

Ok, pushed to trunk and the 2.39 branch (after testing).

Peter




More information about the Binutils mailing list