Implementation notes: amd64, cherry, crypto_hash/sarmal512

Computer: cherry
Microarchitecture: amd64; Silvermont (406c4)
Architecture: amd64
CPU ID: GenuineIntel-000406c4-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: sarmal512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2486925636 16640 12836792 17428 1080T:opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2510226820 16640 12839152 17428 1080T:opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2540524788 16640 12835944 17428 1080T:asm64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2543424314 16640 12834871 17420 1080T:asm64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2549725308 16640 12837640 17428 1080T:asm64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2623426461 16640 12837031 17420 1080T:opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2660728464 16384 041664 17204 888T:opt64clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2660928229 16384 039792 17204 888T:opt64clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2676123801 16640 12833387 17404 1048T:asm64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2728526512 16384 036550 17196 888T:opt64clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2772924759 16640 12834347 17404 1048T:opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2801728792 16384 041600 17204 888T:opt64clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2979828286 16384 038854 17196 888T:opt64clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Compiler output


sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:asm64clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:asm64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:asm64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c:                 "push   rax\n\t"
sarmal.c:                              ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c:         addq    [rdx], 1024
sarmal.c:         ^~~~
sarmal.c: 2 errors generated.

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:asm64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:asm64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)