diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-04 20:34:17 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-04 20:34:38 +0100 |
commit | f8eed27dcb625798091b3ffa29bf38bb9a005d43 (patch) | |
tree | b18561035acac52488d230d93dd508e2aa3c2ce3 | |
parent | add and fix more warnings (diff) | |
download | libkeccak-f8eed27dcb625798091b3ffa29bf38bb9a005d43.tar.gz libkeccak-f8eed27dcb625798091b3ffa29bf38bb9a005d43.tar.bz2 libkeccak-f8eed27dcb625798091b3ffa29bf38bb9a005d43.tar.xz |
list optimisation flags to try out (not filtered, contains all defined by gcc)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 84 |
1 files changed, 84 insertions, 0 deletions
@@ -1,3 +1,9 @@ +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without any warranty. + + WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wswitch-default \ @@ -11,6 +17,84 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi FLAGS = -std=gnu99 $(WARN) +# TODO optimisation flags to test, and naturally -ON +# -faggressive-loop-optimizations -falign-functions[=N] +# -falign-jumps[=N] +# -falign-labels[=N] -falign-loops[=N] +# -fassociative-math -fauto-inc-dec -fbranch-probabilities +# -fbranch-target-load-optimize -fbranch-target-load-optimize2 +# -fbtr-bb-exclusive -fcaller-saves +# -fcheck-data-deps -fcombine-stack-adjustments -fconserve-stack +# -fcompare-elim -fcprop-registers -fcrossjumping +# -fcse-follow-jumps -fcse-skip-blocks -fcx-fortran-rules +# -fcx-limited-range +# -fdata-sections -fdce -fdelayed-branch +# -fdelete-null-pointer-checks -fdevirtualize -fdevirtualize-speculatively -fdse +# -fearly-inlining -fipa-sra -fexpensive-optimizations -ffat-lto-objects +# -ffast-math -ffinite-math-only -ffloat-store -fexcess-precision=STYLE +# -fforward-propagate -ffp-contract=STYLE -ffunction-sections +# -fgcse -fgcse-after-reload -fgcse-las -fgcse-lm -fgraphite-identity +# -fgcse-sm -fhoist-adjacent-loads -fif-conversion +# -fif-conversion2 -findirect-inlining +# -finline-functions -finline-functions-called-once -finline-limit=N +# -finline-small-functions -fipa-cp -fipa-cp-clone +# -fipa-pta -fipa-profile -fipa-pure-const -fipa-reference +# -fira-algorithm=ALGORITHM +# -fira-region=REGION -fira-hoist-pressure +# -fira-loop-pressure -fno-ira-share-save-slots +# -fno-ira-share-spill-slots -fira-verbose=N +# -fisolate-erroneous-paths-dereference -fisolate-erroneous-paths-attribute +# -fivopts -fkeep-inline-functions -fkeep-static-consts -flive-range-shrinkage +# -floop-block -floop-interchange -floop-strip-mine -floop-nest-optimize +# -floop-parallelize-all -flto -flto-compression-level +# -flto-partition=ALG -flto-report -flto-report-wpa -fmerge-all-constants +# -fmerge-constants -fmodulo-sched -fmodulo-sched-allow-regmoves +# -fmove-loop-invariants -fno-branch-count-reg +# -fno-defer-pop -fno-function-cse -fno-guess-branch-probability +# -fno-inline -fno-math-errno -fno-peephole -fno-peephole2 +# -fno-sched-interblock -fno-sched-spec -fno-signed-zeros +# -fno-toplevel-reorder -fno-trapping-math -fno-zero-initialized-in-bss +# -fomit-frame-pointer -foptimize-sibling-calls +# -fpartial-inlining -fpeel-loops -fpredictive-commoning +# -fprefetch-loop-arrays -fprofile-report +# -fprofile-correction -fprofile-dir=PATH -fprofile-generate +# -fprofile-generate=PATH +# -fprofile-use -fprofile-use=PATH -fprofile-values -fprofile-reorder-functions +# -freciprocal-math -free -frename-registers -freorder-blocks +# -freorder-blocks-and-partition -freorder-functions +# -frerun-cse-after-loop -freschedule-modulo-scheduled-loops +# -frounding-math -fsched2-use-superblocks -fsched-pressure +# -fsched-spec-load -fsched-spec-load-dangerous +# -fsched-stalled-insns-dep[=N] -fsched-stalled-insns[=N] +# -fsched-group-heuristic -fsched-critical-path-heuristic +# -fsched-spec-insn-heuristic -fsched-rank-heuristic +# -fsched-last-insn-heuristic -fsched-dep-count-heuristic +# -fschedule-insns -fschedule-insns2 -fsection-anchors +# -fselective-scheduling -fselective-scheduling2 +# -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops +# -fshrink-wrap -fsignaling-nans -fsingle-precision-constant +# -fsplit-ivs-in-unroller -fsplit-wide-types -fstack-protector +# -fstack-protector-all -fstack-protector-strong -fstrict-aliasing +# -fstrict-overflow -fthread-jumps -ftracer -ftree-bit-ccp +# -ftree-builtin-call-dce -ftree-ccp -ftree-ch +# -ftree-coalesce-inline-vars -ftree-coalesce-vars -ftree-copy-prop +# -ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse +# -ftree-forwprop -ftree-fre -ftree-loop-if-convert +# -ftree-loop-if-convert-stores -ftree-loop-im +# -ftree-phiprop -ftree-loop-distribution -ftree-loop-distribute-patterns +# -ftree-loop-ivcanon -ftree-loop-linear -ftree-loop-optimize +# -ftree-loop-vectorize +# -ftree-parallelize-loops=N -ftree-pre -ftree-partial-pre -ftree-pta +# -ftree-reassoc -ftree-sink -ftree-slsr -ftree-sra +# -ftree-switch-conversion -ftree-tail-merge -ftree-ter +# -ftree-vectorize -ftree-vrp +# -funit-at-a-time -funroll-all-loops -funroll-loops +# -funsafe-loop-optimizations -funsafe-math-optimizations -funswitch-loops +# -fvariable-expansion-in-unroller -fvect-cost-model -fvpt -fweb +# -fwhole-program -fwpa -fuse-ld=LINKER -fuse-linker-plugin + + + OBJ = digest files generalised-spec hex state |