Implementation notes: amd64, h6sandy, crypto_aead/aezv3
Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: aezv3
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
873950 | 33822 0 0 | 57707 860 1024 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
890428 | 31255 0 0 | 53187 860 1024 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
984263 | 38063 0 0 | 60587 860 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1176009 | 55172 0 0 | 78396 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1207953 | 22187 0 0 | 41941 852 1024 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1284685 | 23460 0 0 | 43483 860 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1363195 | 25972 0 0 | 47908 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1519580 | 25395 0 0 | 46892 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
1718663 | 22875 0 0 | 42599 804 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
Compiler output
aez_ni.c: aez_ni.c:104:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,a);
aez_ni.c: ^
aez_ni.c: aez_ni.c:105:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,b);
aez_ni.c: ^
aez_ni.c: aez_ni.c:106:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128(in,c);
aez_ni.c: ^
aez_ni.c: aez_ni.c:107:12: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes4' that is compiled without support for 'aes'
aez_ni.c: return _mm_aesenc_si128 (in,d);
aez_ni.c: ^
aez_ni.c: aez_ni.c:91:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[0]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:92:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[1]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:93:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[2]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:94:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: in = _mm_aesenc_si128 (in,key[0]);
aez_ni.c: ^
aez_ni.c: aez_ni.c:95:10: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes' that is compiled without support for 'aes'
aez_ni.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:aesni | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:aesni | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:aesni | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:aesni | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
aez_ni.c: aez_ni.c:146:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c: __m128i i1 = _mm_insert_epi8(zero, 1, 7);
aez_ni.c: ^
aez_ni.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c: ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
aez_ni.c: ^
aez_ni.c: aez_ni.c:147:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c: __m128i i2 = _mm_insert_epi8(zero, 2, 7);
aez_ni.c: ^
aez_ni.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c: ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
aez_ni.c: ^
aez_ni.c: aez_ni.c:148:22: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c: __m128i i3 = _mm_insert_epi8(zero, 3, 7);
aez_ni.c: ^
aez_ni.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c: ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
aez_ni.c: ^
aez_ni.c: aez_ni.c:149:26: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
aez_ni.c: __m128i j, one = _mm_insert_epi8(zero, 1, 15);
aez_ni.c: ^
aez_ni.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: note: expanded from macro '_mm_insert_epi8'
aez_ni.c: ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
aez_ni.c: ^
aez_ni.c: 4 errors generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:aesni | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
aez_ni.c: In file included from aez_ni.c:39:
aez_ni.c: aez_ni.c: In function 'aes':
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:61:1: error: inlining failed in call to 'always_inline' '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: 61 | _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: | ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:100:12: note: called from here
aez_ni.c: 100 | return _mm_aesenc_si128 (in,key[0]);
aez_ni.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:61:1: error: inlining failed in call to 'always_inline' '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: 61 | _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: | ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:99:10: note: called from here
aez_ni.c: 99 | in = _mm_aesenc_si128 (in,key[2]);
aez_ni.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:61:1: error: inlining failed in call to 'always_inline' '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: 61 | _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: | ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:98:10: note: called from here
aez_ni.c: 98 | in = _mm_aesenc_si128 (in,key[1]);
aez_ni.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: In file included from aez_ni.c:39:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/wmmintrin.h:61:1: error: inlining failed in call to 'always_inline' '_mm_aesenc_si128': target specific option mismatch
aez_ni.c: 61 | _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aez_ni.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:aesni | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:aesni | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:aesni | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Namespace violations
aez_ref.o Decrypt T
aez_ref.o Encrypt T
rijndael-alg-fst.o rijndaelDecrypt T
rijndael-alg-fst.o rijndaelDecryptRound T
rijndael-alg-fst.o rijndaelEncrypt T
rijndael-alg-fst.o rijndaelEncryptRound T
rijndael-alg-fst.o rijndaelKeySetupDec T
rijndael-alg-fst.o rijndaelKeySetupEnc T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |