Implementation notes: amd64, pmnod076, crypto_aead/knot128v2

Computer: pmnod076
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: knot128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
10642815984 128 034237 992 864opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
10648615984 128 034237 992 864opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
10649215984 128 034237 992 864opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
10651215984 128 034805 992 928opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
10652015984 128 034237 992 864opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
10691015904 128 035045 992 928opticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
10988615328 128 032357 992 864opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
10989215440 128 033741 992 864opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
10989815440 128 033741 992 864opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
10990215440 128 033741 992 864opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
10999215440 128 033741 992 864opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
11383016376 128 035029 992 864opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
11387016376 128 035029 992 864opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
11387816376 128 035029 992 864opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
11389816376 128 035029 992 864opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
11390216376 128 035309 992 928opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
11642416384 128 035877 992 928opticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
1169527097 127 022435 967 896optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
11854816056 128 034325 992 864opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
11859816056 128 034325 992 864opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
11865416056 128 034325 992 864opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
11866216056 128 034325 992 864opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
1187064766 127 017350 959 896optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
11877815944 128 032917 992 864opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
1194886425 127 018966 959 896optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
1228604243 127 015790 943 896optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
1294988464 128 027645 992 928reficc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
1331468480 128 027341 992 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
1331787984 128 026277 992 864reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
1331867984 128 026277 992 864reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
1331887984 128 026277 992 864reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
1332267984 128 026277 992 864reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
1367788144 128 025213 992 864reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
1369508144 128 026485 992 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
1369528144 128 026485 992 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
1369548144 128 026485 992 864reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
1369968144 128 026485 992 864reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
1380088592 128 028125 992 928reficc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
1410428160 128 026853 992 864reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
1410968160 128 026853 992 864reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
1411008160 128 026853 992 864reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
1411308576 128 027549 992 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
1412548160 128 026853 992 864reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
1454068224 128 025237 992 864reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
1467628336 128 026645 992 864reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
1467728336 128 026645 992 864reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
1468128336 128 026645 992 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
1468548336 128 026645 992 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
1469845200 127 020587 967 896refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
1665623002 127 015622 959 896refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
1951322742 127 015334 959 896refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
2049902206 127 013798 943 896refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017

Test failure

Implementation: crypto_aead/knot128v2/opt
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 opt ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer opt ref

Compiler output

Implementation: crypto_aead/knot128v2/opt
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: crypto_aead/knot128v2/opt
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