Implementation notes: aarch64, pi4b, crypto_aead/colm0v1

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: colm0v1

Compiler output


encrypt-optpar4.c: In file included from encrypt-optpar4.c:14:
encrypt-optpar4.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c:  ^
encrypt-optpar4.c: In file included from encrypt-optpar4.c:14:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar4.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c:  ^
encrypt-optpar4.c: In file included from encrypt-optpar4.c:14:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
encrypt-optpar4.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"
encrypt-optpar4.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c:  ^
encrypt-optpar4.c: In file included from encrypt-optpar4.c:14:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
encrypt-optpar4.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:17:
encrypt-optpar4.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"
encrypt-optpar4.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar4.c:  ^
encrypt-optpar4.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
encrypt-optpar4.c:     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
encrypt-optpar4.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-optpar4.c: ...

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

Compiler output


encrypt-optpar4.c: encrypt-optpar4.c:14:10: fatal error: wmmintrin.h: No such file or directory
encrypt-optpar4.c:    14 | #include <wmmintrin.h>
encrypt-optpar4.c:       |          ^~~~~~~~~~~~~
encrypt-optpar4.c: compilation terminated.

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

Compiler output


encrypt-optpar8.c: In file included from encrypt-optpar8.c:14:
encrypt-optpar8.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c:  ^
encrypt-optpar8.c: In file included from encrypt-optpar8.c:14:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar8.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c:  ^
encrypt-optpar8.c: In file included from encrypt-optpar8.c:14:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
encrypt-optpar8.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"
encrypt-optpar8.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c:  ^
encrypt-optpar8.c: In file included from encrypt-optpar8.c:14:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/wmmintrin.h:17:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
encrypt-optpar8.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:17:
encrypt-optpar8.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"
encrypt-optpar8.c: #error "This header is only meant to be used on x86 and x64 architecture"
encrypt-optpar8.c:  ^
encrypt-optpar8.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
encrypt-optpar8.c:     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
encrypt-optpar8.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-optpar8.c: ...

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

Compiler output


encrypt-optpar8.c: encrypt-optpar8.c:14:10: fatal error: wmmintrin.h: No such file or directory
encrypt-optpar8.c:    14 | #include <wmmintrin.h>
encrypt-optpar8.c:       |          ^~~~~~~~~~~~~
encrypt-optpar8.c: compilation terminated.

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

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:69:3: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c:                                                    ^
encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:70:3: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:53:1: note: 'AES_set_decrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c: ...

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

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:69:17: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    69 |                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:51:5: note: declared here
encrypt.c:    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h:70:17: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    70 |                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:54:5: note: declared here
encrypt.c:    54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:75:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    75 |                 AES_encrypt(inp, res, key);
encrypt.c:       |                 ^~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:57:6: note: declared here
encrypt.c:    57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
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)