mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 13:29:27 +02:00
* do not copy parameters onto the stack using FPU registers if the type is
actually handled by the MM unit, resolves #39567
This commit is contained in:
parent
a8d19553b9
commit
67d80d414b
@ -1492,10 +1492,14 @@ implementation
|
||||
LOC_CMMREGISTER:
|
||||
cg.a_loadmm_ref_cgpara(list,locsize,l.reference,cgpara,mms_movescalar);
|
||||
{ Some targets pass floats in normal registers }
|
||||
LOC_REFERENCE,
|
||||
LOC_CREFERENCE:
|
||||
if use_vectorfpu(size) then
|
||||
cg.a_loadmm_ref_cgpara(list,locsize,l.reference,cgpara,mms_movescalar)
|
||||
else
|
||||
cg.a_loadfpu_ref_cgpara(list,locsize,l.reference,cgpara);
|
||||
LOC_REGISTER,
|
||||
LOC_CREGISTER,
|
||||
LOC_REFERENCE,
|
||||
LOC_CREFERENCE,
|
||||
LOC_FPUREGISTER,
|
||||
LOC_CFPUREGISTER:
|
||||
cg.a_loadfpu_ref_cgpara(list,locsize,l.reference,cgpara);
|
||||
|
Loading…
Reference in New Issue
Block a user