From: Mike Pall Date: Thu, 26 Apr 2012 21:35:34 +0000 (+0200) Subject: ARM/FFI: Invoke SPLIT pass for double args in FFI call. X-Git-Tag: v2.0.0-beta10~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a09431c835a7a87dac5437d6ccc36516ce0645;p=thirdparty%2FLuaJIT.git ARM/FFI: Invoke SPLIT pass for double args in FFI call. --- diff --git a/src/lj_crecord.c b/src/lj_crecord.c index a8342015..1b65c110 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c @@ -802,6 +802,8 @@ static TRef crec_call_args(jit_State *J, RecordFFData *rd, else tr = emitconv(tr, IRT_INT, d->size==1 ? IRT_I8 : IRT_I16,IRCONV_SEXT); } + } else if (LJ_SOFTFP && ctype_isfp(d->info) && d->size > 4) { + lj_needsplit(J); } #if LJ_TARGET_X86 /* 64 bit args must not end up in registers for fastcall/thiscall. */