[committed] RISC-V: Make g imply zmmul extension.
Tsukasa OI
research_trasio@irq.a4lg.com
Fri Sep 16 18:28:58 GMT 2022
On 2022/09/16 11:33, Jeff Law via Binutils wrote:
>
> On 9/15/22 19:39, Nelson Chu wrote:
>> bfd/
>> * elfxx-riscv.c (riscv_implicit_subset): Moved entry of m after g,
>> so that g can imply zmmul.
>> gas/
>> * testsuite/gas/riscv/attribute-01.d: Updated.
>> * testsuite/gas/riscv/attribute-02.d: Likewise.
>> * testsuite/gas/riscv/attribute-03.d: Likewise.
>> * testsuite/gas/riscv/attribute-04.d: Likewise.
>> * testsuite/gas/riscv/attribute-05.d: Likewise.
>> * testsuite/gas/riscv/attribute-10.d: Likewise.
>> * testsuite/gas/riscv/march-imply-g.d: Likewise.
>> * testsuite/gas/riscv/march-imply-unsupported.d: Likewise.
>
> Does this happen to fix this kind of failure that started showing up a
> week or two ago?
>
> /tmp/ccdAErP7.s:6522: Error: unrecognized opcode `mul a5,a4,a5',
> extension `m' or `zmmul' required
>
> I started chasing it down and concluded it likely wasn't the compiler,
> but couldn't take it further before covid knocked me out. I'm just
> starting to try and catch up on things today...
Oh no. I apologize for a severe regression caused by my patchset
implementing 'Zmmul'.
I inspected the riscv_implicit_subsets array (that Nelson fixed "m")
myself and found that only anomaly is "g" (there is a good reason for
this and is harmless). So I believe that his patch fixed all extension
dependency issues so far.
Tsukasa
>
>
> jeff
>
More information about the Binutils
mailing list