This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improvements to popping x87 stack in reg-stack.c


Just curious, do you have Whetstone results before and after your
change?

Laurent

On Sat, 2004-11-27 at 21:21, Roger Sayle wrote:
> The original code generated by GCC is:
> 
> 	; initial state (a b C d E f g)
> 	FREEP		(b C d E f g)
> 	FREEP		(C d E f g)
> 	FSTP 1		(C E f g)
> 	FSTP 2		(E C g)
> 	FSTP 2		(C E)
> 	FXCH 1		(E C)
> 
> The new faster and smaller code is:
> 
> 	; initial state (a b C d E f g)
> 	FREEP		(b C d E f g)
> 	FREEP		(C d E f g)
> 	FSTP 4		(d E f C)
> 	FREEP		(E f C)
> 	FSTP 1		(E C)




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]