Implementation notes: amd64, h3neo, crypto_aead/aezv3
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aezv3
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1381985 | 37288 0 0 | 59195 860 1024 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
1395438 | 38063 0 0 | 60563 860 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
1405997 | 35142 0 0 | 56147 860 1024 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
1433124 | 49461 0 0 | 73276 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
1692763 | 21818 0 0 | 41253 852 1024 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2031709 | 23252 0 0 | 43211 860 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2069703 | 27140 0 0 | 49564 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2308501 | 25554 0 0 | 46996 828 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
2719577 | 22943 0 0 | 42655 804 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
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: 5, 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) |
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 /usr/lib/gcc/x86_64-linux-gnu/11/include/smmintrin.h:32,
aez_ni.c: from aez_ni.c:38:
aez_ni.c: aez_ni.c: In function 'bswap16':
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
aez_ni.c: 136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
aez_ni.c: | ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:76:12: note: called from here
aez_ni.c: 76 | return _mm_shuffle_epi8(
aez_ni.c: | ^~~~~~~~~~~~~~~~~
aez_ni.c: 77 | b,_mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
aez_ni.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: 78 | );
aez_ni.c: | ~
aez_ni.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/smmintrin.h:32,
aez_ni.c: from aez_ni.c:38:
aez_ni.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/tmmintrin.h:136:1: error: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch
aez_ni.c: 136 | _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
aez_ni.c: | ^~~~~~~~~~~~~~~~
aez_ni.c: aez_ni.c:76:12: note: called from here
aez_ni.c: 76 | return _mm_shuffle_epi8(
aez_ni.c: | ^~~~~~~~~~~~~~~~~
aez_ni.c: 77 | b,_mm_set_epi8(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)
aez_ni.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aez_ni.c: 78 | );
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) |