@@ -59,33 +59,45 @@ pub use self::registers::*;
5959// Supported arches: 5TE, 7E-M. See Section 10.1 of ACLE (e.g. QADD)
6060// We also include the A profile even though DSP is deprecated on that profile as of ACLE 2.0 (see
6161// 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+ )
6770) ) ]
6871mod dsp;
6972
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+ )
7379) ) ]
7480pub use self :: dsp:: * ;
7581
7682// Deprecated in ACLE 2.0 for the A profile but fully supported on the M and R profiles, says
7783// 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+ )
8392) ) ]
8493mod simd32;
8594
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+ )
89101) ) ]
90102pub use self :: simd32:: * ;
91103
0 commit comments