Implementation notes: amd64, titan0, crypto_sign/lattisigns512

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: lattisigns512

Compiler output


sign.c: sign.c:12:10: fatal error: 'cpucycles.h' file not found
sign.c: #include "cpucycles.h"
sign.c:          ^~~~~~~~~~~~~
sign.c: 1 error generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avxclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avxclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avxclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:avxclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


ntt_transform.c: ntt_transform.c:27:11: error: always_inline function '_mm256_set_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   vpinv = _mm256_set_pd(PARAM_APPROX_P_INVERSE, PARAM_APPROX_P_INVERSE, PARAM_APPROX_P_INVERSE, PARAM_APPROX_P_INVERSE);
ntt_transform.c:           ^
ntt_transform.c: ntt_transform.c:27:11: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:28:11: error: always_inline function '_mm256_set_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   vp    = _mm256_set_pd(8383489., 8383489., 8383489., 8383489.);
ntt_transform.c:           ^
ntt_transform.c: ntt_transform.c:28:11: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:32:10: error: always_inline function '_mm256_load_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   vo10 = _mm256_load_pd(o+pos);
ntt_transform.c:          ^
ntt_transform.c: ntt_transform.c:32:10: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:33:10: error: always_inline function '_mm256_load_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   vo20 = _mm256_load_pd(o+pos+4);
ntt_transform.c:          ^
ntt_transform.c: ntt_transform.c:33:10: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:34:10: error: always_inline function '_mm256_load_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   neg2 = _mm256_load_pd(_neg2);
ntt_transform.c:          ^
ntt_transform.c: ntt_transform.c:34:10: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:35:10: error: always_inline function '_mm256_load_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c:   neg4 = _mm256_load_pd(_neg4);
ntt_transform.c:          ^
ntt_transform.c: ntt_transform.c:35:10: error: AVX vector return of type '__m256d' (vector of 4 'double' values) without 'avx' enabled changes the ABI
ntt_transform.c: ntt_transform.c:41:11: error: always_inline function '_mm256_load_pd' requires target feature 'avx', but would be inlined into function 'ntt_transform' that is compiled without support for 'avx'
ntt_transform.c: ...

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

Compiler output


sign.c: sign.c:12:10: fatal error: cpucycles.h: No such file or directory
sign.c:    12 | #include "cpucycles.h"
sign.c:       |          ^~~~~~~~~~~~~
sign.c: compilation terminated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avxgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avxgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)