Open Quuxplusone opened 4 years ago
Bugzilla Link | PR47426 |
Status | NEW |
Importance | P enhancement |
Reported by | Anmol P. Paralkar (anmparal@cisco.com) |
Reported on | 2020-09-04 19:18:18 -0700 |
Last modified on | 2020-09-04 20:58:47 -0700 |
Version | trunk |
Hardware | PC All |
CC | anmparal@cisco.com, craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
The min_vector_width attribute is currently only used to indicate that the compiler should honor 512-bit intrinsics. There's a drop in CPU frequency on some CPUs when using those instructions so the default behavior is for the auto vectorizers to avoid them on those CPUs. The attribute disables this behavior.
Can you clarify why these loads being split is problematic beyond not matching the documentation? You used the word "atomic" in the bug title, but neither Intel nor AMD guaranteed atomic memory access for anything larger than 8 bytes except for cmpxchg16b.