This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch RFC IA64] Fixing predication & autoinc interaction
On Tue, 2009-09-29 at 19:29 +0200, Paolo Bonzini wrote:
> >> However, following the ARM approach, we probably want to disallow side
> >> effects only for IF_THEN_ELSE forms and leave "predicable" attributes
> >> on everything, since they produce COND_EXEC forms of conditional
> >> assignment.
> >> I think the following part of Steve's original patch should be
> >> sufficient (bootstrapping it now):
> >
> > JFYI, bootstrap and regtest succeeded on ia64-linux, testcase in the PR
> > and vect-cond-*.c tests do not fail with this patch.
>
> Great, Steve can approve this patch himself IIRC.
>
> Paolo
Yup, I have gone ahead and checked it in with the following ChangeLog:
2009-09-29 Steve Ellcey <sje@cup.hp.com>
Alexander Monakov <amonakov@ispras.ru>
PR target/41365
* config/ia64/predicates.md (not_postinc_destination_operand):
New.
(not_postinc_memory_operand): New.
(not_postinc_move_operand): New.
* config/ia64/ia64.md (*cmovdi_internal): Disallow
autoincrement.
(*cmovsi_internal): Ditto.
Steve Ellcey
sje@cup.hp.com