Implementation notes: amd64, hertz, crypto_aead/sablierv1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: sablierv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
19313515632 131328 043006 132164 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
19340815331 131328 042623 132164 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2067707096 131328 028200 132156 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
21148017561 131328 041701 132140 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3564918544 131328 030645 132140 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5021265053 131328 024688 132116 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


encrypt.c: In file included from encrypt.c:14:
encrypt.c: ./cipher_1.h:104:56: warning: '&' within '^' [-Wbitwise-op-parentheses]
encrypt.c:   104 |         tem_state->L4[0] = state->L2[0] ^ ( ~(state->L1[0]) ) & (state->L1[1]);
encrypt.c:       |                                         ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
encrypt.c: ./cipher_1.h:104:56: note: place parentheses around the '&' expression to silence this warning
encrypt.c:   104 |         tem_state->L4[0] = state->L2[0] ^ ( ~(state->L1[0]) ) & (state->L1[1]);
encrypt.c:       |                                                               ^
encrypt.c:       |                                           (                                   )
encrypt.c: ./cipher_1.h:105:56: warning: '&' within '^' [-Wbitwise-op-parentheses]
encrypt.c:   105 |         tem_state->L4[1] = state->L2[1] ^ ( ~(state->L1[2]) ) & (state->L1[3]);
encrypt.c:       |                                         ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
encrypt.c: ./cipher_1.h:105:56: note: place parentheses around the '&' expression to silence this warning
encrypt.c:   105 |         tem_state->L4[1] = state->L2[1] ^ ( ~(state->L1[2]) ) & (state->L1[3]);
encrypt.c:       |                                                               ^
encrypt.c:       |                                           (                                   )
encrypt.c: 2 warnings 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: In file included from encrypt.c:14:
encrypt.c: cipher_1.h: In function 'CipherL2':
encrypt.c: cipher_1.h:104:63: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
encrypt.c:   104 |         tem_state->L4[0] = state->L2[0] ^ ( ~(state->L1[0]) ) & (state->L1[1]);
encrypt.c:       |                                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
encrypt.c: cipher_1.h:105:63: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
encrypt.c:   105 |         tem_state->L4[1] = state->L2[1] ^ ( ~(state->L1[2]) ) & (state->L1[3]);
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 Authenticated_ad T
encrypt.o Authenticated_decryption T
encrypt.o Authenticated_decryptmes T
encrypt.o Authenticated_encryption T
encrypt.o Authenticated_iv T
encrypt.o Authenticated_mes T
encrypt.o CipherL1 T
encrypt.o CipherL2 T
encrypt.o CipherL4 T
encrypt.o CipherL5 T
encrypt.o EncryptMessage T
encrypt.o HCipherL3_ad T
encrypt.o HCipherL3_normal T
encrypt.o InitCipherL3 T
encrypt.o InitOneStep T
encrypt.o Init_authenstate T
encrypt.o Init_authenticate T
encrypt.o Initialization T
encrypt.o Initloading T
encrypt.o LCipherL3_iv T
encrypt.o LCipherL3_normal T
encrypt.o OneStep T
encrypt.o OneStep_ad T
encrypt.o OneStep_iv T
encrypt.o OneStep_normal T
encrypt.o Onestep_authen T
encrypt.o bit_reverse T
encrypt.o down_table T
encrypt.o rc D
encrypt.o s_down D
encrypt.o s_up D
encrypt.o table1_check T
encrypt.o table2_check T
encrypt.o up_table 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)