Implementation notes: amd64, h6sandy, crypto_aead/sablierv1

Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: sablierv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
29631211382 131328 033379 132180 1024T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
29664913108 131328 035667 132180 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
29807412599 131328 036387 132180 1024T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
30723411160 131328 031235 132180 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3105697288 131328 027013 132172 1024T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
33959418432 131328 041517 132140 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3966388068 131328 029917 132140 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
5643596056 131328 027348 132132 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
6503135137 131328 024808 132116 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

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:         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:         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:         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:         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: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)