Implementation notes: amd64, robin204, crypto_dh/k277mon

Computer: robin204
Architecture: amd64
CPU ID: GenuineIntel-000306f2-bfebfbff
SUPERCOP version: 20170228
Operation: crypto_dh
Primitive: k277mon
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
388096? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017041520170228
388208? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017041520170228
396912? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017041520170228
399600? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017041520170228
408700? ? ?? ? ?reficc_-xCORE-AVX2_-O3_-fomit-frame-pointer2017041520170228
408776? ? ?? ? ?reficc_-xCORE-AVX2_-O2_-fomit-frame-pointer2017041520170228
410308? ? ?? ? ?reficc_-no-vec2017041520170228
421484? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017041520170228
426976? ? ?? ? ?reficc2017041520170228
432344? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017041520170228
433068? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017041520170228
433340? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017041520170228
435632? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017041520170228
435780? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017041520170228
444464? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017041520170228
444700? ? ?? ? ?refgcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017041520170228
448620? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017041520170228
449524? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017041520170228
451972? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017041520170228
452612? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017041520170228
452996? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017041520170228
454648? ? ?? ? ?refgcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017041520170228
455144? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017041520170228
456644? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017041520170228

Compiler output

Implementation: crypto_dh/k277mon/ref
Compiler: cc
dh.c: In file included from dh.c:6:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: ffa.h:123: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:132: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:133: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:134: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:135: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:135: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:135: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ffa.h:135: error: incompatible types when assigning to type '__m128i' from type 'int'
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc ref

Compiler output

Implementation: crypto_dh/k277mon/ref
Compiler: gcc
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: ffa.h:123:10: error: '__builtin_ia32_palignr128' needs isa option -m32 -mssse3
dh.c: a_01 = _mm_alignr_epi8(a_02, a_01, 8);
dh.c: ^
dh.c: ffa.h:90:10: error: '__builtin_ia32_pclmulqdq128' needs isa option -m32 -mpclmul
dh.c: m_00 = _mm_clmulepi64_si128(mul, P_00, 0x00);\
dh.c: ^
dh.c: ffa.h:110:5: note: in expansion of macro 'ffa_red_277_stp'
dh.c: ffa_red_277_stp(A##_00,A##_01,A##_02,P##_00,P##_01,P##_02,\
dh.c: ^~~~~~~~~~~~~~~
dh.c: ffa.h:132:5: note: in expansion of macro 'FFA_RED_277_STP'
dh.c: FFA_RED_277_STP(a,P,m,t_00,mul);
dh.c: ^~~~~~~~~~~~~~~
dh.c: ffa.h:91:10: error: '__builtin_ia32_pclmulqdq128' needs isa option -m32 -mpclmul
dh.c: m_01 = _mm_clmulepi64_si128(mul, P_00, 0x10);\
dh.c: ^
dh.c: ffa.h:110:5: note: in expansion of macro 'ffa_red_277_stp'
dh.c: ffa_red_277_stp(A##_00,A##_01,A##_02,P##_00,P##_01,P##_02,\
dh.c: ^~~~~~~~~~~~~~~
dh.c: ffa.h:132:5: note: in expansion of macro 'FFA_RED_277_STP'
dh.c: FFA_RED_277_STP(a,P,m,t_00,mul);
dh.c: ^~~~~~~~~~~~~~~
dh.c: ffa.h:92:10: error: '__builtin_ia32_pclmulqdq128' needs isa option -m32 -mpclmul
dh.c: m_02 = _mm_clmulepi64_si128(mul, P_01, 0x00);\
dh.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc ref
gcc -funroll-loops ref

Compiler output

Implementation: crypto_dh/k277mon/ref
Compiler: gcc -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:148:13: note: called from here
dh.c: *c_02 = _mm_alignr_epi8(a_02, a_01, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:147:13: note: called from here
dh.c: *c_01 = _mm_alignr_epi8(a_01, a_00, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: ...

Number of similar (compiler,implementation) pairs: 68, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/k277mon/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:148:13: note: called from here
dh.c: *c_02 = _mm_alignr_epi8(a_02, a_01, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:147:13: note: called from here
dh.c: *c_01 = _mm_alignr_epi8(a_01, a_00, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: ...
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:148:13: note: called from here
dh.c: *c_02 = _mm_alignr_epi8(a_02, a_01, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:147:13: note: called from here
dh.c: *c_01 = _mm_alignr_epi8(a_01, a_00, 8);
dh.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -m64 -march=barcelona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/k277mon/ref
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: ffa.h: In function 'ffa_red_277':
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:94:10: note: called from here
dh.c: m_04 = _mm_clmulepi64_si128(mul, P_02, 0x00);\
dh.c: ^
dh.c: ffa.h:110:5: note: in expansion of macro 'ffa_red_277_stp'
dh.c: ffa_red_277_stp(A##_00,A##_01,A##_02,P##_00,P##_01,P##_02,\
dh.c: ^~~~~~~~~~~~~~~
dh.c: ffa.h:142:5: note: in expansion of macro 'FFA_RED_277_STP'
dh.c: FFA_RED_277_STP(a,P,m,t_00,mul);
dh.c: ^~~~~~~~~~~~~~~
dh.c: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:45:0,
dh.c: from lib.h:2,
dh.c: from dh.c:2:
dh.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/wmmintrin.h:116:1: error: inlining failed in call to always_inline '_mm_clmulepi64_si128': target specific option mismatch
dh.c: _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
dh.c: ^~~~~~~~~~~~~~~~~~~~
dh.c: In file included from dh.c:6:0:
dh.c: ffa.h:93:10: note: called from here
dh.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref