[PATCH] RISC-V: Clarufy the behavior when extensions have superset.

Nelson Chu nelson@rivosinc.com
Fri Jul 4 06:32:03 GMT 2025


Thanks, that's clear enough ;)

Nelson

On Fri, Jul 4, 2025 at 2:14 PM Jan Beulich <jbeulich@suse.com> wrote:

> On 04.07.2025 07:50, Nelson Chu wrote:
> > I sent the patch to fix .option norvc and .option arch, -c,
> >
> https://inbox.sourceware.org/binutils/20250704054239.29226-1-nelson@rivosinc.com/T/#mea571cc2bf69ceeb0d0ff52ef0158fb92d1c2e8c
> ,
> > which looks stupid but works.  My problem is - should norvc mean no zca,
> > zcf and zcd?  Or do we need to disable all non-compressed (zc*)
> > instructions, including zcb, zce, zcmp, zcmop, zcmt and zclsd?
>
> I think in the "off" direction it's pretty clear that, as Kito also said,
> it should be "turn off compressed instructions" (i.e. all of them). The
> "on" direction is less clear: Imo, that really should only turn on the
> base C extension insns.
>
> Jan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250704/99843802/attachment.htm>


More information about the Binutils mailing list