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
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3174225264 0 019021 768 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024072220240716
3291128780 0 022408 864 864T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072220240716
3754124536 0 016791 856 848T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072220240716
7865154236 0 016735 856 848T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072220240716
12154633640 0 015127 840 840T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072220240716

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:
ImplementationCompiler
T:refclang -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:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -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:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)