mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 04:46:11 +02:00
* Fixed loading of single floating point values from memory to register for ARM hardfloat.
git-svn-id: trunk@10826 -
This commit is contained in:
parent
03c02a17e9
commit
60ecb64346
@ -1140,7 +1140,7 @@ unit cgcpu;
|
||||
var
|
||||
oppostfix:toppostfix;
|
||||
begin
|
||||
case tosize of
|
||||
case fromsize of
|
||||
OS_32,
|
||||
OS_F32:
|
||||
oppostfix:=PF_S;
|
||||
@ -1153,6 +1153,8 @@ unit cgcpu;
|
||||
InternalError(200309021);
|
||||
end;
|
||||
handle_load_store(list,A_LDF,oppostfix,reg,ref);
|
||||
if fromsize<>tosize then
|
||||
a_loadfpu_reg_reg(list,fromsize,tosize,reg,reg);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user