A testcase for x86 architecture (Intel Core i5 CPU here):

1) Download
http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.6/faad2-2.6.1.tar.gz/download

2) Build it using these commands

perl -pi -e 's|dnl AC_PROG_CXX|AC_PROG_CXX|' configure.in
autoreconf -vif
configure --disable-static

using GCC 4.2.4 and GCC 4.4.x

3) faad binary compiled with GCC 4.4.x will fail to properly decode some AAC
files (a sample file can be downloaded here
http://bugzilla.mplayerhq.hu/attachment.cgi?id=651 )

faad -o outfile.wav out.aac
...

Decoding out.aac took:  0.21 sec. 285.83x real-time. (GCC 4.2.x)
Decoding out.aac took:  1.55 sec.  38.72x real-time. (GCC 4.4.x)

So, we have two bugs here:

1) faad2's AAC decode algorithm fails to work correctly under GCC 4.4.x (even
with gcc -O2 -march=i686).
3) faad2's AAC decode algorithm compiled with GCC 4.4.x works an order of
magnitude slower than the same code code compiled using GCC 4.2.x.


-- 
           Summary: [GCC 4.4.x regression] Invalid assembly code is
                    generated for x86 architecture for faad2 library (AAC
                    decode algorithm)
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: t dot artem at mailcity dot com


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

Reply via email to