Implementation notes: amd64, mangetsu, crypto_sign/rainbowbinary16242020

Computer: mangetsu
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20141014
Operation: crypto_sign
Primitive: rainbowbinary16242020
TimeImplementationCompilerBenchmark dateSUPERCOP version
114516refclang++ -O3 -fwrapv -march=native -fomit-frame-pointer2014092720140907
114828refclang++ -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer2014101820141014
114856refclang++ -O3 -fwrapv -march=native -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014092720140907
114980refclang++ -O3 -fwrapv -mavx -fomit-frame-pointer2014092720140907
115360refclang++ -O3 -fwrapv -mavx -maes -mpclmul -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014101820141014
116216refclang++ -O3 -fwrapv -mavx -fpolly -funroll-loops -fvectorize -fslp-vectorize -fslp-vectorize-aggressive -fomit-frame-pointer2014092720140907
120136refg++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2014092720140907
120256refg++ -m64 -march=corei7-avx -O3 -fomit-frame-pointer2014092720140907
120456refg++ -m64 -march=core-avx-i -O3 -fomit-frame-pointer2014092720140907
124292refg++ -m64 -march=core2 -O3 -fomit-frame-pointer2014092720140907
124484refg++ -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2014092720140907
124716refg++ -m64 -march=corei7 -O3 -fomit-frame-pointer2014092720140907
124856refg++ -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2014092720140907
143520refg++ -m64 -march=core-avx-i -O2 -fomit-frame-pointer2014092720140907
143552refg++ -m64 -march=corei7-avx -O2 -fomit-frame-pointer2014092720140907
144408refg++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2014092720140907
146552refg++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2014092720140907
146756refg++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2014092720140907
147268refg++ -m64 -march=core2 -O2 -fomit-frame-pointer2014092720140907
149028refg++ -m64 -march=corei7 -O2 -fomit-frame-pointer2014092720140907
150716refg++ -m64 -march=native -mtune=native -O -fomit-frame-pointer2014092720140907
151900refg++ -m64 -march=core-avx-i -O -fomit-frame-pointer2014092720140907
153680refg++ -m64 -march=corei7-avx -O -fomit-frame-pointer2014092720140907
153688refg++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer2014092720140907
153896refg++ -m64 -march=corei7 -O -fomit-frame-pointer2014092720140907
153908refg++ -m64 -march=core2 -O -fomit-frame-pointer2014092720140907
154136refg++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2014092720140907
233872refg++ -m64 -march=corei7 -Os -fomit-frame-pointer2014092720140907
234808refg++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2014092720140907
237580refg++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2014092720140907
241384refg++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer2014092720140907
242156refg++ -m64 -march=core-avx-i -Os -fomit-frame-pointer2014092720140907
243684refg++ -m64 -march=corei7-avx -Os -fomit-frame-pointer2014092720140907
246496refg++ -m64 -march=core2 -Os -fomit-frame-pointer2014092720140907

Test failure

Implementation: crypto_sign/rainbowbinary16242020/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/rainbowbinary16242020/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/rainbowbinary16242020/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/rainbowbinary16242020/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/rainbowbinary16242020/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/rainbowbinary16242020/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/rainbowbinary16242020/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