Implementation notes: amd64, pluton1mn, crypto_sign/pflash1

Computer: pluton1mn
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_sign
Primitive: pflash1
TimeImplementationCompilerBenchmark dateSUPERCOP version
3624110reficc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
4657086reficc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731

Compiler output

Implementation: crypto_sign/pflash1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
PFLASH.c: PFLASH.c:152:16: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: memcpy( outZ ,_Z,37);
PFLASH.c: ^~
PFLASH.c: PFLASH.c:149:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: _Z[i-(37- 0)] ^= temp;
PFLASH.c: ^~
PFLASH.c: PFLASH.c:148:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: _Z[i-(37- 2)] ^= temp;
PFLASH.c: ^~
PFLASH.c: PFLASH.c:147:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: _Z[i-(37-10)] ^= temp;
PFLASH.c: ^~
PFLASH.c: PFLASH.c:146:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: _Z[i-(37-12)] ^= temp;
PFLASH.c: ^~
PFLASH.c: PFLASH.c:143:10: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: temp = _Z[i];
PFLASH.c: ^~
PFLASH.c: PFLASH.c:136:15: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: if( logY ) _Z[i+j] ^= alogtab[logX+logY];
PFLASH.c: ^~
PFLASH.c: PFLASH.c:128:11: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: memset(_Z,0,73);
PFLASH.c: ^~
PFLASH.c: PFLASH.c:122:16: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: ...
SignScheme.c: SignScheme.c: In function 'signatureofshorthash':
SignScheme.c: SignScheme.c:211:19: warning: passing argument 1 of 'SignScheme_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:95:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: ^~~~~~~~~~~~~~~
SignScheme.c: SignScheme.c: In function 'verification':
SignScheme.c: SignScheme.c:227:19: warning: passing argument 1 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:152:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: ^~~~~~~~~~~~~~~
SignScheme.c: SignScheme.c:227:24: warning: passing argument 2 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:152:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'const unsigned char *'
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: ^~~~~~~~~~~~~~~
try.c: /home_nfs/dolbeaur/supercop-20160731/supercop-data/pluton1mn/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: /home_nfs/dolbeaur/supercop-20160731/supercop-data/pluton1mn/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home_nfs/dolbeaur/supercop-20160731/supercop-data/pluton1mn/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_addbits_and_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home_nfs/dolbeaur/supercop-20160731/supercop-data/pluton1mn/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha256_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home_nfs/dolbeaur/supercop-20160731/supercop-data/pluton1mn/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o):sha2.c:(.text+0x...): more undefined references to `__intel_mic_avx512f_memset' follow
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: crypto_sign/pflash1/ref
Compiler: icc -xMIC-AVX512 -O2 -fomit-frame-pointer
SignScheme.c: SignScheme.c(211): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: ^
SignScheme.c:
SignScheme.c: SignScheme.c(227): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c:
SignScheme.c: SignScheme.c(227): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c:

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icc -xMIC-AVX512 -O2 -fomit-frame-pointer ref
icc -xMIC-AVX512 -O3 -fomit-frame-pointer ref