riscv: Fix 73_arm.c
commit2616c6b230ff4bd6d68019a11f6b0e1133709456
authorMichael Matz <matz@suse.de>
Sun, 21 Jul 2019 03:39:35 +0000 (21 05:39 +0200)
committerMichael Matz <matz@suse.de>
Sun, 1 Sep 2019 21:13:20 +0000 (1 23:13 +0200)
tree3ede8d1bddf98f857085392e04e7d98e5a95db9c
parent982de78e8dac33cdd50cc4a29d8c54fb81fce29a
riscv: Fix 73_arm.c

some constants were loaded wrong (e.g. 0xffffabcdU), and
risc-v needs to do explicit zero-extensions for widening from
32bit (not sign-extensions like the other 64bit targets).

This makes the whole tests2.all testsuite work.

Parameter passing is still not psABI-compliant, but internally
consistent.  (e.g. structs of two floats/doubles are passed
in integer registers, but should sit in float regs).
riscv64-gen.c
tccgen.c