Implementation notes: amd64, hertz, crypto_hash/sarmal256
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: sarmal256
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
8963 | 26280 16384 0 | 44047 17220 968 | T:opt64 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
8986 | 25957 16384 0 | 43615 17220 968 | T:opt64 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
9710 | 30471 16768 128 | 44237 17580 1160 | T:opt64 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
9799 | 25801 16768 128 | 36016 17556 1064 | T:opt64 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
9816 | 30203 16768 128 | 41853 17580 1096 | T:opt64 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
10108 | 25210 16384 0 | 36776 17212 968 | T:opt64 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
10212 | 23856 16768 128 | 34064 17556 1064 | T:asm64 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Checksum failure
e1cd499f48aba4207ce929c09b301d2170d615265bb665906cd8d6edafcb40ce
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:asm64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:asm64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: ...
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:asm64 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:asm64 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
sarmal.c: sarmal.c:945:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 945 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1323:2: note: instantiated into assembly here
sarmal.c: 1323 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: sarmal.c:1120:14: error: invalid instruction mnemonic 'addq'
sarmal.c: 1120 | "push rax\n\t"
sarmal.c: | ^
sarmal.c: <inline asm>:1075:2: note: instantiated into assembly here
sarmal.c: 1075 | addq [rdx], 1024
sarmal.c: | ^~~~
sarmal.c: 2 errors generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:asm64 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
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: 7, namely:
Implementation | Compiler |
T:asm64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt64 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt64 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt64 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |