[m-rev.] Re: diff: fix structure sharing bugs

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Feb 19 16:06:35 AEDT 2008


On Tue, 19 Feb 2008, Peter Wang wrote:

> On 2008-02-19, Peter Wang <novalazy at gmail.com> wrote:
>> The compiler bootstraps with --ctgc --intermodule-optimisation.  Well,
>> two modules in library (bag.m, multi_map.m) may still need inlining
>> disabled (an existing problem).  Benchmarks later.
>>
>
> On my laptop, CPU frequency switching disabled.
>
> % mmc -s asm_fast.gc ...
>
> EXTRA_MCFLAGS = --no-use-atomic-cells --intermodule-optimisation --structure-reuse
> mercury_compile.01 average of 12 with ignore=1     18.33 ( 99.56%)
>
> EXTRA_MCFLAGS = --no-use-atomic-cells --intermodule-optimisation
> mercury_compile.02 average of 12 with ignore=1     18.41 ( 99.99%)
>
> % mmc -s hlc.gc ...
>
> EXTRA_MCFLAGS = --no-use-atomic-cells --intermodule-optimisation --structure-reuse
> mercury_compile.01 average of 12 with ignore=1     16.84 (100.24%)
>
> EXTRA_MCFLAGS = --no-use-atomic-cells --intermodule-optimisation
> mercury_compile.02 average of 12 with ignore=1     16.80 ( 99.99%)

Do you have figures for the same at -O5?

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list