This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14110] New: altivec code misoptimized with any -O


that problem happens while building libavicodec's idct_altivec.c.
I restricted the issue inq the idct_add_altivec() function.

the code is usually built with 
"-O4 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe -ffast-math
-fomit-frame-pointer" and with gcc-3.2.3 produces correct code.

if I change it removing -O4 and not putting any other -O (tested -O2 and -O1)
the result is a fully working code.

-- 
           Summary: altivec code misoptimized with any -O
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lu_zero at gentoo dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]