Implementation notes: amd64, mangetsu, crypto_sign/rainbowbinary256181212

Computer: mangetsu
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20141014
Operation: crypto_sign
Primitive: rainbowbinary256181212
TimeImplementationCompilerBenchmark dateSUPERCOP version
97840refclang++ -O3 -fwrapv -mavx -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101820141014
97888refclang++ -O3 -fwrapv -march=native -fomit-frame-pointer2014092720140907
97912refclang++ -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer2014101820141014
98240refclang++ -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014092720140907
99936refclang++ -O3 -fwrapv -mavx -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014092720140907
101508refclang++ -O3 -fwrapv -mavx -fomit-frame-pointer2014092720140907
101808refg++ -m64 -march=core-avx-i -O3 -fomit-frame-pointer2014092720140907
101816refg++ -m64 -march=corei7-avx -O3 -fomit-frame-pointer2014092720140907
102476refg++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014092720140907
103924refg++ -m64 -march=corei7-avx -O2 -fomit-frame-pointer2014092720140907
104380refg++ -m64 -march=core-avx-i -O2 -fomit-frame-pointer2014092720140907
104408refg++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014092720140907
106480refg++ -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2014092720140907
106528refg++ -m64 -march=corei7 -O3 -fomit-frame-pointer2014092720140907
106720refg++ -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2014092720140907
106852refg++ -m64 -march=core2 -O3 -fomit-frame-pointer2014092720140907
108908refg++ -m64 -march=corei7 -O2 -fomit-frame-pointer2014092720140907
109088refg++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014092720140907
109652refg++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014092720140907
111236refg++ -m64 -march=core2 -O2 -fomit-frame-pointer2014092720140907
115672refg++ -m64 -march=native -mtune=native -O -fomit-frame-pointer2014092720140907
116412refg++ -m64 -march=core-avx-i -O -fomit-frame-pointer2014092720140907
117208refg++ -m64 -march=core2 -O -fomit-frame-pointer2014092720140907
117224refg++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014092720140907
117436refg++ -m64 -march=corei7-avx -O -fomit-frame-pointer2014092720140907
117532refg++ -m64 -march=corei7 -O -fomit-frame-pointer2014092720140907
119284refg++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014092720140907
158256refg++ -m64 -march=core2 -Os -fomit-frame-pointer2014092720140907
158268refg++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014092720140907
159100refg++ -m64 -march=corei7 -Os -fomit-frame-pointer2014092720140907
159140refg++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014092720140907
159260refg++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014092720140907
159600refg++ -m64 -march=core-avx-i -Os -fomit-frame-pointer2014092720140907
160972refg++ -m64 -march=corei7-avx -Os -fomit-frame-pointer2014092720140907

