Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #4643
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Newsgroups | comp.programming, comp.programming.threads |
| Subject | Re: To Melzzzzz |
| Date | 2014-06-29 17:20 +0200 |
| Organization | albasani.net |
| Message-ID | <loparl$9ui$5@news.albasani.net> (permalink) |
| References | (2 earlier) <lop839$ute$1@dont-email.me> <lop8fk$9ui$3@news.albasani.net> <lop8tr$7ra$1@dont-email.me> <lop9ml$9ui$4@news.albasani.net> <lopafm$jkg$1@dont-email.me> |
Cross-posted to 2 groups.
On Sun, 29 Jun 2014 11:14:31 -0700 Ramine <ramine@1.1> wrote: so it is not auto-vectorizing the code... so that's amazing. > how then gcc is generating 2X times faster code than Delphi and > FreePascal ? i think that Delphi and FreePascal are slow compilers. gcc - C and C++ is being developed at fast pace and improved constantly. Many many commits. Hack gcc is even better than intel icc now, I think. bmaxa@maxa:~/examples/forth/sci$ gcc-trunk -Ofast -mavx *.c -o scimark2 -lm bmaxa@maxa:~/examples/forth/sci$ time ./scimark2 ** ** ** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark ** ** for details. (Results can be submitted to pozo@nist.gov) ** ** ** Using 2.00 seconds min time per kenel. Composite Score: 2147.56 FFT Mflops: 1810.43 (N=1024) SOR Mflops: 1848.91 (100 x 100) MonteCarlo: Mflops: 631.23 Sparse matmult Mflops: 2253.35 (N=1000, nz=5000) LU Mflops: 4193.91 (M=100, N=100) real 0m28.592s user 0m28.516s sys 0m0.050s bmaxa@maxa:~/examples/forth/sci$ icc -fast -mavx *.c -o scimark2 -lm bmaxa@maxa:~/examples/forth/sci$ time ./scimark2 ** ** ** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark ** ** for details. (Results can be submitted to pozo@nist.gov) ** ** ** Using 2.00 seconds min time per kenel. Composite Score: 2079.37 FFT Mflops: 1707.05 (N=1024) SOR Mflops: 1527.84 (100 x 100) MonteCarlo: Mflops: 1203.64 Sparse matmult Mflops: 1695.46 (N=1000, nz=5000) LU Mflops: 4262.85 (M=100, N=100) real 0m27.656s user 0m27.601s sys 0m0.034s (Intel seems that autovectorize MonteCarlo, which gcc don't) but overal intel is slower. > > > > Thank you, > Amine Moulay Ramdane. > > > > -- Click OK to continue...
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
To Melzzzzz Ramine <ramine@1.1> - 2014-06-28 15:51 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.invalid> - 2014-06-29 04:10 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:33 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 16:39 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:47 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:00 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:14 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:20 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:23 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:31 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:32 -0700
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:38 -0700
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:41 -0700
Re: To Melzzzzz Melzzzzz <mel@zzzzz.invalid> - 2014-06-29 16:46 +0200
Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:54 -0700
csiph-web