This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: *_BY_PIECES_P flaw
- From: James E Wilson <wilson at specifixinc dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Aug 2004 18:00:57 -0700
- Subject: Re: *_BY_PIECES_P flaw
- References: <20040805134718.GV8296@devserv.devel.redhat.com> <4113F008.2000107@specifixinc.com> <200408090156.i791u0D28492@makai.watson.ibm.com> <1092174155.6313.25.camel@aretha.corp.specifixinc.com> <200408111834.i7BIYQD10496@makai.watson.ibm.com>
On Wed, 2004-08-11 at 11:34, David Edelsohn wrote:
> Directly testing if align == GET_MODE_ALIGN (mode) seems like the
> most straight-forward way to address your other concern to avoid a loop
> computing the original value.
I didn't have a specific solution in mind. Your proposed solution is
fine.
> * expr.c (move_by_pieces): Set alignment for move to minimum of
> MOVE_MAX_PIECES mode alignment and the largest non-slow mode
> ...
OK.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com