From 38898389f48baac4a319c973d77bb6e69f98d502 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sat, 29 Apr 2017 19:57:04 +0200 Subject: RISC-V vararg.S: a "sw" instruction should be "sptr" --- runtime/riscV/vararg.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/riscV') diff --git a/runtime/riscV/vararg.S b/runtime/riscV/vararg.S index a9481077..a3bdc320 100644 --- a/runtime/riscV/vararg.S +++ b/runtime/riscV/vararg.S @@ -75,7 +75,7 @@ FUNCTION(__compcert_va_float64) lptr t5, 0(a0) # t5 = pointer to next argument addi t5, t5, 15 # 8-align and advance by 8 and t5, t5, -8 - sw t5, 0(a0) # update ap + sptr t5, 0(a0) # update ap fld fa0, -8(t5) # return it in fa0 jr ra ENDFUNCTION(__compcert_va_float64) -- cgit