mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 11:50:30 +02:00
* fixed llvm unaryminus for comp/currency on platforms supporting extended
git-svn-id: trunk@32524 -
This commit is contained in:
parent
6cf67b7ace
commit
71e27e85c9
@ -102,8 +102,11 @@ begin
|
||||
{ comp and currency are handled as int64 at the llvm level }
|
||||
s64comp,
|
||||
s64currency:
|
||||
{ sc80floattype instead of _size, see comment in thlcgllvm.a_loadfpu_ref_reg }
|
||||
current_asmdata.CurrAsmList.concat(taillvm.op_reg_size_const_size(la_sitofp,zeroreg,s64inttype,0,sc80floattype));
|
||||
begin
|
||||
{ sc80floattype instead of _size, see comment in thlcgllvm.a_loadfpu_ref_reg }
|
||||
_size:=sc80floattype;
|
||||
current_asmdata.CurrAsmList.concat(taillvm.op_reg_size_const_size(la_sitofp,zeroreg,s64inttype,0,_size));
|
||||
end;
|
||||
{$ifdef cpuextended}
|
||||
s80real,sc80real:
|
||||
current_asmdata.CurrAsmList.concat(taillvm.op_reg_size_fpconst80_size(la_bitcast,zeroreg,_size,0.0,_size));
|
||||
|
Loading…
Reference in New Issue
Block a user