public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gseanmcg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/53233] ICE in extract_insn, at recog.c:2103
Date: Fri, 04 May 2012 19:00:00 -0000	[thread overview]
Message-ID: <bug-53233-4-Q7uj33ompb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53233-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from Sean McGovern <gseanmcg at gmail dot com> 2012-05-04 19:00:05 UTC ---
The code in question (with line numbers):

  93 static void vector_fmul_window_altivec(float *dst, const float *src0,
const float *src1, const float *win, int len)

  94 {

  95     vector float zero, t0, t1, s0, s1, wi, wj;

  96     const vector unsigned char reverse = vcprm(3,2,1,0);

  97     int i,j;

  98 

  99     dst += len;

 100     win += len;

 101     src0+= len;

 102 

 103     zero = (vector float)vec_splat_u32(0);

 104 

 105     for(i=-len*4, j=len*4-16; i<0; i+=16, j-=16) {

 106         s0 = vec_ld(i, src0);

 107         s1 = vec_ld(j, src1);

 108         wi = vec_ld(i, win);

 109         wj = vec_ld(j, win);

 110 

 111         s1 = vec_perm(s1, s1, reverse);

 112         wj = vec_perm(wj, wj, reverse);

 113 

 114         t0 = vec_madd(s0, wj, zero);

 115         t0 = vec_nmsub(s1, wi, t0);

 116         t1 = vec_madd(s0, wi, zero);

 117         t1 = vec_madd(s1, wj, t1);

 118         t1 = vec_perm(t1, t1, reverse);

 119 

 120         vec_st(t0, i, dst);

 121         vec_st(t1, j, dst);

 122     }

 123 }


  reply	other threads:[~2012-05-04 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04 17:57 [Bug target/53233] New: " gseanmcg at gmail dot com
2012-05-04 19:00 ` gseanmcg at gmail dot com [this message]
2012-07-31 17:47 ` [Bug target/53233] " gseanmcg at gmail dot com

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-53233-4-Q7uj33ompb@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).