public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/45160]  New: [GCC 4.4.x regression] Invalid assembly code is generated for x86 architecture for faad2 library (AAC decode algorithm)
@ 2010-08-01 23:59 t dot artem at mailcity dot com
  2010-08-02  0:09 ` [Bug inline-asm/45160] " t dot artem at mailcity dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: t dot artem at mailcity dot com @ 2010-08-01 23:59 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2010-09-06 20:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-01 23:59 [Bug inline-asm/45160] New: [GCC 4.4.x regression] Invalid assembly code is generated for x86 architecture for faad2 library (AAC decode algorithm) t dot artem at mailcity dot com
2010-08-02  0:09 ` [Bug inline-asm/45160] " t dot artem at mailcity dot com
2010-08-02  0:31 ` t dot artem at mailcity dot com
2010-08-02 13:09 ` [Bug inline-asm/45160] [4.4.x/4.5.x " t dot artem at mailcity dot com
2010-08-02 13:10 ` t dot artem at mailcity dot com
2010-08-02 13:15 ` t dot artem at mailcity dot com
2010-08-02 14:12 ` rguenth at gcc dot gnu dot org
2010-08-02 15:49 ` t dot artem at mailcity dot com
2010-08-02 16:21 ` pinskia at gcc dot gnu dot org
2010-08-02 20:27 ` t dot artem at mailcity dot com
2010-08-30 15:47 ` rguenth at gcc dot gnu dot org
2010-09-06 20:20 ` t dot artem at mailcity dot com

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