Skip to content

Commit

Permalink
Rollup merge of rust-lang#103750 - calebzulawski:master, r=workingjub…
Browse files Browse the repository at this point in the history
…ilee

Fix some misleading target feature aliases

This is the first half of a fix for rust-lang#100752.  It looks like these aliases were added in rust-lang#78361 and slipped under the radar, as these features are not AVX512.  These features _do_ add AVX512 instructions when used _in combination_ with AVX512F, but without AVX512F, these features still provide 128-bit and 256-bit vector instructions.  A user might be mislead into thinking these features imply AVX512F (which is true of the actual AVX512 features).  This PR allows using the names as defined by LLVM, which matches Intel documentation.

A future PR should change the `std::arch` intrinsics to use these names, and finally remove these aliases from rustc.

r? ```@workingjubilee```

cc ```@Amanieu```
  • Loading branch information
matthiaskrgr authored Nov 16, 2022
2 parents cb95524 + f980765 commit 142e974
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 142e974

Please sign in to comment.