Closed SoniEx2 closed 4 months ago
Huh. I don't understand the error. Does it go away if you turn off the SSSE3 implementation? Alternatively, does it get better if you compile with -mssse3
or -march=native
?
Also, it is very recommended to compile using -fopenmp-simd -DSIMDE_ENABLE_OPENMP
on Clang version 6+ and GGC version 4.9+
it does not go away with -DSIMDE_NO_NATIVE
, and openmp-simd doesn't help either.
so presumably the SIMDE_VECTORIZE
now warns when the vectorization isn't supported?
so presumably the
SIMDE_VECTORIZE
now warns when the vectorization isn't supported?
That could be. I guess one could check with the Compiler Explorer to see if that code normally is vectorized on other compilers.
we believe we can safely use -Wno-pass-failed
(unfortunately we can't use -march=native
as that breaks cross-compiles, ah well). thanks for the help!
from what we could gather, clang doesn't appear to have a way to suppress the warning at the pragma site, which seems pretty reasonable in the general case honestly but we aren't testing for optimizations in the wabt test suite, we're just testing for correctness.
simde version: 0.8.0 clang version: 17.0.6 target: x86_64-pc-linux-gnu
code:
compile command:
This produces the error/warning:
Which seems kinda odd honestly. Minified from WebAssembly/wabt#2403
We can't tell if it's a "holding the compiler wrong" issue, or simde is providing the wrong hints to the compiler somehow, or what's going on here. Any ideas?