Implementation notes: armeabi, cubie2, crypto_aead/acorn128v3

Computer: cubie2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20161026
Operation: crypto_aead
Primitive: acorn128v3
TimeImplementationCompilerBenchmark dateSUPERCOP version
387246opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
394227opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
401675opt1gcc -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
412953opt1gcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
421721opt1gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
427336opt1gcc -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
12051188bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
12058868bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
12607498bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
13036058bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
13237068bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
13269338bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
13632528bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
13922638bitfast2gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
14225178bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
15228748bitfast2gcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
15357498bitfastgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
16673238bitfastgcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
22103532refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
22144643refgcc -mcpu=native -mfpu=neon-vfpv4 -O32016121620161026
51077012refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
71625449refgcc -mcpu=native -mfpu=neon-vfpv4 -O22016121620161026
71808962refgcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026
71959420refgcc -mcpu=native -mfpu=neon-vfpv4 -Os2016121620161026

Test failure

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2
error 111
crypto_aead_decrypt returns nonzero

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:105:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j]), &tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:111:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(iv[j-16]), &tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:257:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &(c[i]), ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:24:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitcompact
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast2
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:189:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_64steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:195:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_64steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:374:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &c[i], ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:107:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast2
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast2
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast2
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast2

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast
Compiler: gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2
encrypt.c: encrypt.c: In function 'acorn128_initialization':
encrypt.c: encrypt.c:190:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_32steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:196:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(iv[j-16]), tem, 0xff, 0xff, 1);
encrypt.c: ^
encrypt.c: ...
encrypt.c: ^
encrypt.c: encrypt.c:27:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_32steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:375:41: warning: passing argument 3 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(m[i]), &c[i], ca, cb,0);
encrypt.c: ^
encrypt.c: encrypt.c:108:6: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
encrypt.c: void acorn128_8steps(unsigned char *state, unsigned char *plaintextbyte, unsigned char *ciphertextbyte, unsigned char cabyte, unsigned char cbbyte, unsigned char enc_dec_flag)
encrypt.c: ^~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast
gcc -funroll-loops -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -O2 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -O3 8bitfast
gcc -mcpu=native -mfpu=neon-vfpv4 -Os 8bitfast