Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit d4a0943

Browse files
author
Mike Pall
committed
ARM/FFI: Invoke SPLIT pass for double args in FFI call.
1 parent 325a182 commit d4a0943

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lj_crecord.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,8 @@ static TRef crec_call_args(jit_State *J, RecordFFData *rd,
802802
else
803803
tr = emitconv(tr, IRT_INT, d->size==1 ? IRT_I8 : IRT_I16,IRCONV_SEXT);
804804
}
805+
} else if (LJ_SOFTFP && ctype_isfp(d->info) && d->size > 4) {
806+
lj_needsplit(J);
805807
}
806808
#if LJ_TARGET_X86
807809
/* 64 bit args must not end up in registers for fastcall/thiscall. */

0 commit comments

Comments
 (0)