Implementation notes: amd64, haswell, crypto_sign/rainbowbinary256181212

Computer: haswell
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20130419
Operation: crypto_sign
Primitive: rainbowbinary256181212
TimeImplementationCompilerBenchmark dateSUPERCOP version
433872refg++ -m64 -march=core2 -O3 -fomit-frame-pointer2013060920130419
437208refg++ -m64 -march=corei7 -O3 -fomit-frame-pointer2013060920130419
456042refg++ -m64 -march=core-avx-i -O2 -fomit-frame-pointer2013060920130419
461096refg++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2013060920130419
463792refg++ -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2013060920130419
464212refg++ -m64 -march=corei7-avx -O3 -fomit-frame-pointer2013060920130419
469120refg++ -m64 -march=corei7-avx -O2 -fomit-frame-pointer2013060920130419
469208refg++ -m64 -march=corei7 -O2 -fomit-frame-pointer2013060920130419
469552refg++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2013060920130419
478533refg++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2013060920130419
482332refg++ -m64 -march=core-avx-i -O3 -fomit-frame-pointer2013060920130419
489988refg++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer2013060920130419
490714refg++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2013060920130419
497252refg++ -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2013060920130419
497848refg++ -m64 -march=core2 -O2 -fomit-frame-pointer2013060920130419
501605refclang++ -O3 -mavx2013060920130419
517427refg++ -m64 -march=core2 -O -fomit-frame-pointer2013060920130419
517845refg++ -m64 -march=native -mtune=native -O -fomit-frame-pointer2013060920130419
521917refg++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer2013060920130419
530228refg++ -m64 -march=corei7 -Os -fomit-frame-pointer2013060920130419
535692refg++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2013060920130419
536992refg++ -m64 -march=corei7 -O -fomit-frame-pointer2013060920130419
543162refg++ -m64 -march=corei7-avx -Os -fomit-frame-pointer2013060920130419
543306refg++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2013060920130419
543762refg++ -m64 -march=core2 -Os -fomit-frame-pointer2013060920130419
556480refg++ -m64 -march=corei7-avx -O -fomit-frame-pointer2013060920130419
563504refg++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2013060920130419
566356refg++ -m64 -march=core-avx-i -Os -fomit-frame-pointer2013060920130419
584012refg++ -m64 -march=core-avx-i -O -fomit-frame-pointer2013060920130419

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3
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/../lib/clang/3.2/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 ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -mavx
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: 1, namely:
CompilerImplementations
clang++ -O3 -mavx 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/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/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/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/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/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/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