Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #2821 > unrolled thread
| Started by | Bonita Montero <Bonita.Montero@gmail.com> |
|---|---|
| First post | 2015-02-13 22:02 +0100 |
| Last post | 2015-02-13 22:25 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.programming.threads
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: About Delphi and FreePascal Bonita Montero <Bonita.Montero@gmail.com> - 2015-02-13 22:02 +0100
Re: About Delphi and FreePascal Melzzzzz <mel@zzzzz.com> - 2015-02-13 22:25 +0100
| From | Bonita Montero <Bonita.Montero@gmail.com> |
|---|---|
| Date | 2015-02-13 22:02 +0100 |
| Subject | Re: About Delphi and FreePascal |
| Message-ID | <mblopd$vbh$1@speranza.aioe.org> |
Ramine wrote:
> For Visual C++ 32 bit it gives:
^^
> And for FreePascal 64 bit (from the trunk that was optimized)
^^
Comparing 32 and 64 bit code ist comparing apples and pears.
64 bit code has more registers and therefore is faster.
I'll bet 64 bit C++ code optimized the same way like pascal
-code will outperform the pascal-code because of the better
C++-compilers.
And just ignoring, that C++ is the smarter language.
[toc] | [next] | [standalone]
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Date | 2015-02-13 22:25 +0100 |
| Message-ID | <20150213222558.4458e8eb@maxa-pc> |
| In reply to | #2821 |
On Fri, 13 Feb 2015 22:02:38 +0100 Bonita Montero <Bonita.Montero@gmail.com> wrote: > Ramine wrote: > > > For Visual C++ 32 bit it gives: > ^^ > > > And for FreePascal 64 bit (from the trunk that was optimized) > ^^ > > Comparing 32 and 64 bit code ist comparing apples and pears. > 64 bit code has more registers and therefore is faster. > I'll bet 64 bit C++ code optimized the same way like pascal > -code will outperform the pascal-code because of the better > C++-compilers. > And just ignoring, that C++ is the smarter language. For reference: [bmaxa@maxa-pc sci]$ java jnt.scimark2.commandline SciMark 2.0a Composite Score: 2266.6183001230893 FFT (1024): 1389.279726779432 SOR (100x100): 1653.3291557147395 Monte Carlo : 877.5985388498531 Sparse matmult (N=1000, nz=5000): 1828.6989227937966 LU (100x100): 5584.185156477624 java.vendor: Oracle Corporation java.version: 1.7.0_76 os.arch: amd64 os.name: Linux os.version: 3.18.6-1-MANJARO [bmaxa@maxa-pc sci]$ gcc -Wall -O3 -march=native *.c -o scimark2 -lm [bmaxa@maxa-pc sci]$ ./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: 2813.76 FFT Mflops: 2292.31 (N=1024) SOR Mflops: 2446.00 (100 x 100) MonteCarlo: Mflops: 658.08 Sparse matmult Mflops: 3028.21 (N=1000, nz=5000) LU Mflops: 5644.21 (M=100, N=100) [bmaxa@maxa-pc sci]$ clang -Wall -O3 -march=native *.c -o scimark2 -lm [bmaxa@maxa-pc sci]$ ./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: 2743.54 FFT Mflops: 1640.43 (N=1024) SOR Mflops: 1875.82 (100 x 100) MonteCarlo: Mflops: 629.14 Sparse matmult Mflops: 2904.31 (N=1000, nz=5000) LU Mflops: 6668.00 (M=100, N=100) [bmaxa@maxa-pc sci]$
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming.threads
csiph-web