pi benchmark on ldc and dmd

Andrew Wiley wiley.andrew.j at gmail.com
Tue Aug 2 13:36:05 PDT 2011


On Tue, Aug 2, 2011 at 1:31 PM, Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> == Quote from KennyTM~ (kennytm at gmail.com)'s article
> > On Aug 2, 11 20:00, Jason House wrote:
> > > The post says they did "dmd -O". They did not mention "-inline
> -noboundscheck
> -release". There may be extra flags that are required.
> > >
> > > Walter Bright Wrote:
> > >
> > >>
> http://www.reddit.com/r/programming/comments/j48tf/how_is_c_better_than_d/c29do98
> > >>
> > >> Anyone care to examine the assembler output and figure out why?
> > >
> > Let dmd have an '-O9999' flag to as a synonym of '-O -inline
> > -noboundscheck -release' so people won't miss the extra flags in
> > benchmarks. [/joke]
>

-O9001 will make the Redditors happy.

>
> -Ofast sounds better. ;)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110802/e7287c1e/attachment.html>


More information about the Digitalmars-d mailing list