Implementation notes: amd64, hertz, crypto_stream/simon6496ctr
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_stream
Primitive: simon6496ctr
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
3002 | 62050 0 0 | 81878 828 1032 | T:sse4 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
3013 | 62050 0 0 | 81766 828 1032 | T:sse4 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
3084 | 73604 0 0 | 89837 804 1096 | T:sse4 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
3273 | 73817 0 0 | 87989 804 1032 | T:avx2 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
3886 | 75893 0 0 | 88392 780 1000 | T:avx2 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
5137 | 72990 0 0 | 87133 804 1032 | T:sse4 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
5511 | 60345 0 0 | 73920 820 1032 | T:sse4 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
6224 | 71627 0 0 | 84088 780 1000 | T:sse4 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Compiler output
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333: more undefined references to `Transpose' 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:
Implementation | Compiler |
T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333: more undefined references to `Transpose' 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:
Implementation | Compiler |
T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:165:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:174:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o): in function `Encrypt_Xor':
try.c: .../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333:(.text+0x...): undefined reference to `Transpose'
try.c: /usr/bin/ld: libcrypto_stream_simon6496ctr.a(stream.o):.../supercop-data/hertz/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_stream/simon6496ctr/avx2/work/stream.c:333: more undefined references to `Transpose' 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:
Implementation | Compiler |
T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/immintrin.h:51,
stream.c: from Intrinsics_AVX2_64block.h:5,
stream.c: from Simon6496AVX2.h:17,
stream.c: from stream.c:20:
stream.c: In function '_mm256_unpacklo_epi32',
stream.c: inlined from 'Encrypt' at stream.c:183:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:901:19: warning: 'X[1]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c: 901 | return (__m256i)__builtin_ia32_punpckldq256 ((__v8si)__A, (__v8si)__B);
stream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:113:8: note: 'X[1]' was declared here
stream.c: 113 | u256 X[8],Y[8];
stream.c: | ^
stream.c: In function '_mm256_unpacklo_epi32',
stream.c: inlined from 'Encrypt' at stream.c:184:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:901:19: warning: 'X[2]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c: 901 | return (__m256i)__builtin_ia32_punpckldq256 ((__v8si)__A, (__v8si)__B);
stream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:113:8: note: 'X[2]' was declared here
stream.c: 113 | u256 X[8],Y[8];
stream.c: | ^
stream.c: In function '_mm256_unpacklo_epi32',
stream.c: inlined from 'Encrypt' at stream.c:185:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/avx2intrin.h:901:19: warning: 'X[3]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
stream.o Encrypt T
stream.o Encrypt_Xor T
stream.o ExpandKeyBS T
stream.o ExpandKeyNBS T
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
stream.o ExpandKeyBS T
stream.o ExpandKeyNBS T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |