Add custom floating point type in riscv
David Mallasén Quintana
Thu May 6 16:07:00 GMT 2021
I am trying to add a custom floating point type to the riscv gcc and
some pointers to where to start looking would be very helpful. This
custom fp type should ideally work in parallel to the default ones and
perform basically the same operations (simply having a different name
when declaring them and generating different asm instructions).
I have seen several questions answered about adding instructions to
binutils, but I already have this part working. I am looking for the
next step, avoiding to manually insert the asm code for these custom
floating point operations in a c program.
What would be the easiest/most convenient way to tackle this?
Thanks in advance!
More information about the Gcc-help