Implementation notes: ppc32, nintendowiilinuxngx, crypto_hash/echo512

Computer: nintendowiilinuxngx
Architecture: ppc32
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_hash
Primitive: echo512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
22435222372 16 036833 648 729powerpc/pp32cv2gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
23467231560 4 044721 636 716sphlibgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
2429649788 4 024345 644 716sphlib-smallgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
24868821064 4 038497 644 716sphlib-smallgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
25742423040 16 038393 652 729powerpc/pp32cv2gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
26073618868 16 033321 648 729generic/opt32gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
2630768532 4 021705 636 716sphlib-smallgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
26720432712 4 046849 640 716sphlibgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
27672042200 4 059625 644 716sphlibgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
27998438812 4 053361 644 716sphlibgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
28612810140 4 024281 640 716sphlib-smallgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
28845622180 16 040801 656 729powerpc/pp32cv1gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
29157619600 16 034953 652 729generic/opt32gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
29614818884 16 034649 656 729powerpc/pp32cv1gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
30358816780 16 031233 648 729powerpc/pp32cv1gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
32570431108 16 049729 656 729powerpc/pp32cv2gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
33072029124 16 044889 656 729powerpc/pp32cv2gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
34878017384 16 032729 652 729powerpc/pp32cv1gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
38638829732 16 048353 656 729generic/opt32gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
40254032148 8 046297 644 717generic/opt64gcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
41146827332 16 043097 656 729generic/opt32gcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
42199226108 8 039433 640 717generic/opt64gcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221
136990845092 8 062513 648 717generic/opt64gcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010520191221

Compiler output

Implementation: ccalik/bitsliced
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c:18:23: fatal error: tmmintrin.h: No such file or directory
hash.c: #include <tmmintrin.h>
hash.c: ^
hash.c: compilation terminated.

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

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_echo512_generic_opt64':
echo64.c: echo64.c:501: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:488: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_echo512_generic_opt64':
echo64.c: echo64.c:501: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:488: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:452: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;\
echo32.c: ^
echo32.c: echo32.c:732:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:453: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:732:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:454: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:732:2: note: in expansion of macro 'LOADmessage'
echo32.c: LOADmessage(state, state->data);
echo32.c: ^
echo32.c: echo32.c:455: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 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: 12, 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
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

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: sphlib
Security model: unknown
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
echo.o sph_echo224 T
echo.o sph_echo224_addbits_and_close T
echo.o sph_echo224_close T
echo.o sph_echo224_init T
echo.o sph_echo256 T
echo.o sph_echo256_addbits_and_close T
echo.o sph_echo256_close T
echo.o sph_echo256_init T
echo.o sph_echo384 T
echo.o sph_echo384_addbits_and_close T
echo.o sph_echo384_close T
echo.o sph_echo384_init T
echo.o sph_echo512 T
echo.o sph_echo512_addbits_and_close T
echo.o sph_echo512_close T
echo.o sph_echo512_init T

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