aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/Results
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-10 14:34:58 +0100
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-10 15:58:46 +0100
commite81d015e3cc2cb0c352792d0cac12f1594281bc2 (patch)
tree27a114153d1af7ba2771422780d452e5cb776daa /test/regression/Results
parent35e2b11db8d5b79a09e6d69dd68b54d3a51ba2d5 (diff)
downloadcompcert-kvx-e81d015e3cc2cb0c352792d0cac12f1594281bc2.tar.gz
compcert-kvx-e81d015e3cc2cb0c352792d0cac12f1594281bc2.zip
RISC-V: wrong fixup code generated for vararg calls with fixed FP args
This is a follow-up to 2076a3bb3. Integer registers were wrongly reserved for fixed FP arguments, causing variadic FP arguments to end up in the wrong integer registers. Added regression test in test/regression/varargs2.c
Diffstat (limited to 'test/regression/Results')
-rw-r--r--test/regression/Results/varargs21
1 files changed, 1 insertions, 0 deletions
diff --git a/test/regression/Results/varargs2 b/test/regression/Results/varargs2
index 96ee9d63..050b6331 100644
--- a/test/regression/Results/varargs2
+++ b/test/regression/Results/varargs2
@@ -10,4 +10,5 @@ Twice: -1 1.23
With va_copy: -1 1.23
With va_copy: -1 1.23
With extra args: x & Hello, world! & 42 & 123456789012345 & 3.141592654 & 2.718281746
+With extra FP args: 123456789012345 & 3.141592654 & 2.718281746
va_list compatibility: x & Hello, world! & 42 & 123456789012345 & 3.141592654 & 2.718281746