This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


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

Re: Well, that's interesting.


Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> Jim Blandy <jimb@red-bean.com> writes:
> 
> > The run times increase by 15 to 30%.
> 
> :) As I've reported previously (long ago) I've seen execution times
> change by 30% as a direct effect of *moving* one function from one
> place in eval.c to another.  I've also seen execution speed increasing
> because I *added* one new function (not used in the benchmark) in
> eval.c...

No, in this case it's not mainly the result of changes in code
position; the main problem is that the x86 processors are totally
register challenged and using pic code (with gcc at least) steals a
register for holding an offset (so you end up with something like 3
somewhat general registers). Moving around functions and code and
getting weird speed ups is black magic territory; this is just crap
design >;'7


-- 
Greg

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