-
sipa commented at 9:36 am on November 2, 2014: contributor@theuni it seems -O3 performs significantly better (at least on my system) compared to -O2. Is there a way to make that default?
-
gmaxwell commented at 4:07 am on November 23, 2014: contributor
Sure, after AC_INIT but before AC_PROG_CC add a
0if test -z $CFLAGS; then 1 CFLAGS='-O3 -g' 2fi
Prog_CC will only set the default CFLAGS if they’re not already set.
-
theuni commented at 6:12 pm on November 24, 2014: contributorNote that it may be worth checking to see if there’s any major feature (or handful) enabled by -O3 that accounts for a majority of the performance boost. If so, we could just enable those and leave the -O alone. Obvious ones to try would include: -ftree-vectorize, -finline-functions
-
dcousens commented at 2:48 am on April 16, 2015: contributorSince https://github.com/bitcoin/secp256k1/pull/146 was merged, close this?
-
gmaxwell closed this on Apr 16, 2015
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 11:15 UTC
This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 11:15 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me