Implementation notes: aarch64, pi4b, crypto_hash/echosp512
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: echosp512
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
71090 | 19944 0 1 | 34489 896 752 | T:generic/opt64 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
71090 | 18672 0 1 | 31243 872 744 | T:generic/opt64 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
71090 | 21560 0 1 | 35203 872 752 | T:generic/opt64 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
71090 | 18400 0 1 | 30835 872 744 | T:generic/opt64 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
71090 | 18228 0 1 | 29635 856 736 | T:generic/opt64 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
99526 | 23488 0 16 | 38081 896 760 | T:powerpc/pp32cv2 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
113744 | 24856 0 16 | 37514 880 760 | T:powerpc/pp32cv2 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
113744 | 22564 0 16 | 35082 880 760 | T:powerpc/pp32cv2 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
113744 | 22224 0 16 | 33714 864 752 | T:powerpc/pp32cv2 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
113792 | 27800 0 16 | 41538 880 768 | T:powerpc/pp32cv2 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
142180 | 17768 0 16 | 32361 896 760 | T:powerpc/pp32cv1 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
142180 | 17896 0 16 | 30554 880 760 | T:powerpc/pp32cv1 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
142180 | 19960 0 16 | 33698 880 768 | T:powerpc/pp32cv1 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
156398 | 17420 0 16 | 29930 880 760 | T:powerpc/pp32cv1 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
170616 | 16836 0 16 | 28330 864 752 | T:powerpc/pp32cv1 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
Compiler output
echo32.c: echo32.c:37:4: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
echo32.c: printf ("row %d,col %d :",i,j);
echo32.c: ^
echo32.c: echo32.c:37:4: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
echo32.c: echo32.c:125:18: warning: unused variable 'j' [-Wunused-variable]
echo32.c: unsigned int i, j;
echo32.c: ^
echo32.c: echo32.c:126:16: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: unsigned char endianess;
echo32.c: ^
echo32.c: echo32.c:397:15: warning: unused variable 'i' [-Wunused-variable]
echo32.c: unsigned int i;
echo32.c: ^
echo32.c: echo32.c:398:21: warning: unused variable 'c0' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:398:25: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:496:21: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c: unsigned short int hashlen = 0;
echo32.c: ^
echo32.c: echo32.c:497:21: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c: unsigned long long messlen_l = 0;
echo32.c: ^
echo32.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:generic/opt32 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
echo32.c: echo32.c: In function 'PrintState':
echo32.c: echo32.c:37:25: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
echo32.c: 37 | printf ("row %d,col %d :",i,j);
echo32.c: | ^~~~~~
echo32.c: echo32.c:12:1: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c: 11 | #include "api.h"
echo32.c: +++ |+#include <stdio.h>
echo32.c: 12 |
echo32.c: echo32.c:37:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
echo32.c: 37 | printf ("row %d,col %d :",i,j);
echo32.c: | ^~~~~~
echo32.c: echo32.c:37:25: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c: echo32.c:47:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
echo32.c: 47 | printf("-----------------------------------\n");
echo32.c: | ^~~~~~
echo32.c: echo32.c:47:9: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:126:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: 126 | unsigned char endianess;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:125:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c: 125 | unsigned int i, j;
echo32.c: | ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:398:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:generic/opt32 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt32 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt32 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt32 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
echo64.c: echo64.c:318:30: warning: unused variable 'WT5' [-Wunused-variable]
echo64.c: WT0, WT1, WT2, WT3, WT4, WT5;
echo64.c: ^
echo64.c: echo64.c:486:16: warning: unused variable 'i' [-Wunused-variable]
echo64.c: unsigned int i;
echo64.c: ^
echo64.c: echo64.c:555:29: warning: passing 'const unsigned char *' to parameter of type 'BitSequence *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^~
echo64.c: echo64.c:542:46: note: passing argument to parameter 'data' here
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^
echo64.c: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:generic/opt64 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
echo64.c: echo64.c: In function 'Compress':
echo64.c: echo64.c:318:30: warning: unused variable 'WT5' [-Wunused-variable]
echo64.c: 318 | WT0, WT1, WT2, WT3, WT4, WT5;
echo64.c: | ^~~
echo64.c: echo64.c: In function 'Final':
echo64.c: echo64.c:486:16: warning: unused variable 'i' [-Wunused-variable]
echo64.c: 486 | unsigned int i;
echo64.c: | ^
echo64.c: echo64.c: In function 'crypto_hash_echosp512_generic_opt64_timingleaks':
echo64.c: echo64.c:555:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
echo64.c: 555 | if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: | ^~
echo64.c: echo64.c:542:46: note: expected 'BitSequence *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
echo64.c: 542 | HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: | ~~~~~~~~~~~~~^~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:generic/opt64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt64 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:generic/opt64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
echo32.c: echo32.c:106:18: warning: unused variable 'j' [-Wunused-variable]
echo32.c: unsigned int i, j;
echo32.c: ^
echo32.c: echo32.c:107:16: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: unsigned char endianess;
echo32.c: ^
echo32.c: echo32.c:512:21: warning: unused variable 'c0' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:512:25: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:639:21: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c: unsigned short int hashlen = 0;
echo32.c: ^
echo32.c: echo32.c:640:21: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c: unsigned long long messlen_l = 0;
echo32.c: ^
echo32.c: echo32.c:641:21: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c: unsigned long long messlen_h = 0;
echo32.c: ^
echo32.c: 7 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:powerpc/pp32cv1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:107:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: 107 | unsigned char endianess;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:106:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c: 106 | unsigned int i, j;
echo32.c: | ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:512:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: 512 | unsigned long long c0, c1;
echo32.c: | ^~
echo32.c: echo32.c:512:28: warning: unused variable 'c0' [-Wunused-variable]
echo32.c: 512 | unsigned long long c0, c1;
echo32.c: | ^~
echo32.c: echo32.c: In function 'Final':
echo32.c: echo32.c:641:28: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c: 641 | unsigned long long messlen_h = 0;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:640:28: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c: 640 | unsigned long long messlen_l = 0;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:639:28: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c: 639 | unsigned short int hashlen = 0;
echo32.c: | ^~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:powerpc/pp32cv1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
echo32.c: echo32.c:106:18: warning: unused variable 'j' [-Wunused-variable]
echo32.c: unsigned int i, j;
echo32.c: ^
echo32.c: echo32.c:107:16: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: unsigned char endianess;
echo32.c: ^
echo32.c: echo32.c:480:21: warning: unused variable 'c0' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:480:25: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: unsigned long long c0, c1;
echo32.c: ^
echo32.c: echo32.c:607:21: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c: unsigned short int hashlen = 0;
echo32.c: ^
echo32.c: echo32.c:608:21: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c: unsigned long long messlen_l = 0;
echo32.c: ^
echo32.c: echo32.c:609:21: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c: unsigned long long messlen_h = 0;
echo32.c: ^
echo32.c: 7 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:powerpc/pp32cv2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:107:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c: 107 | unsigned char endianess;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:106:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c: 106 | unsigned int i, j;
echo32.c: | ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:480:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: 480 | unsigned long long c0, c1;
echo32.c: | ^~
echo32.c: echo32.c:480:28: warning: unused variable 'c0' [-Wunused-variable]
echo32.c: 480 | unsigned long long c0, c1;
echo32.c: | ^~
echo32.c: echo32.c: In function 'Final':
echo32.c: echo32.c:609:28: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c: 609 | unsigned long long messlen_h = 0;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:608:28: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c: 608 | unsigned long long messlen_l = 0;
echo32.c: | ^~~~~~~~~
echo32.c: echo32.c:607:28: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c: 607 | unsigned short int hashlen = 0;
echo32.c: | ^~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:powerpc/pp32cv2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:powerpc/pp32cv2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |