Closed ngzhian closed 3 years ago
Based on https://clang.llvm.org/docs/ClangCommandLineReference.html#x86 this flag does not exist for Clang.
I read up a bit more on https://stackoverflow.com/a/52628753/4052492 and it looks like clang defaults to not splitting unaligned load when given -mavx: https://godbolt.org/z/n6Tx949hc
This is also similar to the check for clang when setting the flags for AVX2 (right below).
Based on https://clang.llvm.org/docs/ClangCommandLineReference.html#x86 this flag does not exist for Clang.
I read up a bit more on https://stackoverflow.com/a/52628753/4052492 and it looks like clang defaults to not splitting unaligned load when given -mavx: https://godbolt.org/z/n6Tx949hc
This is also similar to the check for clang when setting the flags for AVX2 (right below).