@@ -59,33 +59,45 @@ pub use self::registers::*;
59
59
// Supported arches: 5TE, 7E-M. See Section 10.1 of ACLE (e.g. QADD)
60
60
// We also include the A profile even though DSP is deprecated on that profile as of ACLE 2.0 (see
61
61
// section 5.4.7)
62
- #[ cfg( any(
63
- // >= v5TE but excludes v7-A
64
- all( target_feature = "v5te" , not( target_feature = "mclass" ) ) ,
65
- // v7E-M
66
- all( target_feature = "mclass" , target_feature = "dsp" ) ,
62
+ #[ cfg( all(
63
+ not( target_arch = "aarch64" ) ,
64
+ any(
65
+ // >= v5TE but excludes v7-A
66
+ all( target_feature = "v5te" , not( target_feature = "mclass" ) ) ,
67
+ // v7E-M
68
+ all( target_feature = "mclass" , target_feature = "dsp" ) ,
69
+ )
67
70
) ) ]
68
71
mod dsp;
69
72
70
- #[ cfg( any(
71
- all( target_feature = "v5te" , not( target_feature = "mclass" ) ) ,
72
- all( target_feature = "mclass" , target_feature = "dsp" ) ,
73
+ #[ cfg( all(
74
+ not( target_arch = "aarch64" ) ,
75
+ any(
76
+ all( target_feature = "v5te" , not( target_feature = "mclass" ) ) ,
77
+ all( target_feature = "mclass" , target_feature = "dsp" ) ,
78
+ )
73
79
) ) ]
74
80
pub use self :: dsp:: * ;
75
81
76
82
// Deprecated in ACLE 2.0 for the A profile but fully supported on the M and R profiles, says
77
83
// Section 5.4.9 of ACLE. We'll expose these for the A profile even if deprecated
78
- #[ cfg( any(
79
- // v7-A, v7-R
80
- all( target_feature = "v6" , not( target_feature = "mclass" ) ) ,
81
- // v7E-M
82
- all( target_feature = "mclass" , target_feature = "dsp" )
84
+ #[ cfg( all(
85
+ not( target_arch = "aarch64" ) ,
86
+ any(
87
+ // v7-A, v7-R
88
+ all( target_feature = "v6" , not( target_feature = "mclass" ) ) ,
89
+ // v7E-M
90
+ all( target_feature = "mclass" , target_feature = "dsp" )
91
+ )
83
92
) ) ]
84
93
mod simd32;
85
94
86
- #[ cfg( any(
87
- all( target_feature = "v6" , not( target_feature = "mclass" ) ) ,
88
- all( target_feature = "mclass" , target_feature = "dsp" )
95
+ #[ cfg( all(
96
+ not( target_arch = "aarch64" ) ,
97
+ any(
98
+ all( target_feature = "v6" , not( target_feature = "mclass" ) ) ,
99
+ all( target_feature = "mclass" , target_feature = "dsp" )
100
+ )
89
101
) ) ]
90
102
pub use self :: simd32:: * ;
91
103
0 commit comments