Implementation notes: amd64, genji346, crypto_aead/knot128v2

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: knot128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
9850015984 128 034253 992 864opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
9858015984 128 034253 992 864opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
9866015984 128 034253 992 864opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
9872015984 128 034253 992 864opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
10048015328 128 032373 992 864opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
10214016376 128 035045 992 864opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
10216016376 128 035045 992 864opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
10218016376 128 035045 992 864opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
10240015944 128 032933 992 864opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
10242016376 128 035045 992 864opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
11138015440 128 033757 992 864opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
11138015440 128 033757 992 864opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
11148015440 128 033757 992 864opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
11150015440 128 033757 992 864opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
11256016056 128 034341 992 864opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
11260016056 128 034341 992 864opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
11260016056 128 034341 992 864opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
11272016056 128 034341 992 864opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
1201403706 127 018131 935 872refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1202203706 127 018131 935 872refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1238005131 127 020163 935 872refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1242407984 128 026293 992 864reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
1242607984 128 026293 992 864reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
1242807984 128 026293 992 864reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
1243207984 128 026293 992 864reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
1249808144 128 026501 992 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
1250408144 128 026501 992 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
1250408144 128 026501 992 864reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
1250808144 128 025229 992 864reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
1250808144 128 026501 992 864reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
1260408160 128 026869 992 864reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
1260608160 128 026869 992 864reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
1260608160 128 026869 992 864reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
1261008160 128 026869 992 864reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
1261608224 128 025253 992 864reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
1266208336 128 026661 992 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
1268008336 128 026661 992 864reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
1269608336 128 026661 992 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
1289206145 127 020883 935 856refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1310808336 128 026661 992 864reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
1315205357 127 020329 951 896refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1469003920 127 015553 927 856refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1483403208 127 015948 943 896refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1730602799 127 015372 943 896refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1841602287 127 013836 927 896refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017

Test failure

Implementation: opt
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 opt
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer opt
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer opt
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer opt
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer opt
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer opt
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -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=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:30:9: warning: 'LITTLE_ENDIAN' macro redefined [-Wmacro-redefined]
encrypt.c: #define LITTLE_ENDIAN
encrypt.c: ^
encrypt.c: /usr/include/endian.h:45:10: note: previous definition is here
encrypt.c: # define LITTLE_ENDIAN __LITTLE_ENDIAN
encrypt.c: ^
encrypt.c: encrypt.c:42:9: warning: 'EXT_BYTE32' macro redefined [-Wmacro-redefined]
encrypt.c: #define EXT_BYTE32(x,n) ((u8)((u32)(x)>>(8*(3-(n)))))
encrypt.c: ^
encrypt.c: encrypt.c:33:9: note: previous definition is here
encrypt.c: #define EXT_BYTE32(x,n) ((u8)((u32)(x)>>(8*(n))))
encrypt.c: ^
encrypt.c: encrypt.c:43:9: warning: 'INS_BYTE32' macro redefined [-Wmacro-redefined]
encrypt.c: #define INS_BYTE32(x,n) ((u32)(x)<<(8*(3-(n))))
encrypt.c: ^
encrypt.c: encrypt.c:34:9: note: previous definition is here
encrypt.c: #define INS_BYTE32(x,n) ((u32)(x)<<(8*(n)))
encrypt.c: ^
encrypt.c: encrypt.c:44:9: warning: 'U32BIG' macro redefined [-Wmacro-redefined]
encrypt.c: #define U32BIG(x) \
encrypt.c: ^
encrypt.c: encrypt.c:35:9: note: previous definition is here
encrypt.c: #define U32BIG(x) (x)
encrypt.c: ^
encrypt.c: encrypt.c:47:9: warning: 'EXT_BYTE64' macro redefined [-Wmacro-redefined]
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c:30: warning: "LITTLE_ENDIAN" redefined
encrypt.c: 30 | #define LITTLE_ENDIAN
encrypt.c: |
encrypt.c: In file included from /usr/include/bits/waitstatus.h:64,
encrypt.c: from /usr/include/stdlib.h:42,
encrypt.c: from encrypt.c:4:
encrypt.c: /usr/include/endian.h:45: note: this is the location of the previous definition
encrypt.c: 45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
encrypt.c: |
encrypt.c: encrypt.c:42: warning: "EXT_BYTE32" redefined
encrypt.c: 42 | #define EXT_BYTE32(x,n) ((u8)((u32)(x)>>(8*(3-(n)))))
encrypt.c: |
encrypt.c: encrypt.c:33: note: this is the location of the previous definition
encrypt.c: 33 | #define EXT_BYTE32(x,n) ((u8)((u32)(x)>>(8*(n))))
encrypt.c: |
encrypt.c: encrypt.c:43: warning: "INS_BYTE32" redefined
encrypt.c: 43 | #define INS_BYTE32(x,n) ((u32)(x)<<(8*(3-(n))))
encrypt.c: |
encrypt.c: encrypt.c:34: note: this is the location of the previous definition
encrypt.c: 34 | #define INS_BYTE32(x,n) ((u32)(x)<<(8*(n)))
encrypt.c: |
encrypt.c: encrypt.c:44: warning: "U32BIG" redefined
encrypt.c: 44 | #define U32BIG(x) \
encrypt.c: |
encrypt.c: encrypt.c:35: note: this is the location of the previous definition
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
encrypt.c: encrypt.c(30): warning #47: incompatible redefinition of macro "LITTLE_ENDIAN" (declared at line 45 of "/usr/include/endian.h")
encrypt.c: #define LITTLE_ENDIAN
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(42): warning #47: incompatible redefinition of macro "EXT_BYTE32" (declared at line 33)
encrypt.c: #define EXT_BYTE32(x,n) ((u8)((u32)(x)>>(8*(3-(n)))))
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(43): warning #47: incompatible redefinition of macro "INS_BYTE32" (declared at line 34)
encrypt.c: #define INS_BYTE32(x,n) ((u32)(x)<<(8*(3-(n))))
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(44): warning #47: incompatible redefinition of macro "U32BIG" (declared at line 35)
encrypt.c: #define U32BIG(x) \
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(47): warning #47: incompatible redefinition of macro "EXT_BYTE64" (declared at line 36)
encrypt.c: #define EXT_BYTE64(x,n) ((u8)((u64)(x)>>(8*(7-(n)))))
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(48): warning #47: incompatible redefinition of macro "INS_BYTE64" (declared at line 37)
encrypt.c: #define INS_BYTE64(x,n) ((u64)(x)<<(8*(7-(n))))
encrypt.c: ^
encrypt.c:
encrypt.c: encrypt.c(49): warning #47: incompatible redefinition of macro "U64BIG" (declared at line 38)
encrypt.c: ...

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