Implementation notes: aarch64, a72, crypto_sign/pflash1

Computer: a72
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20170904
Operation: crypto_sign
Primitive: pflash1

Compiler output

Implementation: crypto_sign/pflash1/ref
Compiler: gcc -funroll-loops -march=native -mtune=native -O2
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: ...
PFLASH.c: ^~
PFLASH.c: PFLASH.c:113:7: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: if( _Z[i] )
PFLASH.c: ^~
PFLASH.c: PFLASH.c:108:14: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: if( logX ) _Z[i<<1] = alogtab[logX<<1];
PFLASH.c: ^~
PFLASH.c: PFLASH.c:104:10: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: memset( _Z , 0 , 73 );
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: crypto_sign_pflash1.a(PFLASH.o): In function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=native -O2 ref
gcc -funroll-loops -march=native -mtune=native -O3 ref
gcc -march=native -mtune=native -O2 ref
gcc -march=native -mtune=native -O3 ref

Compiler output

Implementation: crypto_sign/pflash1/ref
Compiler: gcc -funroll-loops -march=native -mtune=native -Os
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: ...
PFLASH.c: ^~
PFLASH.c: PFLASH.c:113:7: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: if( _Z[i] )
PFLASH.c: ^~
PFLASH.c: PFLASH.c:108:14: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: if( logX ) _Z[i<<1] = alogtab[logX<<1];
PFLASH.c: ^~
PFLASH.c: PFLASH.c:104:10: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: memset( _Z , 0 , 73 );
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: crypto_sign_pflash1.a(PFLASH.o): In function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: crypto_sign_pflash1.a(PFLASH.o): In function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mtune=native -Os ref
gcc -march=native -mtune=native -Os ref