This is the mail archive of the gcc@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: register allocation versus scheduling


Brad Lucier <lucier@math.purdue.edu> writes:

> -O1 -fno-trapping-math -fschedule-insns -fschedule-insns2 -fnew-ra -mcpu=7400
> 
> which also schedules *before* register allocation is 50% slower,
> since the schedule pass before hard register allocation loads *all*
> the x-y-z information for all the atoms into pseudo-registers at the
> top of the routine, and requires many moves between the stack and
> registers when these values are actually needed for computations.
> 
> Perhaps, since -fno-trapping-math is a relatively new option, this
> is a recent concern.

No, this has been a problem for some time, see
e. g. http://gcc.gnu.org/ml/gcc/2002-07/msg00646.html. The test case
there is similar, many FP loads (more than registers), work on them,
writing back.

-- 
	Falk


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