mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 09:19:39 +02:00
* probably check type for int_to_real instruction selection
This commit is contained in:
parent
410c1bbaa0
commit
0978f6ce16
@ -274,12 +274,12 @@ implementation
|
||||
if UseAVX then
|
||||
case location.size of
|
||||
OS_F32:
|
||||
if is_signed(left.resultdef) then
|
||||
if torddef(left.resultdef).ordtype in [s32bit,s64bit] then
|
||||
op:=A_VCVTSI2SS
|
||||
else
|
||||
op:=A_VCVTUSI2SS;
|
||||
OS_F64:
|
||||
if is_signed(left.resultdef) then
|
||||
if torddef(left.resultdef).ordtype in [s32bit,s64bit] then
|
||||
op:=A_VCVTSI2SD
|
||||
else
|
||||
op:=A_VCVTUSI2SD;
|
||||
|
Loading…
Reference in New Issue
Block a user