@@ -11,63 +11,15 @@ use crate::{core_arch::simd::*, hint::unreachable_unchecked, intrinsics::simd::*
1111#[ cfg( test) ]
1212use stdarch_test:: assert_instr;
1313
14- #[ cfg_attr(
15- not( target_arch = "arm" ) ,
16- stable( feature = "neon_intrinsics" , since = "1.59.0" )
17- ) ]
18- #[ cfg_attr(
19- target_arch = "arm" ,
20- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
21- ) ]
22- pub trait AsUnsigned {
23- #[ cfg_attr(
24- not( target_arch = "arm" ) ,
25- stable( feature = "neon_intrinsics" , since = "1.59.0" )
26- ) ]
27- #[ cfg_attr(
28- target_arch = "arm" ,
29- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
30- ) ]
14+ #[ unstable( feature = "stdarch_internal" , issue = "none" ) ]
15+ pub ( crate ) trait AsUnsigned {
3116 type Unsigned : ?Sized ;
32-
33- #[ cfg_attr(
34- not( target_arch = "arm" ) ,
35- stable( feature = "neon_intrinsics" , since = "1.59.0" )
36- ) ]
37- #[ cfg_attr(
38- target_arch = "arm" ,
39- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
40- ) ]
4117 unsafe fn as_unsigned ( self ) -> Self :: Unsigned ;
4218}
4319
44- #[ cfg_attr(
45- not( target_arch = "arm" ) ,
46- stable( feature = "neon_intrinsics" , since = "1.59.0" )
47- ) ]
48- #[ cfg_attr(
49- target_arch = "arm" ,
50- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
51- ) ]
52- pub trait AsSigned {
53- #[ cfg_attr(
54- not( target_arch = "arm" ) ,
55- stable( feature = "neon_intrinsics" , since = "1.59.0" )
56- ) ]
57- #[ cfg_attr(
58- target_arch = "arm" ,
59- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
60- ) ]
20+ #[ unstable( feature = "stdarch_internal" , issue = "none" ) ]
21+ pub ( crate ) trait AsSigned {
6122 type Signed : ?Sized ;
62-
63- #[ cfg_attr(
64- not( target_arch = "arm" ) ,
65- stable( feature = "neon_intrinsics" , since = "1.59.0" )
66- ) ]
67- #[ cfg_attr(
68- target_arch = "arm" ,
69- unstable( feature = "stdarch_arm_neon_intrinsics" , issue = "111800" )
70- ) ]
7123 unsafe fn as_signed ( self ) -> Self :: Signed ;
7224}
7325
0 commit comments