Implementation notes: amd64, panther, crypto_stream/simon128192ctr

Computer: panther
Microarchitecture: amd64; Tiger Lake (806c1)
Architecture: amd64
CPU ID: GenuineIntel-000806c1-00-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_stream
Primitive: simon128192ctr

Checksum failure


4f357420b1a7037053b3afccc696bd4ddb0eb05091e25716177467054c34c371

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:sse4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:sse4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:sse4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:sse4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


stream.c: stream.c:139:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:387:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: stream.c:291:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:164:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


stream.c: stream.c:139:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:387:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: stream.c:291:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:164:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


stream.c: stream.c:139:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:387:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: stream.c:291:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:164:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `ExpandKeyBS':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:342: undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:145: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:145: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:157: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:157: undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: more undefined references to `R2x16' follow
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:297: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:297: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:309: undefined reference to `Transpose'
try.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


stream.c: stream.c:139:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:387:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: stream.c:291:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:164:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


stream.c: stream.c:139:28: warning: implicit declaration of function 'R2x16' is invalid in C99 [-Wimplicit-function-declaration]
stream.c:         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:                            ^
stream.c: ./Simon128192AVX2.h:47:24: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:                        ^
stream.c: <scratch space>:387:1: note: expanded from here
stream.c: R2x16
stream.c: ^
stream.c: ./Simon128192AVX2.h:34:28: note: expanded from macro 'R2x16'
stream.c: #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:                            ^
stream.c: stream.c:128:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'avx', but would be inlined into function 'Encrypt' that is compiled without support for 'avx'
stream.c:   SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
stream.c:   ^
stream.c: ./Intrinsics_AVX2_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c:                      ^
stream.c: ./Intrinsics_AVX2_128block.h:24:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c:             ^
stream.c: stream.c:128:3: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
stream.c: ./Intrinsics_AVX2_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c:                      ^
stream.c: ...

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

Compiler output


stream.c: In file included from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Simon128192AVX2.h:34:28: warning: implicit declaration of function 'R2x16' [-Wimplicit-function-declaration]
stream.c:    34 | #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:       |                            ^~~~~
stream.c: Simon128192AVX2.h:47:24: note: in expansion of macro 'R2x16'
stream.c:    47 | #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:       |                        ^~~
stream.c: stream.c:139:28: note: in expansion of macro 'Enc'
stream.c:   139 |         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:       |                            ^~~
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


stream.c: In file included from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Simon128192AVX2.h:34:28: warning: implicit declaration of function 'R2x16' [-Wimplicit-function-declaration]
stream.c:    34 | #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:       |                            ^~~~~
stream.c: Simon128192AVX2.h:47:24: note: in expansion of macro 'R2x16'
stream.c:    47 | #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:       |                        ^~~
stream.c: stream.c:139:28: note: in expansion of macro 'Enc'
stream.c:   139 |         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:       |                            ^~~
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


stream.c: In file included from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Simon128192AVX2.h:34:28: warning: implicit declaration of function 'R2x16' [-Wimplicit-function-declaration]
stream.c:    34 | #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:       |                            ^~~~~
stream.c: Simon128192AVX2.h:47:24: note: in expansion of macro 'R2x16'
stream.c:    47 | #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:       |                        ^~~
stream.c: stream.c:139:28: note: in expansion of macro 'Enc'
stream.c:   139 |         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:       |                            ^~~
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:145: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:145: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:157: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:157: undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:297: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:297: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:291: more undefined references to `R2x16' follow
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:309: undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:309: undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `ExpandKeyBS':
try.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


stream.c: In file included from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Simon128192AVX2.h:34:28: warning: implicit declaration of function 'R2x16' [-Wimplicit-function-declaration]
stream.c:    34 | #define R2x16(X,Y,rk,r,s) (R2x16(X,Y,rk,r), R1x16(Y,X,rk,s))
stream.c:       |                            ^~~~~
stream.c: Simon128192AVX2.h:47:24: note: in expansion of macro 'R2x16'
stream.c:    47 | #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:       |                        ^~~
stream.c: stream.c:139:28: note: in expansion of macro 'Enc'
stream.c:   139 |         if (numbytes==256) Enc(X,Y,rk,16);
stream.c:       |                            ^~~
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: .../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: undefined reference to `R2x16'
try.c: /usr/bin/ld: libcrypto_stream_simon128192ctr.a(stream.o):.../supercop-data/panther/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon128192ctr/avx2/work/stream.c:139: more undefined references to `R2x16' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


stream.c: stream.c:313:3: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'ExpandKeyBS' that is compiled without support for 'ssse3'
stream.c:   EKBS(rk);
stream.c:   ^
stream.c: ./Simon128192SSE4.h:66:19: note: expanded from macro 'EKBS'
stream.c: #define EKBS(rk) (RKBS(rk,3,_D),  RKBS(rk,4,_D),  RKBS(rk,5,_C),  RKBS(rk,6,_D),  RKBS(rk,7,_D),  RKBS(rk,8,_C), \
stream.c:                   ^
stream.c: ./Simon128192SSE4.h:57:52: note: expanded from macro 'RKBS'
stream.c: #define RKBS(rk,r,_V) (rk[r][7]= _D ^ rk[r-3][7] ^ ROR8(rk[r-1][2] ^ rk[r-1][3]), \
stream.c:                                                    ^
stream.c: ./Intrinsics_SSE4_128block.h:39:19: note: expanded from macro 'ROR8'
stream.c: #define ROR8(X)  (SHFL(X,R8))
stream.c:                   ^
stream.c: ./Intrinsics_SSE4_128block.h:35:14: note: expanded from macro 'SHFL'
stream.c: #define SHFL _mm_shuffle_epi8
stream.c:              ^
stream.c: stream.c:313:3: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'ExpandKeyBS' that is compiled without support for 'ssse3'
stream.c: ./Simon128192SSE4.h:66:19: note: expanded from macro 'EKBS'
stream.c: #define EKBS(rk) (RKBS(rk,3,_D),  RKBS(rk,4,_D),  RKBS(rk,5,_C),  RKBS(rk,6,_D),  RKBS(rk,7,_D),  RKBS(rk,8,_C), \
stream.c:                   ^
stream.c: ./Simon128192SSE4.h:58:38: note: expanded from macro 'RKBS'
stream.c:                        rk[r][6]= _D ^ rk[r-3][6] ^ ROR8(rk[r-1][1] ^ rk[r-1][2]), \
stream.c:                                                    ^
stream.c: ./Intrinsics_SSE4_128block.h:39:19: note: expanded from macro 'ROR8'
stream.c: #define ROR8(X)  (SHFL(X,R8))
stream.c:                   ^
stream.c: ...

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