Implementation notes: amd64, hunsnivy, crypto_aead/trivia0v2
Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: trivia0v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
71898 | 15892 0 12 | 32088 812 1048 | T:sse4 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
72918 | 16980 0 12 | 34832 812 1048 | T:sse4 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
92129 | 3625 0 12 | 16998 804 1048 | T:sse4 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
94361 | 6414 0 12 | 21840 780 1112 | T:sse4 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
100290 | 4267 0 12 | 18696 780 1112 | T:sse4 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
117308 | 4661 0 12 | 18767 772 1112 | T:sse4 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
194427 | 7702 0 0 | 25592 812 1016 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
196220 | 7623 0 0 | 23944 812 1016 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
196593 | 7582 0 0 | 23800 812 1016 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
251756 | 3926 0 0 | 17382 804 1016 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
262403 | 8652 0 0 | 24144 780 1080 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
275099 | 4902 0 0 | 19400 780 1080 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
337034 | 3964 0 0 | 17958 804 1016 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
390521 | 4162 0 0 | 18335 772 1080 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
882509 | 3613 0 0 | 16571 756 1048 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
Compiler output
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u64 temp,
encrypt.c: ^
encrypt.c: encrypt.c:58:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u32 temp,
encrypt.c: ^
encrypt.c: encrypt.c:246:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:246:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:247:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:305:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:305:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:306:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:377:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c: In function 'load64':
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 52 | {int i; u64 temp,
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'load32':
encrypt.c: encrypt.c:58:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 58 | {int i; u32 temp,
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:247:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 247 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:246:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 246 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:246:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: 246 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:306:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 306 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:305:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 305 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
encrypt.c: encrypt.c:64:75: warning: multi-line // comment [-Wcomment]
encrypt.c: //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: ^
encrypt.c: encrypt.c:70:73: warning: multi-line // comment [-Wcomment]
encrypt.c: u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: ^
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:479:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c:64:75: warning: multi-line // comment [-Wcomment]
encrypt.c: //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: ^
encrypt.c: encrypt.c:70:73: warning: multi-line // comment [-Wcomment]
encrypt.c: u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: ^
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:479:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c:64:75: warning: multi-line // comment [-Wcomment]
encrypt.c: //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: ^
encrypt.c: encrypt.c:70:73: warning: multi-line // comment [-Wcomment]
encrypt.c: u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: ^
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:479:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: ...
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_32':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:257: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:258: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:259: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_64':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:293: undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:294: undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `Initialize_process_AD_Reinitialize':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:422: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:439: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:459: undefined reference to `insert_SC'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_encrypt':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:490: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:491: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:496: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:510: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:541: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:569: undefined reference to `store32'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_decrypt':
try.c: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:606: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:607: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:612: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:634: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:668: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:692: undefined reference to `dec_load32'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c:64:75: warning: multi-line // comment [-Wcomment]
encrypt.c: //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: ^
encrypt.c: encrypt.c:70:73: warning: multi-line // comment [-Wcomment]
encrypt.c: u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: ^
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: temp;
encrypt.c: ^
encrypt.c: encrypt.c:479:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2],
encrypt.c: ^
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c:64:75: warning: multi-line // comment [-Wcomment]
encrypt.c: //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: ^
encrypt.c: encrypt.c:70:73: warning: multi-line // comment [-Wcomment]
encrypt.c: u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: ^
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:306:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
encrypt.c: ^
encrypt.c: encrypt.c:313:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
encrypt.c: ^
encrypt.c: encrypt.c:319:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
encrypt.c: encrypt.c:64:1: warning: multi-line comment [-Wcomment]
encrypt.c: 64 | //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: | ^
encrypt.c: encrypt.c:70:30: warning: multi-line comment [-Wcomment]
encrypt.c: 70 | u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: | ^
encrypt.c: encrypt.c:229:1: warning: "/*" within comment [-Wcomment]
encrypt.c: 229 | /*----------------------------------------------------------------*/
encrypt.c: |
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 406 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 405 | temp;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: 403 | u32 dummy_word[2],
encrypt.c: | ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_sse4_timingleaks_encrypt':
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 482 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 481 | temp;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
encrypt.c: encrypt.c:64:1: warning: multi-line comment [-Wcomment]
encrypt.c: 64 | //#define CHUNK_SIZE_MSG 128 // Process checksum after 2^7 Msg Blocks\
encrypt.c: | ^
encrypt.c: encrypt.c:70:30: warning: multi-line comment [-Wcomment]
encrypt.c: 70 | u32 G_STAR; // alpha - x^32, where alpha is the choosen\
encrypt.c: | ^
encrypt.c: encrypt.c:229:1: warning: "/*" within comment [-Wcomment]
encrypt.c: 229 | /*----------------------------------------------------------------*/
encrypt.c: |
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:406:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 406 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:405:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 405 | temp;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:403:21: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: 403 | u32 dummy_word[2],
encrypt.c: | ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia0v2_sse4_timingleaks_encrypt':
encrypt.c: encrypt.c:482:21: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 482 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:481:21: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 481 | temp;
encrypt.c: ...
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_32':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:257: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:258: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:259: undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_64':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:293: undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:294: undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `Initialize_process_AD_Reinitialize':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:422: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:439: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:459: undefined reference to `insert_SC'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_encrypt':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:490: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:491: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:496: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:510: undefined reference to `load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:541: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:569: undefined reference to `store32'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_decrypt':
try.c: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:606: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:607: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:612: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:634: undefined reference to `dec_load64'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:668: undefined reference to `pad'
try.c: /usr/bin/ld: .../supercop-data/hunsnivy/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/trivia0v2/sse4/work/encrypt.c:692: undefined reference to `dec_load32'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
encrypt.o Field_Mult_32 T
encrypt.o Initialize_process_AD_Reinitialize T
encrypt.o Key_Ext64 T
encrypt.o Mult_by_alpha_power T
encrypt.o Mult_by_beta_power T
encrypt.o Reverse_32 T
encrypt.o SC_Update64 T
encrypt.o V_Horner_32 T
encrypt.o V_Horner_64 T
encrypt.o insert_SC T
encrypt.o load32 T
encrypt.o load64 T
encrypt.o load_SC T
encrypt.o pad T
encrypt.o process_block 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 (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
encrypt.o Field_Mult_32 T
encrypt.o G_STAR B
encrypt.o Initialize_process_AD_Reinitialize T
encrypt.o Key_Ext64 T
encrypt.o Q_PLUS B
encrypt.o SC_Update64 T
encrypt.o V_Horner_32 T
encrypt.o V_Horner_64 T
encrypt.o process_block T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |