Test results for amd64, h3neo, crypto_aead/kiasueq128v1
[Page version: 20241105 13:30:20]
Measurements for amd64, h3neo, crypto_aead
Test results for amd64, h3neo, crypto_aead
Test results for crypto_aead/kiasueq128v1
Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: kiasueq128v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
366917 | 26155 0 0 | 43204 812 1088 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
394476 | 25511 0 0 | 41875 844 1024 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
404841 | 23500 0 0 | 39252 812 1088 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
408613 | 20929 0 0 | 34189 836 1024 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
410030 | 25061 0 0 | 40803 844 1024 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
414154 | 24229 0 0 | 39051 844 1024 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
450997 | 21283 0 0 | 34903 788 1056 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
461730 | 21915 0 0 | 35859 844 1024 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
466919 | 22296 0 0 | 37115 804 1088 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
Compiler output
kiasu.c: kiasu.c:74:25: warning: unused function 'bswap64' [-Wunused-function]
kiasu.c: static inline uint64_t bswap64(uint64_t x) {
kiasu.c: ^
kiasu.c: 1 warning generated.
try.c: /usr/bin/ld: libcrypto_aead_kiasueq128v1.a(aes_tweaked.o): relocation R_X86_64_32S against symbol `M0' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:bitslice | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:bitslice | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:bitslice | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:bitslice | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:bitslice | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
try.c: /usr/bin/ld: libcrypto_aead_kiasueq128v1.a(aes_tweaked.o): relocation R_X86_64_32S against symbol `M0' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:bitslice | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:bitslice | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:bitslice | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:bitslice | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
kiasu.c: kiasu.c:123:7: warning: unused variable 'j' [-Wunused-variable]
kiasu.c: int j;
kiasu.c: ^
kiasu.c: kiasu.c:119:45: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
kiasu.c: const __m128i MSB_XLS1 = constant8( (0x8<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
kiasu.c: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: ./aes_ni.macros:13:171: note: expanded from macro 'constant8'
kiasu.c: #define constant8(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) _mm_set_epi8 ((b0),(b1),(b2),(b3),(b4),(b5),(b6),(b7),(b8),(b9),(b10),(b11),(b12),(b13),(b14),(b15))
kiasu.c: ~~~~~~~~~~~~ ^~~
kiasu.c: kiasu.c:120:45: warning: implicit conversion from 'int' to 'char' changes value from 144 to -112 [-Wconstant-conversion]
kiasu.c: const __m128i MSB_XLS2 = constant8( (0x9<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
kiasu.c: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: ./aes_ni.macros:13:171: note: expanded from macro 'constant8'
kiasu.c: #define constant8(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) _mm_set_epi8 ((b0),(b1),(b2),(b3),(b4),(b5),(b6),(b7),(b8),(b9),(b10),(b11),(b12),(b13),(b14),(b15))
kiasu.c: ~~~~~~~~~~~~ ^~~
kiasu.c: kiasu.c:133:12: error: always_inline function '_mm_aesimc_si128' requires target feature 'aes', but would be inlined into function 'XLS' that is compiled without support for 'aes'
kiasu.c: dTweak = mc_inv(Tweak);
kiasu.c: ^
kiasu.c: ./aes_ni.macros:5:23: note: expanded from macro 'mc_inv'
kiasu.c: #define mc_inv(a) _mm_aesimc_si128(a)
kiasu.c: ^
kiasu.c: kiasu.c:135:22: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'XLS' that is compiled without support for 'aes'
kiasu.c: if( Direction){ AES( State , subkeys , Tweak ); }
kiasu.c: ^
kiasu.c: ./aes_ni.macros:21:5: note: expanded from macro 'AES'
kiasu.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
kiasu.c: kiasu.c: In function 'XLS':
kiasu.c: kiasu.c:123:7: warning: unused variable 'j' [-Wunused-variable]
kiasu.c: 123 | int j;
kiasu.c: | ^
kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:206:13: warning: unused variable 'Pad' [-Wunused-variable]
kiasu.c: 206 | __m128i Pad;
kiasu.c: | ^~~
kiasu.c: kiasu.c:200:19: warning: unused variable 'MSB_M_LAST_NONZERO' [-Wunused-variable]
kiasu.c: 200 | const __m128i MSB_M_LAST_NONZERO = constant8( (0x4<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
kiasu.c: | ^~~~~~~~~~~~~~~~~~
kiasu.c: kiasu.c:199:19: warning: unused variable 'MSB_M_LAST_ZERO' [-Wunused-variable]
kiasu.c: 199 | const __m128i MSB_M_LAST_ZERO = constant8( (0x1<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
kiasu.c: | ^~~~~~~~~~~~~~~
kiasu.c: kiasu.c:182:20: warning: unused variable 'j' [-Wunused-variable]
kiasu.c: 182 | unsigned int i,j;
kiasu.c: | ^
kiasu.c: kiasu.c: In function 'kiasu_aead_decrypt':
kiasu.c: kiasu.c:471:13: warning: unused variable 'Pad' [-Wunused-variable]
kiasu.c: 471 | __m128i Pad;
kiasu.c: | ^~~
kiasu.c: kiasu.c:465:19: warning: unused variable 'MSB_M_LAST_NONZERO' [-Wunused-variable]
kiasu.c: 465 | const __m128i MSB_M_LAST_NONZERO = constant8( (0x4<<4),0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00 );
kiasu.c: | ^~~~~~~~~~~~~~~~~~
kiasu.c: kiasu.c:464:19: warning: unused variable 'MSB_M_LAST_ZERO' [-Wunused-variable]
kiasu.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt | gcc -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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |