Implementation notes: amd64, samba, crypto_hash/sarmal512

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: sarmal512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1114724715 16768 12836533 17580 1088T:asm64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1131424405 16768 12835684 17572 1088T:asm64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1142925285 16768 12839293 17580 1088T:asm64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1168527672 16384 040547 17236 896T:opt64clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1173027754 16384 042019 17236 928T:opt64clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1176123922 16768 12834176 17556 1056T:asm64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1181827973 16384 042531 17236 960T:opt64clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1188826635 16768 12838453 17580 1088T:opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1192227637 16768 12841645 17580 1088T:opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1224527002 16384 037563 17236 896T:opt64clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1249027768 16768 12839036 17572 1088T:opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1276325652 16768 12835896 17556 1056T:opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1305227036 16384 038381 17228 960T:opt64clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

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: 4, namely:
ImplementationCompiler
T:asm64clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

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: 1, namely:
ImplementationCompiler
T:asm64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)