Implementation notes: amd64, hertz, crypto_hash/sarmal256

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: sarmal256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
865725273 16384 039763 17236 968T:opt64clang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
951925811 16768 12836000 17556 1064T:opt64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
954426419 16384 038004 17228 968T:opt64clang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
970730471 16768 12844237 17580 1160T:opt64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
971630203 16768 12841877 17580 1096T:opt64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
1017923866 16768 12834064 17556 1064T:asm64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
1260124949 16384 039299 17236 968T:opt64clang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217

Checksum failure

Implementation: T:asm64
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
e1cd499f48aba4207ce929c09b301d2170d615265bb665906cd8d6edafcb40ce
Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:asm64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:asm64

Compiler output

Implementation: T:asm64
Security model: timingleaks
Compiler: clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:asm64
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:asm64

Compiler output

Implementation: T:asm64
Security model: timingleaks
Compiler: clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: 2 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:asm64