From 5be6c35518d8b639d3c3ec1d4f8e1395372e9ba6 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Fri, 3 Nov 2000 17:53:24 +0000 Subject: [PATCH] * some small improvements --- compiler/i386/csopt386.pas | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/compiler/i386/csopt386.pas b/compiler/i386/csopt386.pas index beb5e1c380..03652badd1 100644 --- a/compiler/i386/csopt386.pas +++ b/compiler/i386/csopt386.pas @@ -251,8 +251,9 @@ begin while (tmpResult = R_NO) and stillValid(hp) and - not(modifiesConflictingMemLocation(prevFound,reg, - ppaiprop(p^.optinfo)^.regs,regsStillValid)) do + (ppaiprop(prevFound^.optinfo)^.canBeRemoved or + not(modifiesConflictingMemLocation(prevFound,reg, + ppaiprop(p^.optinfo)^.regs,regsStillValid))) do begin { only update the regsread for the instructions we already passed } if not(ppaiprop(prevFound^.optinfo)^.canBeRemoved) then @@ -1672,8 +1673,12 @@ End. { $Log$ - Revision 1.3 2000-11-01 22:53:30 jonas - * register contents were not cleared if there was only 1 instruction + Revision 1.4 2000-11-03 17:53:24 jonas + * some small improvements + + Revision 1.3 2000/11/01 22:53:30 jonas + * register contents were not cleared if there was only 1 instruction + between de previous sequence and the current one Revision 1.2 2000/10/24 10:40:53 jonas