riscv-tools icon indicating copy to clipboard operation
riscv-tools copied to clipboard

Support --with-{gmp,mpfr,mpc} . Again. But on Fedora 33 riscv64, under qemu. Targeting Clang. gollvm

Open advancedwebdeveloper opened this issue 4 years ago • 1 comments

Hi. I am curious whether there is a support of D and F extensions (as I understood from the publications) in qemu.

I have a project here, on a match https://go.googlesource.com/gollvm/ - and it has these libraries as dependencies. Currently looking for reasonable alternatives (maybe even getting rid of those, on RISC-V, to rely on arch. specific instructions).

https://github.com/riscv/riscv-tools/issues/72 describes my current situation pretty well.

CC @bschommer , in case if he would be interested.

advancedwebdeveloper avatar Nov 17 '20 16:11 advancedwebdeveloper

Yes, qemu supports D and F. You still need gmp, mpfr, and mpc. But they will be compiled to use D and F instructions. Since you have Fedora, just use dnf to install the libraries if you don't already have them: gmp-devel, mpfr-devel, mpc-devel.

jim-wilson avatar Nov 17 '20 17:11 jim-wilson