N-body bench
bearophile
bearophileHUGS at lycos.com
Thu Jan 30 13:33:37 PST 2014
Stanislav Blinov:
> I meant that if I unroll it, it's not irrelevant anymore :)
If a function takes no time to run, and you tweak it, your
program is not supposed to go faster.
> I was going to compare the asm listings, but C++ seems to have
> unrolled and inlined the outer loop right inside main(), and
> now I'm slightly lost in it :)
Try using -fkeep-inline-functions.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list