1
Fork 0

Rollup merge of #90688 - SparrowLii:dotprod, r=Amanieu

enable `dotprod` target feature in arm

To implement `vdot` neon insturction in stdarch, we need to enable `dotprod` target feature in arm in rustc.
r? `@Amanieu`
This commit is contained in:
Yuki Okushi 2021-11-09 22:02:24 +09:00 committed by GitHub
commit 753936f769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("aes", Some(sym::arm_target_feature)), ("aes", Some(sym::arm_target_feature)),
("sha2", Some(sym::arm_target_feature)), ("sha2", Some(sym::arm_target_feature)),
("i8mm", Some(sym::arm_target_feature)), ("i8mm", Some(sym::arm_target_feature)),
("dotprod", Some(sym::arm_target_feature)),
("v5te", Some(sym::arm_target_feature)), ("v5te", Some(sym::arm_target_feature)),
("v6", Some(sym::arm_target_feature)), ("v6", Some(sym::arm_target_feature)),
("v6k", Some(sym::arm_target_feature)), ("v6k", Some(sym::arm_target_feature)),