Test results for aarch64, pi4b, crypto_aead/kiasueq128v1

[Page version: 20241024 06:46:09]

Measurements for aarch64, pi4b, crypto_aead Test results for aarch64, pi4b, crypto_aead Test results for crypto_aead/kiasueq128v1
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: kiasueq128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
34955124196 0 038614 840 856T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
40071921004 0 032543 808 840T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
40547422176 0 034703 824 848T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
40661621564 0 034158 816 848T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
41095825232 0 038815 824 864T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808

Compiler output


kiasu.c: kiasu.c:259:17: error: unknown type name 'block'
kiasu.c: void printBlock(block B) {
kiasu.c:                 ^
kiasu.c: kiasu.c:262:14: error: expected expression
kiasu.c:     *(block *)tag=B;
kiasu.c:              ^
kiasu.c: kiasu.c:262:7: error: use of undeclared identifier 'block'; did you mean 'lockf'?
kiasu.c:     *(block *)tag=B;
kiasu.c:       ^~~~~
kiasu.c:       lockf
kiasu.c: /usr/include/unistd.h:1114:12: note: 'lockf' declared here
kiasu.c: extern int lockf (int __fd, int __cmd, __off_t __len) __wur;
kiasu.c:            ^
kiasu.c: kiasu.c:324:15: error: unknown type name 'block'
kiasu.c:     ALIGN(16) block ta[BPI];             /* 8 blocks for parallel processing         */
kiasu.c:               ^
kiasu.c: kiasu.c:326:21: error: unknown type name 'block'
kiasu.c:     ALIGN(16) const block* adp;          /* Pointer to the blocks to process         */
kiasu.c:                     ^
kiasu.c: kiasu.c:338:17: error: expected expression
kiasu.c:     adp=(block *)M1;
kiasu.c:                 ^
kiasu.c: kiasu.c:338:10: error: use of undeclared identifier 'block'; did you mean 'lockf'?
kiasu.c:     adp=(block *)M1;
kiasu.c:          ^~~~~
kiasu.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:bitsliceclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


kiasu.c: kiasu.c:259:17: error: unknown type name 'block'
kiasu.c:   259 | void printBlock(block B) {
kiasu.c:       |                 ^~~~~
kiasu.c: kiasu.c: In function 'XLS':
kiasu.c: kiasu.c:324:15: error: unknown type name 'block'
kiasu.c:   324 |     ALIGN(16) block ta[BPI];             /* 8 blocks for parallel processing         */
kiasu.c:       |               ^~~~~
kiasu.c: kiasu.c:326:21: error: unknown type name 'block'
kiasu.c:   326 |     ALIGN(16) const block* adp;          /* Pointer to the blocks to process         */
kiasu.c:       |                     ^~~~~
kiasu.c: kiasu.c:338:10: error: 'block' undeclared (first use in this function)
kiasu.c:   338 |     adp=(block *)M1;
kiasu.c:       |          ^~~~~
kiasu.c: kiasu.c:338:10: note: each undeclared identifier is reported only once for each function it appears in
kiasu.c: kiasu.c:338:17: error: expected expression before ')' token
kiasu.c:   338 |     adp=(block *)M1;
kiasu.c:       |                 ^
kiasu.c: kiasu.c:368:17: error: expected expression before ')' token
kiasu.c:   368 |     adp=(block *)Xp1;
kiasu.c:       |                 ^
kiasu.c: kiasu.c:399:17: error: expected expression before ')' token
kiasu.c:   399 |     adp=(block *)Yp1;
kiasu.c:       |                 ^
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:443:15: error: unknown type name 'block'
kiasu.c: ...

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

Compiler output


kiasu.c: In file included from kiasu.c:26:
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
kiasu.c: #error "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:  ^
kiasu.c: In file included from kiasu.c:26:
kiasu.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:17:
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
kiasu.c: #error "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:  ^
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c:     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
kiasu.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c:     return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
kiasu.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c:     return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
kiasu.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c:     return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
kiasu.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c:     return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
kiasu.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
kiasu.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


kiasu.c: kiasu.c:26:10: fatal error: xmmintrin.h: No such file or directory
kiasu.c:    26 | #include <xmmintrin.h>              /* SSE instructions and _mm_malloc */
kiasu.c:       |          ^~~~~~~~~~~~~
kiasu.c: compilation terminated.

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

Compiler output


kiasu.c: In function 'set_nonce_in_tweak',
kiasu.c:     inlined from 'kiasu_aead_encrypt' at kiasu.c:204:5:
kiasu.c: kiasu.c:59:23: warning: 'tweak' is used uninitialized [-Wuninitialized]
kiasu.c:    59 |     tweak[0] =  (tweak[0]&0xf0)    ^ nonce[0] >> 4;
kiasu.c:       |                  ~~~~~^~~
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:195:13: note: 'tweak' declared here
kiasu.c:   195 |     uint8_t tweak[8];
kiasu.c:       |             ^~~~~
kiasu.c: In function 'set_nonce_in_tweak',
kiasu.c:     inlined from 'kiasu_aead_decrypt' at kiasu.c:377:5:
kiasu.c: kiasu.c:59:23: warning: 'tweak' is used uninitialized [-Wuninitialized]
kiasu.c:    59 |     tweak[0] =  (tweak[0]&0xf0)    ^ nonce[0] >> 4;
kiasu.c:       |                  ~~~~~^~~
kiasu.c: kiasu.c: In function 'kiasu_aead_decrypt':
kiasu.c: kiasu.c:367:13: note: 'tweak' declared here
kiasu.c:   367 |     uint8_t tweak[8];
kiasu.c:       |             ^~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Namespace violations


kiasu.o XLS T
kiasu.o getUnpaddedLength T
kiasu.o kiasu_aead_decrypt T
kiasu.o kiasu_aead_encrypt T
kiasu.o mix T
kiasu.o set_block_number_in_tweak T
kiasu.o set_nonce_in_tweak T
kiasu.o set_stage_in_tweak T
tweakable_aes.o aesTweakDecrypt T
tweakable_aes.o aesTweakEncrypt T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)