Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2422

Re: About scimark2 ...

From Melzzzzz <mel@zzzzz.invalid>
Newsgroups comp.programming.threads
Subject Re: About scimark2 ...
Date 2014-06-07 01:58 +0200
Organization None
Message-ID <lmtkjj$fgk$6@solani.org> (permalink)
References <lmt7tq$7jv$2@news.albasani.net> <lmtad8$kds$5@solani.org> <lmtcjl$h3v$1@news.albasani.net> <20140606155957.393@kylheku.com>

Show all headers | View raw


On Fri, 6 Jun 2014 23:11:59 +0000 (UTC)
Kaz Kylheku <kaz@kylheku.com> wrote:

> On 2014-06-06, aminer <aminer@toto.net> wrote:
> > I have benchmarked Delphi and FreePascal against GCC C++
> > and Microsoft C+ on scimark2, and i have found that without the GCC
> > -Ox optimization options the auto-vectorization will not be enabled
> > so Delphi and FreePascal and GCC C++ scored the same speed on
> > scimark2, but when you give -O1 or -O2,  GCC C++ uses
> > auto-vectorization and it scores almost 2X times the speed of
> > Freepascal or Delphi on scimark2 on x86.
> 
> Without -O the GNU compilers do not optimize at all. The generated
> code is quite bad.

I think that gcc performs auto vectorization only at -O3 .

> 
> If removing -O options brings the performance down to Delphi, and a
> mere -O1 can beat Delphi, that suggests that Delphi doesn't optimize,
> at least with regard to the program being tested.
> 
> Or something else is wrong, which makes the programs not comparable.

Most probably pascal benchmark uses more complex code. Eg OO features...

-- 
Click OK to continue...

Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 04:22 -0700
  Re: About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 04:50 -0700
  Re: About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 04:57 -0700
  Re: About scimark2 ... Melzzzzz <mel@zzzzz.invalid> - 2014-06-06 23:04 +0200
    Re: About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 05:22 -0700
    Re: About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 05:42 -0700
      Re: About scimark2 ... Melzzzzz <mel@zzzzz.com> - 2014-06-07 00:56 +0200
      Re: About scimark2 ... Kaz Kylheku <kaz@kylheku.com> - 2014-06-06 23:11 +0000
        Re: About scimark2 ... Melzzzzz <mel@zzzzz.invalid> - 2014-06-07 01:58 +0200
          Re: About scimark2 ... aminer <aminer@toto.net> - 2014-06-06 09:08 -0700
            Re: About scimark2 ... Melzzzzz <mel@zzzzz.invalid> - 2014-06-07 04:44 +0200

csiph-web