Implementation notes: amd64, panther, crypto_hash/sarmal256

Computer: panther
Microarchitecture: amd64; Tiger Lake (806c1)
Architecture: amd64
CPU ID: GenuineIntel-000806c1-00-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: sarmal256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1056028538 16384 041941 17220 920T:opt64clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1060128792 16384 041629 17220 888T:opt64clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1092425466 16640 12838568 17428 1080T:asm64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1092924857 16640 12835840 17428 1080T:asm64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1092925761 16640 12836744 17428 1080T:opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1093524313 16640 12834823 17420 1080T:asm64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1098228757 16384 042173 17220 920T:opt64clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1106626430 16640 12836935 17420 1080T:opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1112126858 16640 12839960 17428 1080T:opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1138524781 16640 12834347 17404 1048T:opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1149626903 16384 037155 17212 888T:opt64clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1151423825 16640 12833387 17404 1048T:asm64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1154928222 16384 038707 17212 888T:opt64clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

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)

Namespace violations


sarmal.o Final T
sarmal.o Hash T
sarmal.o HashBlock T
sarmal.o HashPad T
sarmal.o Init T
sarmal.o SMDS D
sarmal.o Update T

Number of similar (implementation,compiler) pairs: 13, namely:
ImplementationCompiler
T:asm64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:asm64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:asm64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:asm64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt64clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:opt64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:opt64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)