From e19c5bd961acd8457a9a1fc65f51cda72934c52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Sowi=C5=84ski?= Date: Thu, 22 May 2025 12:44:26 +0200 Subject: [PATCH] Two reals are passed in memory order --- riscv-cc.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/riscv-cc.adoc b/riscv-cc.adoc index 910c45d8..d170d48b 100644 --- a/riscv-cc.adoc +++ b/riscv-cc.adoc @@ -318,7 +318,8 @@ a standalone floating-point real. A struct containing two floating-point reals is passed in two floating-point registers, if neither real is more than ABI_FLEN bits wide and at least two floating-point -argument registers are available. (The registers need not be an aligned pair.) +argument registers are available. (The registers need not be an aligned pair +and are assigned to the two reals in memory order.) Otherwise, it is passed according to the integer calling convention. A complex floating-point number, or a struct containing just one complex