[PATCH] RISC-V: Clarufy the behavior when extensions have superset.
Jan Beulich
jbeulich@suse.com
Fri Jul 4 06:14:48 GMT 2025
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
More information about the Binutils
mailing list