Implementation notes: amd64, genji262, crypto_stream/hc256

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_stream
Primitive: hc256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3561818244 0 431585 800 864e/hc-256/200701gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
3605818352 0 431697 800 864e/hc-256/200511gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
401728037 0 418476 776 832e/hc-256/200701gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
404807953 0 418396 776 832e/hc-256/200511gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
413168882 0 420628 792 864e/hc-256/200701gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
414268714 0 420452 792 864e/hc-256/200511gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
419328863 0 420356 792 864e/hc-256/200701gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
421528615 0 420108 792 864e/hc-256/200511gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102420191017
4250412456 0 427965 840 832e/hc-256/200511icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102420191017
4259212304 0 427869 840 832e/hc-256/200511icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102420191017
4290012760 0 428269 840 832e/hc-256/200701icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102420191017
4312012640 0 428205 840 832e/hc-256/200701icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102420191017
4732212848 0 429621 840 832e/hc-256/200511icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102420191017
4734412848 0 429621 840 832e/hc-256/200511icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102420191017
4738812752 0 429925 840 832e/hc-256/200511icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102420191017
4738812848 0 429621 840 832e/hc-256/200511icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102420191017
4741012752 0 429925 840 832e/hc-256/200511icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102420191017
4743212752 0 429925 840 832e/hc-256/200511icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102420191017
4749812752 0 429925 840 832e/hc-256/200511icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102420191017
4749812848 0 429621 840 832e/hc-256/200511icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102420191017
4778413184 0 429957 840 832e/hc-256/200701icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102420191017
4780613184 0 429957 840 832e/hc-256/200701icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102420191017
4780613184 0 429957 840 832e/hc-256/200701icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102420191017
4787213056 0 430229 840 832e/hc-256/200701icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102420191017
4787213056 0 430229 840 832e/hc-256/200701icc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102420191017
4789413056 0 430229 840 832e/hc-256/200701icc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102420191017
4791613056 0 430229 840 832e/hc-256/200701icc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102420191017
4851013184 0 429957 840 832e/hc-256/200701icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102420191017
6998212768 0 429621 840 832e/hc-256/200511icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102420191017
7000412768 0 429621 840 832e/hc-256/200511icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017
7011412768 0 429621 840 832e/hc-256/200511icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017
7046613120 0 429973 840 832e/hc-256/200701icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017
7048812768 0 429621 840 832e/hc-256/200511icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102420191017
7048813120 0 429973 840 832e/hc-256/200701icc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102420191017
7084013120 0 429973 840 832e/hc-256/200701icc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102420191017
7284212904 0 429725 840 832e/hc-256/200511icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102420191017
7284212904 0 429725 840 832e/hc-256/200511icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
7332612904 0 429725 840 832e/hc-256/200511icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102420191017
7332613192 0 430013 840 832e/hc-256/200701icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102420191017
7334812904 0 429725 840 832e/hc-256/200511icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102420191017
7334813192 0 430013 840 832e/hc-256/200701icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
7381013192 0 430013 840 832e/hc-256/200701icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102420191017
7909013120 0 429973 840 832e/hc-256/200701icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017
8148813192 0 430013 840 832e/hc-256/200701icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102420191017

Test failure

Implementation: e/hc-256/200511
Security model: unknown
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer e/hc-256/200511
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer e/hc-256/200511
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer e/hc-256/200511
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer e/hc-256/200511
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer e/hc-256/200511
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer e/hc-256/200511
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer e/hc-256/200701
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer e/hc-256/200701
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer e/hc-256/200701
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer e/hc-256/200701
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer e/hc-256/200701
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer e/hc-256/200701

Compiler output

Implementation: e/hc-256/200511
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
api.c: In file included from api.c:2:
api.c: In file included from /scratch_gpfs_na2700_60/bdolbeaur/SC/supercop-20191017/supercop-data/genji262/amd64/include/estream-convert-api.h:7:
api.c: In file included from ./e/ecrypt-sync.h:14:
api.c: In file included from /scratch_gpfs_na2700_60/bdolbeaur/SC/supercop-20191017/supercop-data/genji262/amd64/include/ecrypt-portable.h:23:
api.c: In file included from /scratch_gpfs_na2700_60/bdolbeaur/SC/supercop-20191017/supercop-data/genji262/amd64/include/ecrypt-config.h:302:
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:52:1: error: conflicting types for '_mm_prefetch'
api.c: _mm_prefetch (const void *__P, enum _mm_hint __I)
api.c: ^
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:52:1: note: '_mm_prefetch' is a builtin with type 'void (const char *, int)'
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:52:1: error: definition of builtin function '_mm_prefetch'
api.c: _mm_prefetch (const void *__P, enum _mm_hint __I)
api.c: ^
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:54:3: error: argument to '__builtin_prefetch' must be a constant integer
api.c: __builtin_prefetch (__P, (__I & 0x4) >> 2, __I & 0x3);
api.c: ^ ~~~~~~~~~~~~~~~~
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:130:10: error: invalid conversion between vector type '__m128' (vector of 4 'float' values) and integer type 'int' of different size
api.c: return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
api.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:136:10: error: invalid conversion between vector type '__m128' (vector of 4 'float' values) and integer type 'int' of different size
api.c: return (__m128) __builtin_ia32_subss ((__v4sf)__A, (__v4sf)__B);
api.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:142:10: error: invalid conversion between vector type '__m128' (vector of 4 'float' values) and integer type 'int' of different size
api.c: return (__m128) __builtin_ia32_mulss ((__v4sf)__A, (__v4sf)__B);
api.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
api.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:148:10: error: invalid conversion between vector type '__m128' (vector of 4 'float' values) and integer type 'int' of different size
api.c: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200511
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200511
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200511
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200511
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200511
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200701
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200701
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200701
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200701
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/hc-256/200701