From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28697 invoked by alias); 24 Jan 2009 05:12:18 -0000 Received: (qmail 28626 invoked by uid 48); 24 Jan 2009 05:12:03 -0000 Date: Sat, 24 Jan 2009 05:12:00 -0000 Message-ID: <20090124051203.28624.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/38824] [4.4 Regression] performance regression of sse code from 4.2/4.3 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "xuepeng dot guo at intel dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg02510.txt.bz2 ------- Comment #8 from xuepeng dot guo at intel dot com 2009-01-24 05:12 ------- Created an attachment (id=17173) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17173&action=view) An extracted test case for this bug. Hi tim, I extracted this test case from your website. But I can't exactly reproduce this bug on my machine with a core2 quard micor processor. Can you help me to check whether my test case is valid firstly? Here I post what I got on my machine for your reference: [xguo2@shgcc-10 38824]$ /home/xguo2/app/trunk/bin/g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --enable-checking=assert --disable-bootstrap --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.0 20090121 (experimental) [trunk revision 143537] (GCC) [xguo2@shgcc-10 38824]$ /home/xguo2/app/trunk/bin/g++ -O3 -msse -mfpmath=sse simd_unroll_benchmarks.cpp -o 44.out [xguo2@shgcc-10 38824]$ time ./44.out real 0m1.877s user 0m1.876s sys 0m0.001s [xguo2@shgcc-10 38824]$ time ./44.out real 0m1.877s user 0m1.877s sys 0m0.000s [xguo2@shgcc-10 38824]$ time ./44.out real 0m1.881s user 0m1.882s sys 0m0.000s [xguo2@shgcc-10 38824]$ /home/xguo2/app/usr/gcc-4.2/bin/g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /net/gnu-13/export/gnu/src/gcc-4.2/gcc/configure --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking=assert --prefix=/usr/gcc-4.2 --with-local-prefix=/usr/local Thread model: posix gcc version 4.2.0 [xguo2@shgcc-10 38824]$ /home/xguo2/app/usr/gcc-4.2/bin/g++ -O3 -msse -mfpmath=sse simd_unroll_benchmarks.cpp -o 42.out [xguo2@shgcc-10 38824]$ time ./42.out real 0m1.991s user 0m1.991s sys 0m0.000s [xguo2@shgcc-10 38824]$ time ./42.out real 0m1.991s user 0m1.989s sys 0m0.001s [xguo2@shgcc-10 38824]$ time ./42.out real 0m1.991s user 0m1.990s sys 0m0.000s [xguo2@shgcc-10 38824]$ g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) [xguo2@shgcc-10 38824]$ g++ -O3 -msse -mfpmath=sse simd_unroll_benchmarks.cpp -o 41.out [xguo2@shgcc-10 38824]$ time ./41.out real 0m1.465s user 0m1.464s sys 0m0.002s [xguo2@shgcc-10 38824]$ time ./41.out real 0m1.465s user 0m1.465s sys 0m0.000s [xguo2@shgcc-10 38824]$ time ./41.out real 0m1.465s user 0m1.464s sys 0m0.002s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38824