Implementation notes: amd64, speed2supercop, crypto_hash/sarmal512

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: sarmal512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1224023822 16640 032768 17376 768T:asm64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1242026964 16640 039213 17400 800T:opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1264825562 16640 035797 17400 800T:opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1275625662 16640 035620 17392 800T:opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1316027476 16384 040038 17184 728T:opt64clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1321227213 16384 041046 17184 744T:opt64clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1321627245 16384 041270 17184 744T:opt64clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1365624286 16640 034244 17392 800T:asm64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1410827519 16384 037478 17184 728T:opt64clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1413624885 16640 033824 17376 768T:opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1457226712 16384 037487 17176 792T:opt64clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Checksum failure


e6c7a5ebbfc6316f95a3cf37820ae4f24745abe96cec9734563ceae19fd555a7

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:asm64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:asm64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.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: 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 (Debian_Clang_16.0.6_(27+b1))
T:asm64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:asm64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:asm64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

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 (Debian_Clang_16.0.6_(27+b1))

Compiler output


sarmal.c: sarmal.c: Assembler messages:
sarmal.c: sarmal.c:2151: Warning: mnemonic suffix used with `add'
sarmal.c: sarmal.c:2151: Warning: NOTE: Such forms are deprecated and will be rejected by a future version of the assembler
sarmal.c: sarmal.c:2083: Warning: mnemonic suffix used with `add'

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:asm64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:asm64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:asm64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:asm64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)