Implementation notes: cellspu, nmi0249, crypto_hash/keccakc1024

Computer: nmi0249
Architecture: cellspu
CPU ID: unknown CPU ID
SUPERCOP version: 20101204
Operation: crypto_hash
Primitive: keccakc1024
TimeImplementationCompilerBenchmark dateSUPERCOP version
203760sphlibspu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
203760sphlibspu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
204440sphlib-smallspu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
204800sphlibspu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
204840sphlib-smallspu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
204920sphlibspu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
205560sphlib-smallspu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
205800sphlib-smallspu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
208120sphlibspu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
209240sphlibspu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
210640sphlib-smallspu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
211320sphlib-smallspu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
219440sphlibspu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
219960sphlibspu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
225720sphlib-smallspu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029
226320sphlib-smallspu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand2010111820101029

Checksum failure

Implementation: crypto_hash/keccakc1024/compact
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
2e805d31e24b682f5c07b63f02250c0c837d7f5ad38747e68612f03321ba42abd480ed0b42610f65bae1c4e24f696a077be499a1b77a08d01ff6f344abaf34e1
Number of similar (compiler,implementation) pairs: 48, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact opt64lcu24 opt64lcu6 opt64u6 simple compact8

Checksum failure

Implementation: crypto_hash/keccakc1024/opt32bi-rvku2
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
9c4d99e303b9e5938fcf11ffabc226da661bd7fc9de1fb50021bc776d2e56e95be2a81b35901481d3082d3a2d906a63f5efcbe472e2931a56744ed315025a91c
Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4

Checksum failure

Implementation: crypto_hash/keccakc1024/simple32bi
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
7b1bc7bc86642c85b455a94d2c5a8d9e392f3a531abc77779a81c3b6c7465999dde3cc12fef776480d5c3524d21e793cff2a8526927a913bd430ff7e7ef5d868
Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand simple32bi

Compiler output

Implementation: crypto_hash/keccakc1024/opt32bi-rvku2
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
KeccakF-1600-opt32.c: In file included from KeccakF-1600-interface.h:16,
KeccakF-1600-opt32.c: from KeccakF-1600-opt32.c:18:
KeccakF-1600-opt32.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file
KeccakSponge.c: In file included from KeccakF-1600-interface.h:16,
KeccakSponge.c: from KeccakSponge.c:15:
KeccakSponge.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32bi-rvku2 opt32bi-s2lcu4

Compiler output

Implementation: crypto_hash/keccakc1024/opt32biT-s2lcu4
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
KeccakF-1600-opt32.c: In file included from KeccakF-1600-interface.h:16,
KeccakF-1600-opt32.c: from KeccakF-1600-opt32.c:18:
KeccakF-1600-opt32.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file
KeccakSponge.c: In file included from KeccakF-1600-interface.h:16,
KeccakSponge.c: from KeccakSponge.c:15:
KeccakSponge.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file
try.c: /usr/lib/gcc/spu/4.1.1/../../../../spu/bin/ld: .bss exceeds local store range
try.c: /usr/lib/gcc/spu/4.1.1/../../../../spu/lib/crt2.o: In function `_start':
try.c: (.text+0x...): relocation truncated to fit: SPU_ADDR18 against symbol `_end' defined in *ABS* section in try
try.c: /usr/lib/gcc/spu/4.1.1/../../../../spu/lib/libgloss.a(sbrk.o): In function `sbrk':
try.c: /home/sur/jordics/sdk3.1/src/redhat/BUILD/spu-newlib-1.16.0/obj-spu/spu/libgloss/spu/../../../../src/libgloss/spu/sbrk.c:53: relocation truncated to fit: SPU_ADDR18 against symbol `_end' defined in *ABS* section in try
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt32biT-s2lcu4

Compiler output

Implementation: crypto_hash/keccakc1024/opt64lcu24
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
KeccakF-1600-opt64.c: In file included from KeccakF-1600-interface.h:16,
KeccakF-1600-opt64.c: from KeccakF-1600-opt64.c:17:
KeccakF-1600-opt64.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file
KeccakSponge.c: In file included from KeccakF-1600-interface.h:16,
KeccakSponge.c: from KeccakSponge.c:15:
KeccakSponge.c: KeccakF-1600-int-set.h:1:23: warning: no newline at end of file

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand opt64lcu24 opt64lcu6 opt64u6

Compiler output

Implementation: crypto_hash/keccakc1024/avr8
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
Keccak-avr8.c: Keccak-avr8.c:14:26: error: avr/pgmspace.h: No such file or directory
Keccak-avr8.c: Keccak-avr8.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c: In function 'KeccakF':
Keccak-avr8.c: Keccak-avr8.c:199: error: 'KeccakF_Mod5' undeclared (first use in this function)
Keccak-avr8.c: Keccak-avr8.c:199: error: (Each undeclared identifier is reported only once
Keccak-avr8.c: Keccak-avr8.c:199: error: for each function it appears in.)
Keccak-avr8.c: Keccak-avr8.c:218: error: 'KeccakF_PiLane' undeclared (first use in this function)
Keccak-avr8.c: Keccak-avr8.c:220: error: 'KeccakF_RotationConstants' undeclared (first use in this function)
Keccak-avr8.c: Keccak-avr8.c:252: error: 'KeccakF_RoundConstants' undeclared (first use in this function)
Keccak-avr8.c: Keccak-avr8.c: In function 'Final':
Keccak-avr8.c: Keccak-avr8.c:334: warning: comparison is always false due to limited range of data type
Keccak-avr8.c: Keccak-avr8.c:348: error: 'KeccakPadding' undeclared (first use in this function)

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8

Compiler output

Implementation: crypto_hash/keccakc1024/compact8
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
Keccak-compact8.c: Keccak-compact8.c: In function 'Final':
Keccak-compact8.c: Keccak-compact8.c:356: warning: comparison is always false due to limited range of data type

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand compact8

Compiler output

Implementation: crypto_hash/keccakc1024/avr8asm
Compiler: spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand
Keccak-avr8.c: Keccak-avr8.c:14:26: error: avr/pgmspace.h: No such file or directory
Keccak-avr8.c: Keccak-avr8.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
Keccak-avr8.c: Keccak-avr8.c: In function 'crypto_hash_keccakc1024_avr8asm':
Keccak-avr8.c: Keccak-avr8.c:69: error: 'KeccakPadding' undeclared (first use in this function)
Keccak-avr8.c: Keccak-avr8.c:69: error: (Each undeclared identifier is reported only once
Keccak-avr8.c: Keccak-avr8.c:69: error: for each function it appears in.)
Keccak-avr8.c: Keccak-avr8.c: In function 'Final':
Keccak-avr8.c: Keccak-avr8.c:169: warning: comparison is always false due to limited range of data type
Keccak-avr8.c: Keccak-avr8.c:183: error: 'KeccakPadding' undeclared (first use in this function)

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
spu-gcc -funroll-loops -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -funroll-loops -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -funroll-loops -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -funroll-loops -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -mstdmain -march=cell -O2 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -mstdmain -march=cell -O3 -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -mstdmain -march=cell -O -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm
spu-gcc -mstdmain -march=cell -Os -fomit-frame-pointer -Drandom=rand -Dsrandom=srand avr8asm