Implementation notes: amd64, sand, crypto_sign/rainbowbinary256181212

Computer: sand
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20171218
Operation: crypto_sign
Primitive: rainbowbinary256181212
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
71656? ? ?? ? ?refclang++_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2018041520171218
72598? ? ?? ? ?refclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2018041520171218

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fomit-frame-pointer -Qunused-arguments
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:182:
rainbow-test.cpp: ./gf256.h:364:24: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function '_mul' that is compiled without support for 'ssse3'
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: ./gf256.h:365:7: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function '_mul' that is compiled without support for 'ssse3'
rainbow-test.cpp: , _mm_shuffle_epi8(multable_h(b.v), _mm_and_si128( _mm_srli_epi16(a.v,4) ,_mask_low) ) );
rainbow-test.cpp: ^
rainbow-test.cpp: 1 warning and 2 errors generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -O3 -fomit-frame-pointer -Qunused-arguments ref
clang++ -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang++ -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang++ -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
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.
try.cpp: /tmp/try-anything-03582e.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
try.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?
try.cpp: /tmp/try-anything-4e5bc5.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
try.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?
measure.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
measure.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
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.
try.cpp: /tmp/try-anything-422a53.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
try.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?
try.cpp: /tmp/try-anything-211cd3.o: In function `alignedcalloc(unsigned long long)':
try.cpp: try-anything.cpp:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
try.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?
measure.cpp: crypto_sign_rainbowbinary256181212.a(rainbow-test.o): In function `MQPKC<256u, 42u, 24u, 0u>::gen_key(unsigned char*, unsigned char*)':
measure.cpp: rainbow-test.cpp:(.text._ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_[_ZN5MQPKCILj256ELj42ELj24ELj0EE7gen_keyEPhS1_]+0x54): warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_sign/rainbowbinary256181212/ref
Compiler: g++
rainbow-test.cpp: In file included from gf.h:181,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h:4:23: error: tmmintrin.h: No such file or directory
rainbow-test.cpp: In file included from gf.h:181,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf16.h: In function 'const gfv_unit<16u> _mul_safe(const gfv_unit<16u>&, const gf<16u>&)':
rainbow-test.cpp: gf16.h:314: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: gf16.h: In function 'const gfv_unit<p> _mul(const gfv_unit<p>&, const gf<p>&) [with unsigned int p = 16u]':
rainbow-test.cpp: gf16.h:321: error: '_mm_shuffle_epi8' was not declared in this scope
rainbow-test.cpp: In file included from gf.h:182,
rainbow-test.cpp: from rainbow-test.cpp:1:
rainbow-test.cpp: gf256.h: In function 'const gfv_unit<p> _mul(const gfv_unit<p>&, const gf<p>&) [with unsigned int p = 256u]':
rainbow-test.cpp: gf256.h:364: error: '_mm_shuffle_epi8' was not declared in this scope

Number of similar (compiler,implementation) pairs: 41, 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=native -mtune=native -O2 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -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=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=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv 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