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: [S/390]


Steven Bosscher wrote:

> 	* config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
> 	s390_expand_cmpmem): Do not use expand_start_loop and
> 	expand_end_loop, instead build the loop manually.

This is OK, but please ...

> !       do_pending_stack_adjust ();
> !       emit_queue ();

... don't add calls to these routines, they're not needed on s390.
Just the labels and jumps should be enough.


B.t.w. will these (or future) changes cause those hand-constructed
loops to be no longer optimized?  In particular unrolling in the
case of constant iteration counts is something we're counting on
to happen ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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