From: Devang Patel <dpatel@apple.com>
To: Villemin Ryusuke <ryu@buf.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gcc4.0 autovect-branch
Date: Fri, 17 Dec 2004 18:17:00 -0000 [thread overview]
Message-ID: <D322061D-5057-11D9-85B2-000393A91CAA@apple.com> (raw)
In-Reply-To: <200412171647.iBHGlp3d018377@srv1.pantin.buf.fr>
On Dec 17, 2004, at 8:47 AM, Villemin Ryusuke wrote:
> Hi,
>
> I might be missing something simple and obvious, but I can't find out
> what :
> I picked up gcc4.0 in the autovect-branch, compiled it successfully
> but can t make it vectorize anything.
>
> int a[256], b[256], c[256];
>
> foo () {
> int i;
> for (i=0; i<256; i++){
> a[i] = b[i] + c[i];
> }
> }
>
> compiled with :
> "gcc -O2 -msse2 -ftree-vectorize -fdump-tree-vect-stats vecto.c".
Compiler is able to vectorize this loop on powerpc-darwin.
> I expect to see a "LOOP VECTORIZED." (or at least "not vectorized:"),
> but I have nothing...
Do you see vecto.c.t53.vect ? What does it say?
If you do not see vecto.c.t53.vect then somehow vectorizer is not
triggered.
-
Devang
next prev parent reply other threads:[~2004-12-17 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-17 16:48 Villemin Ryusuke
2004-12-17 17:04 ` Daniel Berlin
2004-12-17 18:17 ` Devang Patel [this message]
2004-12-17 18:56 ` Daniel Berlin
2004-12-20 14:07 ` Villemin Ryusuke
2004-12-20 15:50 ` Daniel Berlin
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=D322061D-5057-11D9-85B2-000393A91CAA@apple.com \
--to=dpatel@apple.com \
--cc=gcc-help@gcc.gnu.org \
--cc=ryu@buf.com \
/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).