Implementation notes: amd64, h8atom, crypto_aead/joltikneq12864v1

Computer: h8atom
Microarchitecture: amd64; Bonnell (30661)
Architecture: amd64
CPU ID: GenuineIntel-00030661-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: joltikneq12864v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
174617849350 400 064212 1224 856T:vpermclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
174626948750 400 061638 1216 856T:vpermclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
174643749365 400 065404 1224 856T:vpermclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
174678048860 400 062556 1224 856T:vpermclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
174870550093 400 064925 1192 928T:vpermgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
175004249385 400 062456 1168 896T:vpermgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
175065849673 400 064149 1192 928T:vpermgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
175174350725 400 066893 1192 928T:vpermgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
1168083014447 0 030532 816 856T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
1190760214654 0 030652 816 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
1221659616036 0 032189 784 928T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
2300876213407 0 028316 816 856T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
2933115512859 0 026596 816 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
3492267813567 0 028421 784 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
4467425912306 0 025230 808 856T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
4564879911746 0 024864 760 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
5234909412388 0 026917 784 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625

Compiler output


joltik.c: In function 'set_nonce_in_tweak',
joltik.c:     inlined from 'joltik_aead_decrypt' at joltik.c:258:5:
joltik.c: joltik.c:55:23: warning: 'tweak' is used uninitialized [-Wuninitialized]
joltik.c:    55 |     tweak[0] =  (tweak[0]&0xe0)    ^ (nonce[0] >> 3);
joltik.c:       |                  ~~~~~^~~
joltik.c: joltik.c: In function 'joltik_aead_decrypt':
joltik.c: joltik.c:240:13: note: 'tweak' declared here
joltik.c:   240 |     uint8_t tweak[8];
joltik.c:       |             ^~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


joltik.c: joltik.c:29:3: error: "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:  #error "This implementation requires either SSSE3 or AVX2 instruction sets."
joltik.c:   ^
joltik.c: 1 error generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:vpermclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


joltik.c: In file included from joltik.c:27:
joltik.c: joltik.c: In function 'joltik_aead_decrypt':
joltik.c: joltik-ssse3.c.inc:79:27: warning: 'tweak' is used uninitialized [-Wuninitialized]
joltik.c:    79 |     (tweak)[0] =  ((tweak)[0]&0xe0)    ^ ((nonce)[0] >> 3);     \
joltik.c:       |                    ~~~~~~~^~~
joltik.c: joltik-ssse3.c.inc:347:3: note: in expansion of macro 'set_nonce_in_tweak'
joltik.c:   347 |   set_nonce_in_tweak(tweak, nonce);
joltik.c:       |   ^~~~~~~~~~~~~~~~~~
joltik.c: joltik-ssse3.c.inc:325:21: note: 'tweak' declared here
joltik.c:   325 |   ALIGN(16) uint8_t tweak[16];
joltik.c:       |                     ^~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:vpermgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:vpermgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:vpermgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:vpermgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)