public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ira Rosen <IRAR@il.ibm.com>
To: Benjamin Redelings I <benjamin_redelings@ncsu.edu>
Cc: gcc-help@gcc.gnu.org
Subject: Re: "unhandled use" in vectorizing a dot product?
Date: Thu, 03 Dec 2009 10:32:00 -0000	[thread overview]
Message-ID: <OF71E087FA.601E3E51-ONC2257681.002C2E2C-C2257681.002CDE77@il.ibm.com> (raw)
In-Reply-To: <4B167B41.6090803@ncsu.edu>



Benjamin Redelings I <benjamin_redelings@ncsu.edu> wrote on 02/12/2009
16:35:45:

> Is there a good place on the wiki to add the
> following information, to help newcomers get up to speed?
>
> * -ffast-math is required to vectorize dot products and other sums.

We can add it here:
http://gcc.gnu.org/projects/tree-ssa/vectorization.html.

> * if the loop is optimized out, then there will be no report of its
> vectorizability.
> * (?) this is the ONLY reason that there would be no such report.
> * if a function is inlined into another function, then its
> vectorizability will be reported again, in that function.
> * if all uses of a function are inlined, then there will be no
> "vectorized n loops in function" message.
> * functions are (of course) not analyzed by the vectorizer in the order
> in which they are declared.

These are true for all optimizations.

Ira

>
> I guess this doesn't matter now, but here is the corrected file, for
> reference.
>
> Thanks a lot!
>
> -BenRI
> [attachment "m3s.c" deleted by Ira Rosen/Haifa/IBM]

      reply	other threads:[~2009-12-03  8:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 21:25 Benjamin Redelings I
2009-11-30 22:37 ` Tim Prince
2009-11-30 23:06   ` Brian Budge
     [not found] ` <28126_1259620656_nAUMbYpv003485_4B144917.6050304@aol.com>
2009-11-30 23:24   ` Benjamin Redelings
2009-12-01  7:30     ` Ira Rosen
2009-12-01 16:07       ` Benjamin Redelings I
2009-12-01 19:24         ` Tim Prince
2009-12-02 14:35         ` Ira Rosen
2009-12-02 16:59           ` Benjamin Redelings I
2009-12-03 10:32             ` Ira Rosen [this message]

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=OF71E087FA.601E3E51-ONC2257681.002C2E2C-C2257681.002CDE77@il.ibm.com \
    --to=irar@il.ibm.com \
    --cc=benjamin_redelings@ncsu.edu \
    --cc=gcc-help@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).