build with -march=native by default
This commit is contained in:
parent
ba9c90c0a1
commit
4d487cea1f
7
nim.cfg
7
nim.cfg
|
@ -21,6 +21,13 @@
|
||||||
-d:"chronicles_colors=off"
|
-d:"chronicles_colors=off"
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
# This helps especially for 32-bit x86, which sans SSE2 and newer instructions
|
||||||
|
# requires quite roundabout code generation for cryptography, and other 64-bit
|
||||||
|
# and larger arithmetic use cases, along with register starvation issues. When
|
||||||
|
# engineering a more portable binary release, this should be tweaked but still
|
||||||
|
# use at least -msse2 or -msse3.
|
||||||
|
--passC:"-march=native"
|
||||||
|
|
||||||
--threads:on
|
--threads:on
|
||||||
--opt:speed
|
--opt:speed
|
||||||
--excessiveStackTrace:on
|
--excessiveStackTrace:on
|
||||||
|
|
Loading…
Reference in New Issue