[PATCH 0/1] RISC-V: Zfh extension diagnostic addition
Tsukasa OI
research_trasio@irq.a4lg.com
Sun May 22 09:11:29 GMT 2022
Hello,
This is an addition to:
<https://sourceware.org/pipermail/binutils/2022-May/120935.html>
I and Nelson forgot to add extension diagnostics to
`riscv_multi_subset_supports_ext' function (bfd/elfxx-riscv.c).
This patch adds related diagnostics for instruction classes I added in
my Zfh+Zfhmin PATCHSET v2.
Note that, even if instruction class name suggests Zhinx and Zhinxmin,
this is not represented in `riscv_multi_subset_supports_ext' since they
are not officially supported yet.
I note that consensus to place 'H' after 'V' is made:
<https://github.com/riscv/riscv-isa-manual/issues/837>
So, it's going to be canonical to order Zh* extensions after all Zv*.
Considering compatibility and that consensus, we could change
`riscv_ext_canonical_order'...
from "eigmafdqlcbkjtpvn"
to "eigmafdqlcbkjtpvnh" (add H to the tail)
and then we can add Zhinx and Zhinxmin extensions to supported extension
list: `riscv_supported_std_z_ext'. (I'm not sure **when** to do that;
after new ISA manual is ratified? or now?)
Tsukasa OI (1):
RISC-V: Add extension diagnostics to Zfh
bfd/elfxx-riscv.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
base-commit: 7d599d2e1a4fe39de46da8510c4e24bf6b698805
--
2.34.1
More information about the Binutils
mailing list