pi benchmark on ldc and dmd

Iain Buclaw ibuclaw at ubuntu.com
Tue Aug 2 13:31:47 PDT 2011


== 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]

-Ofast sounds better. ;)


More information about the Digitalmars-d mailing list