Decrease multiple returns to 1 integer and 1 float to fit PPC64 BE ABI.
@@ -6,16 +6,16 @@ f0: func i64:a # no return value
ret
endfunc
p_f0: proto i64:a
-fn: func i64, f, d, ld, i64, ld # multiple return values
- ret 42, 4.2f, 2.4, 44.22l, 24, 444.222l
+fn: func i64, f # multiple return values
+ ret 42, 4.2f
endfunc
-p_fn: proto i64, f, d, ld, i64, ld
+p_fn: proto i64, f
main: func i64
local i64:i, f:f, d:d, ld:ld, i64:i2, ld:ld2, d:fd
call p_f0, f0, 42
- call p_fn, fn, i, f, d, ld, i2, ld2
+ call p_fn, fn, i, f
f2d fd, f
- call p_printf, printf, "i=%ld, f=%e, d=%e, ld=%Le, i2=%ld, ld2=%Le\n", i, fd, d, ld, i2, ld2
+ call p_printf, printf, "i=%ld, f=%e\n", i, fd
ret 0
endfunc
endmodule
