@@ -11,63 +11,15 @@ use crate::{core_arch::simd::*, hint::unreachable_unchecked, intrinsics::simd::*
11
11
#[ cfg( test) ]
12
12
use stdarch_test:: assert_instr;
13
13
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 {
31
16
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
- ) ]
41
17
unsafe fn as_unsigned ( self ) -> Self :: Unsigned ;
42
18
}
43
19
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 {
61
22
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
- ) ]
71
23
unsafe fn as_signed ( self ) -> Self :: Signed ;
72
24
}
73
25
0 commit comments