Implementation notes: amd64, genji239, crypto_aead/pi64cipher128v2

Computer: genji239
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: pi64cipher128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2951624366 8 040425 824 896goptvgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3060420786 8 034124 816 896goptvgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3070618017 8 030940 816 896goptvgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
552788251 8 020236 800 896goptvgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1163169028 8 025057 824 896ref3gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1178066982 8 020284 816 896ref3gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1178605256 8 018164 816 896ref3gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
1314644535 8 016412 800 896ref3gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
18109621220 8 038237 864 864ref3icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
18509222884 8 041197 864 864ref3icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
18516822884 8 041197 864 864ref3icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
18553822884 8 041197 864 864ref3icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
18562222884 8 041197 864 864ref3icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
18790438396 8 057869 864 928ref2icc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
21164242252 8 060917 864 864ref2icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
21238642284 8 060949 864 864ref2icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
21313642284 8 060949 864 864ref2icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
21845042252 8 060917 864 864ref2icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
22806619276 8 038221 864 928ref3icc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
23244242700 8 061013 864 864ref2icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
23256042700 8 061013 864 864ref2icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
23265442700 8 061013 864 864ref2icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
23269642700 8 061013 864 864ref2icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
23333842444 8 059461 864 864ref2icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
25609419348 8 038013 864 864ref3icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
25642019348 8 038013 864 864ref3icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
25729219348 8 038013 864 864ref3icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
25756419348 8 038013 864 864ref3icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
27909437692 8 056637 864 928ref2icc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
3012146279 8 019212 816 896ref2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
3021547102 8 020452 816 896ref2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
31132221492 8 040965 864 928ref3icc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
3115324932 8 016836 800 896ref2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
44284810974 8 027009 824 896ref2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017

Checksum failure

Implementation: ref2
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer
f483bb81e48750bf13761c1c923dbc6a911ed7dc8a4a03b4b3853bf72de6f0c9
Number of similar (compiler,implementation) pairs: 22, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref2
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref2
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref2
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref2
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref2
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref2
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref2
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref2
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref2
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref2
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref2
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref3
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref3
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref3
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref3
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref3
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref3
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref3
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref3
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref3
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref3
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref3

Test failure

Implementation: optimized_nonSSE
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_aead_encrypt returns more than crypto_aead_ABYTES extra bytes

Number of similar (compiler,implementation) pairs: 56, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized_nonSSE
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized_nonSSE
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized_nonSSE
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized_nonSSE
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer optimized_nonSSE
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer optimized_nonSSE
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer optimized_nonSSE
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref2
Security model: unknown
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref2
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref2
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref3
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref3

Compiler output

Implementation: goptv
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
pi-cipher.c: pi-cipher.c(286): error: "__builtin_shuffle" is not supported
pi-cipher.c: n_t += __builtin_shuffle(y, g_mask);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(287): error: "__builtin_shuffle" is not supported
pi-cipher.c: n_t += __builtin_shuffle(y, n_mask);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(290): error: "__builtin_shuffle" is not supported
pi-cipher.c: n_t ^= __builtin_shuffle(n_t, n_x_1) ^ __builtin_shuffle(n_t, n_x_2);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(290): error: "__builtin_shuffle" is not supported
pi-cipher.c: n_t ^= __builtin_shuffle(n_t, n_x_1) ^ __builtin_shuffle(n_t, n_x_2);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(305): error: "__builtin_shuffle" is not supported
pi-cipher.c: m_t += __builtin_shuffle(x, g_mask);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(306): error: "__builtin_shuffle" is not supported
pi-cipher.c: m_t += __builtin_shuffle(x, m_mask);
pi-cipher.c: ^
pi-cipher.c:
pi-cipher.c: pi-cipher.c(309): error: "__builtin_shuffle" is not supported
pi-cipher.c: ...

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer goptv
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer goptv
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer goptv
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer goptv
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer goptv
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer goptv
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer goptv
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer goptv
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer goptv
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer goptv
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer goptv
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer goptv
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer goptv
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer goptv
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer goptv
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer goptv
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer goptv
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer goptv
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer goptv
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer goptv
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer goptv
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer goptv
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer goptv
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer goptv