public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/34529]  New: Wrong code with altivec and offsets
@ 2007-12-19  0:23 pinskia at gcc dot gnu dot org
  2007-12-19  0:23 ` [Bug rtl-optimization/34529] " pinskia at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-19  0:23 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
vector float b[560560];
vector float c[560560];
void f(void);
vector float Mult(vector float a)
{
  b[560560/16] = a;
  asm
("":::"memory","0","3","4","5","6","7","8","9","10","11","12","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29");
  b[560560/16] = a;
}

---- CUT ----
We get:
        lis 9,0x8
        ori 9,9,36272
        add 9,9,9
        stvx 0,0,9

Which is obviously wrong.


-- 
           Summary: Wrong code with altivec and offsets
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc64-linux-gnu


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-03-31 14:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19  0:23 [Bug rtl-optimization/34529] New: Wrong code with altivec and offsets pinskia at gcc dot gnu dot org
2007-12-19  0:23 ` [Bug rtl-optimization/34529] " pinskia at gcc dot gnu dot org
2007-12-19  0:25 ` [Bug rtl-optimization/34529] Wrong code with altivec stores " pinskia at gcc dot gnu dot org
2007-12-19  0:35 ` pinskia at gcc dot gnu dot org
2007-12-19  1:28 ` [Bug rtl-optimization/34529] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-12-19 23:02 ` pinskia at gcc dot gnu dot org
2007-12-20  2:09 ` pinskia at gcc dot gnu dot org
2007-12-21 14:36 ` dje at gcc dot gnu dot org
2008-01-09 21:23 ` uweigand at gcc dot gnu dot org
2008-01-11  9:13 ` [Bug target/34529] " ebotcazou at gcc dot gnu dot org
2008-01-21 18:55 ` dje at gcc dot gnu dot org
2008-01-21 19:56 ` uweigand at gcc dot gnu dot org
2008-01-22 21:43 ` dje at gcc dot gnu dot org
2008-01-23  0:00 ` [Bug target/34529] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-07-04 22:27 ` [Bug target/34529] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 14:56 ` jsm28 at gcc dot gnu dot org

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).