Implementation notes: aarch64, pi3aplus, crypto_aead/trivia128v2
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: trivia128v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
317422 | 5264 0 0 | 19021 768 856 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240722 | 20240716 |
329112 | 8780 0 0 | 22408 864 864 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240722 | 20240716 |
375412 | 4536 0 0 | 16791 856 848 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240722 | 20240716 |
786515 | 4236 0 0 | 16735 856 848 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240722 | 20240716 |
1215463 | 3640 0 0 | 15127 840 840 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240722 | 20240716 |
Compiler output
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u64 temp, Block = Bytes[0];
encrypt.c: ^
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c: ^
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:288:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:367:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
Compiler output
encrypt.c: encrypt.c: In function 'load64':
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u64 temp, Block = Bytes[0];
encrypt.c: ^~~~
encrypt.c: encrypt.c: In function 'load32':
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c: ^~~~
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^~~~~~
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^~~~
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia128v2_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^~~~~~
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 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 (8.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
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: 5, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |