mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-23 01:09:23 +02:00
Merged revisions 3885 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk ........ r3885 | florian | 2006-06-17 21:43:15 +0200 (Sa, 17 Jun 2006) | 2 lines * fixed sse addition if operands were swapped and in float registers ........ git-svn-id: branches/fixes_2_0@3886 -
This commit is contained in:
parent
10afb4fb6e
commit
aecb5cae40
@ -725,6 +725,10 @@ unit nx86add;
|
||||
end
|
||||
else
|
||||
begin
|
||||
if not(nf_swaped in flags) then
|
||||
if right.location.loc in [LOC_FPUREGISTER,LOC_CFPUREGISTER] then
|
||||
location_force_mem(exprasmlist,right.location);
|
||||
|
||||
location_force_mmregscalar(exprasmlist,left.location,false);
|
||||
location.register:=left.location.register;
|
||||
{ force floating point reg. location to be written to memory,
|
||||
|
Loading…
Reference in New Issue
Block a user