Test failure

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fomit-frame-pointer
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: ./gf.h:171:46: warning: while loop has empty body [-Wempty-body]
rainbow-test.cpp: if( M==n_read ) { while( ttt.set(fp)==16 ) ; break; }
rainbow-test.cpp: ^
rainbow-test.cpp: ./gf.h:171:46: note: put the semicolon on a separate line to silence this warning
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: In file included from ./gf.h:181:
rainbow-test.cpp: In file included from ./gf16.h:4:
rainbow-test.cpp: /usr/bin/../lib64/clang/3.3/include/tmmintrin.h:28:2: error: "SSSE3 instruction set not enabled"
rainbow-test.cpp: #error "SSSE3 instruction set not enabled"
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: In file included from ./gf.h:181:
rainbow-test.cpp: ./gf16.h:314:9: error: use of undeclared identifier '_mm_shuffle_epi8'
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low));
rainbow-test.cpp: ^
rainbow-test.cpp: ./gf16.h:321:9: error: use of undeclared identifier '_mm_shuffle_epi8'
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), a.v);
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: In file included from ./gf.h:182:
rainbow-test.cpp: ./gf256.h:364:24: error: use of undeclared identifier '_mm_shuffle_epi8'
rainbow-test.cpp: return _mm_xor_si128( _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low))
rainbow-test.cpp: ^
rainbow-test.cpp: 1 warning and 4 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fwrapv -march=native -fomit-frame-pointer
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: ./gf.h:171:46: warning: while loop has empty body [-Wempty-body]
rainbow-test.cpp: if( M==n_read ) { while( ttt.set(fp)==16 ) ; break; }
rainbow-test.cpp: ^
rainbow-test.cpp: ./gf.h:171:46: note: put the semicolon on a separate line to silence this warning
rainbow-test.cpp: 1 warning generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -O3 -fwrapv -march=native -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx2 -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer
rainbow-test.cpp: clang-3.3: warning: argument unused during compilation: '-fpolly'
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: ./gf.h:171:46: warning: while loop has empty body [-Wempty-body]
rainbow-test.cpp: if( M==n_read ) { while( ttt.set(fp)==16 ) ; break; }
rainbow-test.cpp: ^
rainbow-test.cpp: ./gf.h:171:46: note: put the semicolon on a separate line to silence this warning
rainbow-test.cpp: 1 warning generated.
usehash.cpp: clang-3.3: warning: argument unused during compilation: '-fpolly'

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang++ -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref
clang++ -O3 -fwrapv -mavx -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer
rainbow-test.cpp: clang-3.3: warning: argument unused during compilation: '-mcpu=core-avx2'
rainbow-test.cpp: In file included from rainbow-test.cpp:1:
rainbow-test.cpp: ./gf.h:171:46: warning: while loop has empty body [-Wempty-body]
rainbow-test.cpp: if( M==n_read ) { while( ttt.set(fp)==16 ) ; break; }
rainbow-test.cpp: ^
rainbow-test.cpp: ./gf.h:171:46: note: put the semicolon on a separate line to silence this warning
rainbow-test.cpp: 1 warning generated.
usehash.cpp: clang-3.3: warning: argument unused during compilation: '-mcpu=core-avx2'

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: g++
rainbow-test.cpp: In file included from gf16.h:4:0,
rainbow-test.cpp: from gf.h:181,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: /usr/lib64/gcc/x86_64-suse-linux/4.8/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
rainbow-test.cpp: # error "SSSE3 instruction set not enabled"
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:181:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul_safe(const gfv_unitgt;&, const gfgt;&)':
rainbow-test.cpp: gf16.h:314:69: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low));
rainbow-test.cpp: ^
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 16u]':
rainbow-test.cpp: gf16.h:321:44: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), a.v);
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:182:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf256.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 256u]':
rainbow-test.cpp: gf256.h:364:84: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_xor_si128( _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low))
rainbow-test.cpp: ^

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

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: g++ -m64 -march=barcelona -O2 -fomit-frame-pointer
rainbow-test.cpp: In file included from gf16.h:4:0,
rainbow-test.cpp: from gf.h:181,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: /usr/lib64/gcc/x86_64-suse-linux/4.8/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
rainbow-test.cpp: # error "SSSE3 instruction set not enabled"
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:181:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul_safe(const gfv_unitgt;&, const gfgt;&)':
rainbow-test.cpp: gf16.h:314:69: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low));
rainbow-test.cpp: ^
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 16u]':
rainbow-test.cpp: gf16.h:321:44: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), a.v);
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:182:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf256.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 256u]':
rainbow-test.cpp: gf256.h:364:84: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_xor_si128( _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low))
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf16.h:4:0,
rainbow-test.cpp: from gf.h:181,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: /usr/lib64/gcc/x86_64-suse-linux/4.8/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
rainbow-test.cpp: # error "SSSE3 instruction set not enabled"
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:181:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul_safe(const gfv_unitgt;&, const gfgt;&)':
rainbow-test.cpp: gf16.h:314:69: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low));
rainbow-test.cpp: ^
rainbow-test.cpp: gf16.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 16u]':
rainbow-test.cpp: gf16.h:321:44: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_shuffle_epi8(multable(b.v), a.v);
rainbow-test.cpp: ^
rainbow-test.cpp: In file included from gf.h:182:0,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf256.h: In function 'const gfv_unitgt; _mul(const gfv_unitgt;&, const gfgt;&) [with unsigned int p = 256u]':
rainbow-test.cpp: gf256.h:364:84: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: return _mm_xor_si128( _mm_shuffle_epi8(multable(b.v), _mm_and_si128(a.v,_mask_low))
rainbow-test.cpp: ^

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