Implementation notes: amd64, cherry, crypto_aead/elmd500v1

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: elmd500v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
35106526787 0 101243167 828 2072T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
48220724719 0 97640518 844 2008T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
48540026789 0 97644246 844 2008T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
48690717847 0 101233071 828 2072T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
50196527130 0 97644150 844 2008T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
52940816332 0 97630428 836 2008T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
65699517243 0 101232038 820 2072T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
72527416018 0 101229666 804 2072T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
73813616776 0 97631492 836 2008T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


encrypt.c: In file included from encrypt.c:12:
encrypt.c: ./module.h:140:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c:         int i;
encrypt.c:             ^
encrypt.c: encrypt.c:145:44: warning: unused variable 'blen' [-Wunused-variable]
encrypt.c:         int i, j, flag=0; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c:                                                   ^
encrypt.c: encrypt.c:145:69: warning: unused variable 'Is_complete' [-Wunused-variable]
encrypt.c:         int i, j, flag=0; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c:                                                                            ^
encrypt.c: 3 warnings generated.

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: In file included from encrypt.c:12:
encrypt.c: module.h: In function 'process_block':
encrypt.c: module.h:140:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c:   140 |  int i;
encrypt.c:       |      ^
encrypt.c: encrypt.c: In function 'crypto_aead_elmd500v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:145:69: warning: unused variable 'Is_complete' [-Wunused-variable]
encrypt.c:   145 |  int i, j, flag=0; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c:       |                                                                     ^~~~~~~~~~~
encrypt.c: encrypt.c:145:44: warning: unused variable 'blen' [-Wunused-variable]
encrypt.c:   145 |  int i, j, flag=0; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c:       |                                            ^~~~
encrypt.c: encrypt.c:145:35: warning: variable 'ozs' set but not used [-Wunused-but-set-variable]
encrypt.c:   145 |  int i, j, flag=0; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
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)