Implementation notes: amd64, hertz, crypto_aead/acorn128v2

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: acorn128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
472317560 0 024813 804 1160T:optgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
502754853 0 020069 804 1096T:optgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
511154308 0 017856 780 1064T:optgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
344052847094 0 068345 836 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
36033413388 0 018711 812 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
376137336400 0 057545 836 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
39246083960 0 021311 812 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
40374812759 0 016410 788 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
44382052485 0 017442 828 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


encrypt.c: encrypt.c:28:82: warning: unused variable 'word_0' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                  ^~~~~~
encrypt.c: encrypt.c:28:90: warning: unused variable 'word_107' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                          ^~~~~~~~
encrypt.c: encrypt.c:28:100: warning: unused variable 'word_230' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                                    ^~~~~~~~
encrypt.c: encrypt.c:29:32: warning: unused variable 'word_154' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                ^~~~~~~~
encrypt.c: encrypt.c:29:50: warning: unused variable 'word_61' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                                  ^~~~~~~
encrypt.c: encrypt.c:29:58: warning: unused variable 'word_193' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                                          ^~~~~~~~
encrypt.c: encrypt.c:88:82: warning: unused variable 'word_0' [-Wunused-variable]
encrypt.c:    88 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                  ^~~~~~
encrypt.c: encrypt.c:88:90: warning: unused variable 'word_107' [-Wunused-variable]
encrypt.c:    88 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                          ^~~~~~~~
encrypt.c: encrypt.c:88:100: warning: unused variable 'word_230' [-Wunused-variable]
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


encrypt.c: encrypt.c: In function 'encrypt_32bits':
encrypt.c: encrypt.c:29:58: warning: unused variable 'word_193' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                                          ^~~~~~~~
encrypt.c: encrypt.c:29:50: warning: unused variable 'word_61' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                                  ^~~~~~~
encrypt.c: encrypt.c:29:32: warning: unused variable 'word_154' [-Wunused-variable]
encrypt.c:    29 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                ^~~~~~~~
encrypt.c: encrypt.c:28:100: warning: unused variable 'word_230' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                                    ^~~~~~~~
encrypt.c: encrypt.c:28:90: warning: unused variable 'word_107' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                          ^~~~~~~~
encrypt.c: encrypt.c:28:82: warning: unused variable 'word_0' [-Wunused-variable]
encrypt.c:    28 |     unsigned long long word_244, word_23, word_160, word_111, word_66, word_196, word_0, word_107, word_230;
encrypt.c:       |                                                                                  ^~~~~~
encrypt.c: encrypt.c: In function 'encrypt_8bits':
encrypt.c: encrypt.c:89:58: warning: unused variable 'word_193' [-Wunused-variable]
encrypt.c:    89 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c:       |                                                          ^~~~~~~~
encrypt.c: encrypt.c:89:50: warning: unused variable 'word_61' [-Wunused-variable]
encrypt.c:    89 |     unsigned long long word_12,word_154,word_235,word_61,word_193;
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Compiler output


encrypt.c: encrypt.c:67:21: warning: unused variable 't' [-Wunused-variable]
encrypt.c:    67 |     unsigned char i,t[4];
encrypt.c:       |                     ^
encrypt.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


encrypt.c: encrypt.c: In function 'acorn128_enc_onebyte':
encrypt.c: encrypt.c:67:21: warning: unused variable 't' [-Wunused-variable]
encrypt.c:    67 |     unsigned char i,t[4];
encrypt.c:       |                     ^

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Namespace violations


encrypt.o acorn128_initialization_32bitversion T
encrypt.o acorn128_tag_generation_32bits_version T
encrypt.o decrypt_32bits T
encrypt.o decrypt_8bits T
encrypt.o encrypt_32bits T
encrypt.o encrypt_8bits T

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Namespace violations


encrypt.o Decrypt_StateUpdate128_1bit T
encrypt.o Encrypt_StateUpdate128_1bit T
encrypt.o FBK128 T
encrypt.o KSG128 T
encrypt.o acorn128_dec_onebyte T
encrypt.o acorn128_enc_onebyte T
encrypt.o acorn128_initialization T
encrypt.o acorn128_tag_generation T

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)