Implementation notes: aarch64, par3, crypto_aead/acorn128v3

Computer: par3
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20170718
Operation: crypto_aead
Primitive: acorn128v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
64775? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-O32017071920170718
65294? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-O32017071920170718
87704? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-Os2017071920170718
87831? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-Os2017071920170718
88110? ? ?? ? ?opt1gcc_-march=native_-mtune=native_-O22017071920170718
88313? ? ?? ? ?opt1gcc_-funroll-loops_-march=native_-mtune=native_-O22017071920170718
8140532? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-O32017071920170718
8326267? ? ?? ? ?refgcc_-march=native_-mtune=native_-O32017071920170718
46474654? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-O22017071920170718
69760498? ? ?? ? ?refgcc_-march=native_-mtune=native_-O22017071920170718
86909613? ? ?? ? ?refgcc_-funroll-loops_-march=native_-mtune=native_-Os2017071920170718
89405963? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os2017071920170718

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: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:123:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), &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: In function 'crypto_aead_acorn128v3_8bitcompact_encrypt':
encrypt.c: encrypt.c:199:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(ad[i]), &ciphertextbyte, ca, cb, 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: ...

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: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:207:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
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: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:212:33: warning: passing argument 2 of 'acorn128_64steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_64steps(state, &(key[j&0xf]), 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: ...

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: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:208:32: warning: passing argument 2 of 'acorn128_8steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_8steps(state, &(key[j&0xf]), tem, 0xff, 0xff, 1);
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: ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:213:33: warning: passing argument 2 of 'acorn128_32steps' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
encrypt.c: acorn128_32steps(state, &(key[j&0xf]), 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: ...

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