riscv: some work on large function arguments
commitf44df9d85ba1d258f01d61d8b9184cf460c8fbaf
authorMichael Matz <matz@suse.de>
Thu, 18 Jul 2019 02:51:52 +0000 (18 04:51 +0200)
committerMichael Matz <matz@suse.de>
Sun, 1 Sep 2019 21:13:20 +0000 (1 23:13 +0200)
tree56477045036b7bd03cecbbc5d060588ec0543397
parentddb0c2de9280b8b5ab7b37cf3a1a31a72102c3c7
riscv: some work on large function arguments

like long double (16 bytes) and structs.  Not completely
correct, but 73_arm64 somewhat works now (when the stdarg part
is disabled), though with some errors.  What's definitely incorrect
is arguments of a mixed int/float struct.  I'm using VT_LDOUBLE
(which conveniently has to be placed in a int-reg-pair) to load/store
structure arguments of size > 8 and <= 16, and that can lead to
overreads.
riscv64-gen.c
tccgen.c
tcctok.h