Implementation notes: amd64, hunsnivy, crypto_aead/trivia128v2

Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: trivia128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1972378013 0 025912 812 1016T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1988777877 0 024104 812 1016T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1989967902 0 024232 812 1016T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2475014231 0 017702 804 1016T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2698989310 0 024800 780 1080T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2804565144 0 019640 780 1080T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3177484284 0 018294 804 1016T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
4179464282 0 018463 772 1080T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
9376093780 0 016747 756 1048T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u64 temp, Block = Bytes[0];
encrypt.c:             ^
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c:             ^
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c:    u32 dummy_word[2], Tag[4], temp;
encrypt.c:        ^
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:    u32 dummy_word[2], Tag[4], temp;
encrypt.c:                               ^
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c:    u8 FINISH;
encrypt.c:       ^
encrypt.c: encrypt.c:288:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c:    u32 dummy_word[2], Tag[4], temp;
encrypt.c:        ^
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:    u32 dummy_word[2], Tag[4], temp;
encrypt.c:                               ^
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c:    u8 FINISH;
encrypt.c:       ^
encrypt.c: encrypt.c:367:8: warning: unused variable 'dummy_word' [-Wunused-variable]
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_11.0.1)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


encrypt.c: encrypt.c: In function 'load64':
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:    52 | {int i; u64 temp, Block = Bytes[0];
encrypt.c:       |             ^~~~
encrypt.c: encrypt.c: In function 'load32':
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:    56 | {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c:       |             ^~~~
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c:   232 |    u8 FINISH;
encrypt.c:       |       ^~~~~~
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:   231 |    u32 dummy_word[2], Tag[4], temp;
encrypt.c:       |                               ^~~~
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c:   231 |    u32 dummy_word[2], Tag[4], temp;
encrypt.c:       |        ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia128v2_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c:   289 |    u8 FINISH;
encrypt.c:       |       ^~~~~~
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c:   288 |    u32 dummy_word[2], Tag[4], temp;
encrypt.c:       |                               ^~~~
encrypt.c: ...

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