pi benchmark on ldc and dmd
simendsjo
simendsjo at gmail.com
Tue Aug 2 13:58:13 PDT 2011
On 02.08.2011 22:36, Andrew Wiley wrote:
> On Tue, Aug 2, 2011 at 1:31 PM, Iain Buclaw <ibuclaw at ubuntu.com
> <mailto:ibuclaw at ubuntu.com>> wrote:
>
> == Quote from KennyTM~ (kennytm at gmail.com
> <mailto: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. ;)
>
>
How about replacing -w with -9001?
http://en.wikipedia.org/wiki/ISO_9001#Contents_of_ISO_9001
More information about the Digitalmars-d
mailing list