mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
ARM64: Fix register hint for FFI calls with FP results.
Thanks to Peter Cawley. #1096
This commit is contained in:
parent
007e4dce13
commit
1e93951b25
@ -1985,7 +1985,7 @@ static Reg asm_setup_call_slots(ASMState *as, IRIns *ir, const CCallInfo *ci)
|
|||||||
as->evenspill = nslots;
|
as->evenspill = nslots;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return REGSP_HINT(RID_RET);
|
return REGSP_HINT(irt_isfp(ir->t) ? RID_FPRET : RID_RET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void asm_setup_target(ASMState *as)
|
static void asm_setup_target(ASMState *as)
|
||||||
|
Loading…
Reference in New Issue
Block a user