Implementation notes: amd64, speed2supercop, crypto_hash/sarmal256

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: sarmal256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
998026964 16640 039149 17400 800T:opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1007223822 16640 032768 17376 768T:asm64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1012425562 16640 035749 17400 800T:opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1043225662 16640 035620 17392 800T:opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1062427245 16384 041238 17184 744T:opt64clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1063227213 16384 041014 17184 744T:opt64clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1063227476 16384 040086 17184 728T:opt64clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1160027519 16384 037446 17184 728T:opt64clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1161624885 16640 033824 17376 768T:opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1162424286 16640 034244 17392 800T:asm64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
1183626712 16384 037471 17176 792T:opt64clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Checksum failure


dcb0733304c56e3d12fe8d4664a8737339700b582643978ee619d1721135d6ca

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)