]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #103750 - calebzulawski:master, r=workingjubilee
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 16 Nov 2022 14:39:44 +0000 (15:39 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 14:39:44 +0000 (15:39 +0100)
commit56a28a65f54b846abc93945a58a5e3b93b109dc6
tree70f0c8fb0289513c3342f95d2f681cb888f59735
parent63c748ee23ab7b6706655146f5b7c7f579811803
parent11224000e8e9468b3c2a7999aa7566d361d81a4c
Rollup merge of #103750 - calebzulawski:master, r=workingjubilee

Fix some misleading target feature aliases

This is the first half of a fix for #100752.  It looks like these aliases were added in #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```