Implementation notes: amd64, speed2supercop, crypto_aead/wheeshtv1mr3fr1t256

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: wheeshtv1mr3fr1t256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
241127635 0 021062 800 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
257247241 0 023422 800 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
260887218 0 020677 760 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
261047880 0 023533 760 928T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
262886015 0 018208 736 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
263247298 0 024894 800 872T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
264207274 0 024678 800 872T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
269285709 0 019927 792 920T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
270686520 0 020197 760 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Compiler output


encrypt.c: encrypt.c:311:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                       ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:50: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                       ^~
encrypt.c:                                                                       |
encrypt.c: encrypt.c:311:68: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                         ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:68: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                         ^~
encrypt.c:                                                                                         |
encrypt.c: encrypt.c:311:85: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                                          ^  ~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:85: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                                          ^~
encrypt.c:                                                                                                          |
encrypt.c: encrypt.c:351:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB;
encrypt.c:                                                                       ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:351:50: note: use '|' for a bitwise operation
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_wheeshtv1mr3fr1t256_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:287:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c:   287 |         uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~~
encrypt.c: encrypt.c:285:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c:   285 |         uint64_t m_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_wheeshtv1mr3fr1t256_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:577:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c:   577 |         uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~~
encrypt.c: encrypt.c:575:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c:   575 |         uint64_t m_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~

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