@@ -30,6 +30,7 @@ use stdarch_test::assert_instr;
30
30
#[ target_feature( enable = "crc" ) ]
31
31
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
32
32
#[ cfg_attr( test, assert_instr( crc32b) ) ]
33
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
33
34
pub unsafe fn __crc32b ( crc : u32 , data : u8 ) -> u32 {
34
35
crc32b_ ( crc, data as u32 )
35
36
}
@@ -41,6 +42,7 @@ pub unsafe fn __crc32b(crc: u32, data: u8) -> u32 {
41
42
#[ target_feature( enable = "crc" ) ]
42
43
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
43
44
#[ cfg_attr( test, assert_instr( crc32h) ) ]
45
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
44
46
pub unsafe fn __crc32h ( crc : u32 , data : u16 ) -> u32 {
45
47
crc32h_ ( crc, data as u32 )
46
48
}
@@ -52,6 +54,7 @@ pub unsafe fn __crc32h(crc: u32, data: u16) -> u32 {
52
54
#[ target_feature( enable = "crc" ) ]
53
55
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
54
56
#[ cfg_attr( test, assert_instr( crc32w) ) ]
57
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
55
58
pub unsafe fn __crc32w ( crc : u32 , data : u32 ) -> u32 {
56
59
crc32w_ ( crc, data)
57
60
}
@@ -63,6 +66,7 @@ pub unsafe fn __crc32w(crc: u32, data: u32) -> u32 {
63
66
#[ target_feature( enable = "crc" ) ]
64
67
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
65
68
#[ cfg_attr( test, assert_instr( crc32cb) ) ]
69
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
66
70
pub unsafe fn __crc32cb ( crc : u32 , data : u8 ) -> u32 {
67
71
crc32cb_ ( crc, data as u32 )
68
72
}
@@ -74,6 +78,7 @@ pub unsafe fn __crc32cb(crc: u32, data: u8) -> u32 {
74
78
#[ target_feature( enable = "crc" ) ]
75
79
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
76
80
#[ cfg_attr( test, assert_instr( crc32ch) ) ]
81
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
77
82
pub unsafe fn __crc32ch ( crc : u32 , data : u16 ) -> u32 {
78
83
crc32ch_ ( crc, data as u32 )
79
84
}
@@ -85,6 +90,7 @@ pub unsafe fn __crc32ch(crc: u32, data: u16) -> u32 {
85
90
#[ target_feature( enable = "crc" ) ]
86
91
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v8" ) ) ]
87
92
#[ cfg_attr( test, assert_instr( crc32cw) ) ]
93
+ #[ unstable( feature = "stdarch_arm_crc32" , issue = "117215" ) ]
88
94
pub unsafe fn __crc32cw ( crc : u32 , data : u32 ) -> u32 {
89
95
crc32cw_ ( crc, data)
90
96
}
0 commit comments