Implementation notes: amd64, renoir, crypto_aead/remusn3v1

Computer: renoir
Microarchitecture: amd64; Zen 2 (860f01)
Architecture: amd64
CPU ID: AuthenticAMD-00860f01-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: remusn3v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
294594319136 72 835507 900 1048T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
295496118875 72 835099 900 1048T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
312494020662 72 837291 900 1016T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
85287747535 72 821377 892 1016T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
93675737909 72 822041 892 1016T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
104779809271 72 824095 868 1112T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
110770968094 72 822478 860 1112T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
119117986605 72 819826 844 1080T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

Compiler output


encrypt.c: In function 'pad',
encrypt.c:     inlined from 'rho_ad' at encrypt.c:59:3:
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c:    30 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c:    56 |   unsigned char mp [8];
encrypt.c:       |                 ^~
encrypt.c: In function 'pad',
encrypt.c:     inlined from 'rho_ad' at encrypt.c:59:3:
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c:    30 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c:    56 |   unsigned char mp [8];
encrypt.c:       |                 ^~
encrypt.c: In function 'pad',
encrypt.c:     inlined from 'rho_ad' at encrypt.c:59:3:
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c:    30 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c: ...

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

Namespace violations


encrypt.o ad_encryption T
encrypt.o compose_tweakey T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o ice T
encrypt.o irho T
encrypt.o kdf T
encrypt.o lfsr_gf120 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o pad T
encrypt.o rho T
encrypt.o rho_ad T
skinny_reference.o AddConstants T
skinny_reference.o AddKey T
skinny_reference.o AddKey_inv T
skinny_reference.o MixColumn T
skinny_reference.o MixColumn_inv T
skinny_reference.o P R
skinny_reference.o P_inv R
skinny_reference.o RC R
skinny_reference.o ShiftRows T
skinny_reference.o ShiftRows_inv T
skinny_reference.o SubCell4 T
skinny_reference.o SubCell4_inv T
skinny_reference.o SubCell8 T
skinny_reference.o SubCell8_inv T
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_P_inv R
skinny_reference.o TestVectors T
skinny_reference.o block_cipher T
skinny_reference.o dec T
skinny_reference.o enc T
skinny_reference.o fic B
skinny_reference.o sbox_4 R
skinny_reference.o sbox_4_inv R
skinny_reference.o sbox_8 R
skinny_reference.o sbox_8_inv R
skinny_reference.o versions D

Number of similar (implementation,compiler) pairs: 8, 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)
T:refgcc -march=native -mtune=native -O2 -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)