Implementation notes: ppc32, nintendowiilinuxngx, crypto_hash/echosp512

Computer: nintendowiilinuxngx
Architecture: ppc32
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_hash
Primitive: echosp512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15476422576 16 037041 648 729powerpc/pp32cv2gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
17900423340 16 038681 652 729powerpc/pp32cv2gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
18208819349 28 033868 664 729generic/opt32gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
20216422724 16 041353 656 729powerpc/pp32cv1gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
20420420236 28 035636 668 729generic/opt32gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
20505619236 16 035001 656 729powerpc/pp32cv1gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
21648017012 16 031473 648 729powerpc/pp32cv1gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
22782031716 16 050345 656 729powerpc/pp32cv2gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
23316029476 16 045241 656 729powerpc/pp32cv2gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
24289217688 16 033033 652 729powerpc/pp32cv1gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
26624430720 28 049396 672 729generic/opt32gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
27908430772 8 044921 644 717generic/opt64gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
28759228032 28 043844 672 729generic/opt32gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
29338825096 8 038433 640 717generic/opt64gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
87160842660 8 060081 648 717generic/opt64gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221

Compiler output

Implementation: generic/opt32
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo32.c: echo32.c: In function 'PrintState':
echo32.c: echo32.c:37:4: warning: incompatible implicit declaration of built-in function 'printf'
echo32.c: printf ("row %d,col %d :",i,j);
echo32.c: ^
echo32.c: echo32.c:47:2: warning: incompatible implicit declaration of built-in function 'printf'
echo32.c: printf("-----------------------------------\n");
echo32.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32

Compiler output

Implementation: generic/opt64
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo64.c: echo64.c: In function 'crypto_hash_echosp512_generic_opt64':
echo64.c: echo64.c:555:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^
echo64.c: echo64.c:542:12: note: expected 'BitSequence *' but argument is of type 'const unsigned char *'
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^
echo64.c: gcc: internal compiler error: Killed (program cc1)
echo64.c: Please submit a full bug report,
echo64.c: with preprocessed source if appropriate.
echo64.c: See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64

Compiler output

Implementation: generic/opt64
Security model: unknown
Compiler: gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo64.c: echo64.c: In function 'crypto_hash_echosp512_generic_opt64':
echo64.c: echo64.c:555:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^
echo64.c: echo64.c:542:12: note: expected 'BitSequence *' but argument is of type 'const unsigned char *'
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64

Compiler output

Implementation: powerpc/altivec
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo32.c: In file included from echo32.c:12:0:
echo32.c: /usr/lib/gcc/powerpc-linux-gnu/4.9/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support
echo32.c: #error Use the "-maltivec" flag to enable PowerPC AltiVec support
echo32.c: ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:686:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
echo32.c: register vector unsigned char s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17;\
echo32.c: ^
echo32.c: echo32.c:893:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:687:9: error: incompatible types when assigning to type 'unsigned char' from type '__vector unsigned char'
echo32.c: s4 = vec_ld(zero, ((unsigned char*)(data))+0*16);\
echo32.c: ^
echo32.c: echo32.c:893:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:688:9: error: incompatible types when assigning to type 'unsigned char' from type '__vector unsigned char'
echo32.c: s5 = vec_ld(zero, ((unsigned char*)(data))+1*16);\
echo32.c: ^
echo32.c: echo32.c:893:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:689:9: error: incompatible types when assigning to type 'unsigned char' from type '__vector unsigned char'
echo32.c: s6 = vec_ld(zero, ((unsigned char*)(data))+2*16);\
echo32.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/altivec
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/altivec
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/altivec
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/altivec

Namespace violations

Implementation: generic/opt32
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo32.o CNT_r C
echo32.o Compress T
echo32.o Endianess T
echo32.o Final T
echo32.o Hash T
echo32.o Init T
echo32.o PrintState T
echo32.o PushString T
echo32.o Update T
echo32.o endian C
echo32.o flip_bits T
echo32.o r C

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt32

Namespace violations

Implementation: generic/opt64
Security model: unknown
Compiler: gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo64.o Compress T
echo64.o Endianess T
echo64.o Final T
echo64.o Hash T
echo64.o Init T
echo64.o PushString T
echo64.o Update T
echo64.o endian C

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE generic/opt64

Namespace violations

Implementation: powerpc/pp32cv1
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo32.o CNT_r C
echo32.o Compress T
echo32.o Endianess T
echo32.o Final T
echo32.o Hash T
echo32.o Init T
echo32.o PushString T
echo32.o Update T
echo32.o endian C
echo32.o flip_bits T
echo32.o r C

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv1
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv1
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv1
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv1
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv2
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv2
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv2
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE powerpc/pp32cv2