[Bug optimization/14110] New: altivec code misoptimized with any -O
lu_zero at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 14:13:00 GMT 2004
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
More information about the Gcc-bugs
mailing list