cyb70289 commented on issue #34268: URL: https://github.com/apache/arrow/issues/34268#issuecomment-1439359645
The runtime detection and environment variables are to choose **explicit** SIMD optimization code, as this [example](https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/exec/bloom_filter_avx2.cc). Arrow is built with compiler (gcc, clang) option `-msse4.2` on x86 by default. With this option on, compiler may generate SSE code for any `cpp` source file, not only the explicit SIMD code. Looks we should improve the document to explain this "illegal instruction" issue. I did saw it some times. cc @pitrou -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
