This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [S/390]
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: stevenb at suse dot de (Steven Bosscher)
- Cc: gcc-patches at gcc dot gnu dot org, weigand at i1 dot informatik dot uni-erlangen dot de (Ulrich Weigand)
- Date: Sun, 16 May 2004 01:48:59 +0200 (CEST)
- Subject: 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