riscv: Implement long double support
commit2668eda595c9d303cd99930b63748498b9855e11
authorMichael Matz <matz@suse.de>
Sun, 21 Jul 2019 23:23:27 +0000 (22 01:23 +0200)
committerMichael Matz <matz@suse.de>
Sun, 1 Sep 2019 21:13:20 +0000 (1 23:13 +0200)
tree78063ea1d8db526f672e500d2fc55a37c1bbad34
parent2616c6b230ff4bd6d68019a11f6b0e1133709456
riscv: Implement long double support

for the implementation of operations we can reuse the ones
from lib/lib-arm64.c, risc-v long double is also float128.
Also implement ggoto, and PDIV, and use t0 in load/store as
temporary register if necessary, not one given by get_reg
(the latter can destroy assignments of long double parameters
in function calls that are already set up).

This let's us compile tcc.c and tcctest.c, though both
don't yet work.
lib/Makefile
lib/lib-arm64.c
riscv64-gen.c
tccgen.c