public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53773] Vectorizer generates non-canonical multiplies
Date: Tue, 31 Jul 2012 12:25:00 -0000	[thread overview]
Message-ID: <bug-53773-4-UPj87IOB6r@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53773-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53773

--- Comment #7 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2012-07-31 12:25:10 UTC ---
Author: wschmidt
Date: Tue Jul 31 12:25:04 2012
New Revision: 190007

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190007
Log:
gcc:

2012-07-31  Bill Schmidt  <wschmidt@linux.ibm.com>

    PR tree-optimization/53773
    * tree-vectorizer.h (struct _loop_vec_info): Add operands_swapped.
    (LOOP_VINFO_OPERANDS_SWAPPED): New macro.
    * tree-vect-loop.c (new_loop_vec_info): Initialize
    LOOP_VINFO_OPERANDS_SWAPPED field.
    (destroy_loop_vec_info): Restore canonical form.
    (vect_is_slp_reduction): Set LOOP_VINFO_OPERANDS_SWAPPED field.
    (vect_is_simple_reduction_1): Likewise.

gcc/testsuite:

2012-07-31  Bill Schmidt  <wschmidt@linux.ibm.com>

    PR tree-optimization/53773
    * testsuite/gcc.dg/vect/pr53773.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr53773.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vectorizer.h


  parent reply	other threads:[~2012-07-31 12:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 22:16 [Bug tree-optimization/53773] New: " wschmidt at gcc dot gnu.org
2012-06-26  8:31 ` [Bug tree-optimization/53773] " jakub at gcc dot gnu.org
2012-06-26  8:36 ` rguenther at suse dot de
2012-06-26  8:52 ` rguenth at gcc dot gnu.org
2012-07-27 16:27 ` wschmidt at gcc dot gnu.org
2012-07-29 16:55 ` wschmidt at gcc dot gnu.org
2012-07-29 16:56 ` wschmidt at gcc dot gnu.org
2012-07-30  8:47 ` rguenther at suse dot de
2012-07-31 12:25 ` wschmidt at gcc dot gnu.org [this message]
2012-07-31 12:26 ` wschmidt at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53773-4-UPj87IOB6r@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).