AuburnSounds / intel-intrinsics

The Dlang SIMD library
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#techs=MMX,SSE,SSE2,SSE3,SSSE3,SSE4_1
Boost Software License 1.0
68 stars 11 forks source link

Builtins not found with the LDC-1.32.0 compiler #128

Closed ZILtoid1991 closed 1 year ago

ZILtoid1991 commented 1 year ago
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(522,9): Error: undefined identifier `__builtin_ia32_clflush`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1282,16): Error: undefined identifier `__builtin_ia32_cvtpd2dq`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1337,16): Error: undefined identifier `__builtin_ia32_cvtpd2ps`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1378,30): Error: undefined identifier `__builtin_ia32_cvtps2dq`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1480,16): Error: undefined identifier `__builtin_ia32_cvtsd2si`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1503,20): Error: undefined identifier `__builtin_ia32_cvtsd2si64`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1657,16): Error: undefined identifier `__builtin_ia32_cvttpd2dq`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(1815,9): Error: undefined identifier `__builtin_ia32_lfence`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2150,30): Error: undefined identifier `__builtin_ia32_pmaddwd128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2193,16): Error: undefined identifier `__builtin_ia32_maskmovdqu`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2193,9): Error: cannot return non-void from `void` function
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2365,9): Error: undefined identifier `__builtin_ia32_mfence`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2555,16): Error: undefined identifier `__builtin_ia32_pmovmskb128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2619,16): Error: undefined identifier `__builtin_ia32_movmskpd`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2796,30): Error: undefined identifier `__builtin_ia32_pmulhw128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2836,30): Error: undefined identifier `__builtin_ia32_pmulhuw128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2917,30): Error: undefined identifier `__builtin_ia32_packssdw128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2957,30): Error: undefined identifier `__builtin_ia32_packsswb128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(2998,30): Error: undefined identifier `__builtin_ia32_packuswb128`
intel-intrinsics-1.11.2\intel-intrinsics\source\inteli\emmintrin.d(3059,9): Error: undefined identifier `__builtin_ia32_pause`

I get these error messages whenever I try to compile a project relying on intel-intrinsics.

p0nce commented 1 year ago

Dupe of #127 , this already reported and fixed in LDC (regression) in https://github.com/ldc-developers/ldc/issues/4347 Please wait for LDC 1.32.1+

p0nce commented 1 year ago

Workarounded with a warning in v1.11.3+ It will build, but things will be slow obviously.