public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/39543] [4.4 Regression] Reload failure on mplayer from SVN
Date: Tue, 24 Mar 2009 11:28:00 -0000	[thread overview]
Message-ID: <20090324112754.20791.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39543-87@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from jakub at gcc dot gnu dot org  2009-03-24 11:27 -------
Ah, forgot the testcase:

float __attribute__ ((aligned (16))) s0[128];
const float s1 = 0.707;
float s2[8] __attribute__ ((aligned (16)));
float s3[8] __attribute__ ((aligned (16)));
float s4[16] __attribute__ ((aligned (16)));
float s5[16] __attribute__ ((aligned (16)));

void
foo (int k, float *x, float *y, const float *d, const float *z)
{
  float *a, *b, *c, *e;

  a = x + 2 * k;
  b = a + 2 * k;
  c = b + 2 * k;
  e = y + 2 * k;
  __asm__ volatile (""
    : "=m" (x[0]), "=m" (b[0]), "=m" (a[0]), "=m" (c[0])
    : "m" (y[0]), "m" (y[k * 2]), "m" (x[0]), "m" (a[0])
    : "memory");
  for (;;)
    {
      __asm__ volatile (""
:
: "m" (y[2]), "m" (d[2]), "m" (e[2]), "m" (z[2])
                        : "memory");
      if (!--k)
break;
    }
  __asm__ volatile (""
    : "=m" (x[2]), "=m" (x[10]), "=m" (x[6]), "=m" (x[14])
    : "m" (y[2]), "m" (y[6]), "m" (x[2]), "m" (x[6]), "m" (s1)
    : "memory");
}

void
bar (float *a)
{
  foo (4, a, a + 16, s2, s3);
  foo (8, a, a + 32, s4, s5);
}

void
baz (void)
{
  bar (s0);
}


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


  reply	other threads:[~2009-03-24 11:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 11:25 [Bug rtl-optimization/39543] New: " jakub at gcc dot gnu dot org
2009-03-24 11:28 ` jakub at gcc dot gnu dot org [this message]
2009-03-24 12:54 ` [Bug rtl-optimization/39543] " jakub at gcc dot gnu dot org
2009-03-24 14:18 ` jakub at gcc dot gnu dot org
2009-03-24 15:04 ` bonzini at gnu dot org
2009-03-25 13:10 ` jakub at gcc dot gnu dot org
2009-03-25 15:49 ` jakub at gcc dot gnu dot org
2009-03-25 16:49 ` bonzini at gnu dot org
2009-03-25 18:32 ` jakub at gcc dot gnu dot org
2009-03-26  8:47 ` bonzini at gnu dot org
2009-03-26 13:42 ` matz at gcc dot gnu dot org
2009-03-30 14:45 ` [Bug rtl-optimization/39543] [4.4/4.5 " rguenth at gcc dot gnu dot org
2009-04-14 13:53 ` bonzini at gnu dot org
2009-04-14 13:59 ` matz at gcc dot gnu dot org
2009-04-14 14:02 ` bonzini at gnu dot org
2009-04-21 16:02 ` [Bug inline-asm/39543] " jakub at gcc dot gnu dot org
2009-04-26 18:56 ` jakub at gcc dot gnu dot org
2009-04-26 18:58 ` jakub at gcc dot gnu dot org
2009-04-26 19:09 ` jakub at gcc dot gnu dot org
2009-05-01 13:15 ` pinskia at gcc dot gnu dot org
2009-05-07 22:18 ` pinskia 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=20090324112754.20791.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).