Implementation notes: aarch64, a72, crypto_aead/acorn128v3

Computer: a72
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20170904
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
52709? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-O32017100720170904
53660? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-O32017100720170904
62917? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-Os2017100720170904
65025? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-O22017100720170904
65352? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-Os2017100720170904
65861? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-O22017100720170904
364641? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=native_-O32017100720170904
375381? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=native_-O22017100720170904
380230? ? ?? ? ?8bitfastgcc_-march=native_-mtune=native_-O32017100720170904
400627? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=native_-O32017100720170904
421218? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=native_-O32017100720170904
426168? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=native_-O22017100720170904
429902? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=native_-O22017100720170904
453632? ? ?? ? ?8bitfast2gcc_-march=native_-mtune=native_-Os2017100720170904
464442? ? ?? ? ?8bitfast2gcc_-funroll-loops_-march=native_-mtune=native_-Os2017100720170904
527872? ? ?? ? ?8bitfastgcc_-march=native_-mtune=native_-O22017100720170904
530569? ? ?? ? ?8bitfastgcc_-march=native_-mtune=native_-Os2017100720170904
551144? ? ?? ? ?8bitfastgcc_-funroll-loops_-march=native_-mtune=native_-Os2017100720170904
4726121? ? ?? ? ?refgcc_-march=native_-mtune=native_-O32017100720170904
5775086? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-O32017100720170904
23537127? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-O22017100720170904
35291701? ? ?? ? ?refgcc_-march=native_-mtune=native_-O22017100720170904
37352401? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-Os2017100720170904
51739136? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os2017100720170904

Test failure

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -march=native -mtune=native -O2
error 111
crypto_aead_decrypt returns nonzero

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

Compiler output

Implementation: crypto_aead/acorn128v3/8bitcompact
Compiler: gcc -funroll-loops -march=native -mtune=native -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 -march=native -mtune=native -O2 8bitcompact
gcc -funroll-loops -march=native -mtune=native -O3 8bitcompact
gcc -funroll-loops -march=native -mtune=native -Os 8bitcompact
gcc -march=native -mtune=native -O2 8bitcompact
gcc -march=native -mtune=native -O3 8bitcompact
gcc -march=native -mtune=native -Os 8bitcompact

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast2
Compiler: gcc -funroll-loops -march=native -mtune=native -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 -march=native -mtune=native -O2 8bitfast2
gcc -funroll-loops -march=native -mtune=native -O3 8bitfast2
gcc -funroll-loops -march=native -mtune=native -Os 8bitfast2
gcc -march=native -mtune=native -O2 8bitfast2
gcc -march=native -mtune=native -O3 8bitfast2
gcc -march=native -mtune=native -Os 8bitfast2

Compiler output

Implementation: crypto_aead/acorn128v3/8bitfast
Compiler: gcc -funroll-loops -march=native -mtune=native -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 -march=native -mtune=native -O2 8bitfast
gcc -funroll-loops -march=native -mtune=native -O3 8bitfast
gcc -funroll-loops -march=native -mtune=native -Os 8bitfast
gcc -march=native -mtune=native -O2 8bitfast
gcc -march=native -mtune=native -O3 8bitfast
gcc -march=native -mtune=native -Os 8bitfast