public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "spop at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"
Date: Fri, 26 Mar 2010 20:13:00 -0000	[thread overview]
Message-ID: <20100326201324.32546.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43430-7780@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from spop at gcc dot gnu dot org  2010-03-26 20:13 -------
Reduced testcase, for which ncopies is 4.

typedef unsigned char uint8_t;
vsad16_c (void *c, uint8_t * s1, uint8_t * s2, int stride, int h)
{
  int score = 0;
  int x, y;
  for (x = 0; x < 16; x++)
    score += ((s1[x] - s1[x + stride] + s2[x + stride]) >= 0 ?
              s1[x] + s2[x + stride] :
              s2[x + stride]);
  return score;
}


-- 


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


  parent reply	other threads:[~2010-03-26 20:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 20:27 [Bug tree-optimization/43430] New: " spop at gcc dot gnu dot org
2010-03-26 20:08 ` [Bug tree-optimization/43430] " spop at gcc dot gnu dot org
2010-03-26 20:13 ` spop at gcc dot gnu dot org [this message]
2010-03-26 20:27 ` spop at gcc dot gnu dot org
2010-03-26 20:49 ` spop at gcc dot gnu dot org
2010-03-26 21:18 ` spop at gcc dot gnu dot org
2010-03-30 19:59 ` spop at gcc dot gnu dot org
2010-09-07 13:28 ` matz at gcc dot gnu dot org
2010-09-08 12:40 ` matz at gcc dot gnu dot org
2010-09-17 19:02 ` spop at gcc dot gnu dot 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=20100326201324.32546.qmail@sourceware.org \
    --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).