@@ -146,7 +146,7 @@ pub fn _mm_sha256rnds2_epu32(a: __m128i, b: __m128i, k: __m128i) -> __m128i {
146
146
#[ inline]
147
147
#[ target_feature( enable = "sha512,avx" ) ]
148
148
#[ cfg_attr( test, assert_instr( vsha512msg1) ) ]
149
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
149
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
150
150
pub fn _mm256_sha512msg1_epi64 ( a : __m256i , b : __m128i ) -> __m256i {
151
151
unsafe { transmute ( vsha512msg1 ( a. as_i64x4 ( ) , b. as_i64x2 ( ) ) ) }
152
152
}
@@ -159,7 +159,7 @@ pub fn _mm256_sha512msg1_epi64(a: __m256i, b: __m128i) -> __m256i {
159
159
#[ inline]
160
160
#[ target_feature( enable = "sha512,avx" ) ]
161
161
#[ cfg_attr( test, assert_instr( vsha512msg2) ) ]
162
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
162
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
163
163
pub fn _mm256_sha512msg2_epi64 ( a : __m256i , b : __m256i ) -> __m256i {
164
164
unsafe { transmute ( vsha512msg2 ( a. as_i64x4 ( ) , b. as_i64x4 ( ) ) ) }
165
165
}
@@ -175,7 +175,7 @@ pub fn _mm256_sha512msg2_epi64(a: __m256i, b: __m256i) -> __m256i {
175
175
#[ inline]
176
176
#[ target_feature( enable = "sha512,avx" ) ]
177
177
#[ cfg_attr( test, assert_instr( vsha512rnds2) ) ]
178
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
178
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
179
179
pub fn _mm256_sha512rnds2_epi64 ( a : __m256i , b : __m256i , k : __m128i ) -> __m256i {
180
180
unsafe { transmute ( vsha512rnds2 ( a. as_i64x4 ( ) , b. as_i64x4 ( ) , k. as_i64x2 ( ) ) ) }
181
181
}
@@ -188,7 +188,7 @@ pub fn _mm256_sha512rnds2_epi64(a: __m256i, b: __m256i, k: __m128i) -> __m256i {
188
188
#[ inline]
189
189
#[ target_feature( enable = "sm3,avx" ) ]
190
190
#[ cfg_attr( test, assert_instr( vsm3msg1) ) ]
191
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
191
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
192
192
pub fn _mm_sm3msg1_epi32 ( a : __m128i , b : __m128i , c : __m128i ) -> __m128i {
193
193
unsafe { transmute ( vsm3msg1 ( a. as_i32x4 ( ) , b. as_i32x4 ( ) , c. as_i32x4 ( ) ) ) }
194
194
}
@@ -201,7 +201,7 @@ pub fn _mm_sm3msg1_epi32(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
201
201
#[ inline]
202
202
#[ target_feature( enable = "sm3,avx" ) ]
203
203
#[ cfg_attr( test, assert_instr( vsm3msg2) ) ]
204
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
204
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
205
205
pub fn _mm_sm3msg2_epi32 ( a : __m128i , b : __m128i , c : __m128i ) -> __m128i {
206
206
unsafe { transmute ( vsm3msg2 ( a. as_i32x4 ( ) , b. as_i32x4 ( ) , c. as_i32x4 ( ) ) ) }
207
207
}
@@ -219,7 +219,7 @@ pub fn _mm_sm3msg2_epi32(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
219
219
#[ target_feature( enable = "sm3,avx" ) ]
220
220
#[ cfg_attr( test, assert_instr( vsm3rnds2, IMM8 = 0 ) ) ]
221
221
#[ rustc_legacy_const_generics( 3 ) ]
222
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
222
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
223
223
pub fn _mm_sm3rnds2_epi32 < const IMM8 : i32 > ( a : __m128i , b : __m128i , c : __m128i ) -> __m128i {
224
224
static_assert ! (
225
225
IMM8 == ( IMM8 & 0x3e ) ,
@@ -235,7 +235,7 @@ pub fn _mm_sm3rnds2_epi32<const IMM8: i32>(a: __m128i, b: __m128i, c: __m128i) -
235
235
#[ inline]
236
236
#[ target_feature( enable = "sm4,avx" ) ]
237
237
#[ cfg_attr( test, assert_instr( vsm4key4) ) ]
238
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
238
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
239
239
pub fn _mm_sm4key4_epi32 ( a : __m128i , b : __m128i ) -> __m128i {
240
240
unsafe { transmute ( vsm4key4128 ( a. as_i32x4 ( ) , b. as_i32x4 ( ) ) ) }
241
241
}
@@ -247,7 +247,7 @@ pub fn _mm_sm4key4_epi32(a: __m128i, b: __m128i) -> __m128i {
247
247
#[ inline]
248
248
#[ target_feature( enable = "sm4,avx" ) ]
249
249
#[ cfg_attr( test, assert_instr( vsm4key4) ) ]
250
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
250
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
251
251
pub fn _mm256_sm4key4_epi32 ( a : __m256i , b : __m256i ) -> __m256i {
252
252
unsafe { transmute ( vsm4key4256 ( a. as_i32x8 ( ) , b. as_i32x8 ( ) ) ) }
253
253
}
@@ -259,7 +259,7 @@ pub fn _mm256_sm4key4_epi32(a: __m256i, b: __m256i) -> __m256i {
259
259
#[ inline]
260
260
#[ target_feature( enable = "sm4,avx" ) ]
261
261
#[ cfg_attr( test, assert_instr( vsm4rnds4) ) ]
262
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
262
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
263
263
pub fn _mm_sm4rnds4_epi32 ( a : __m128i , b : __m128i ) -> __m128i {
264
264
unsafe { transmute ( vsm4rnds4128 ( a. as_i32x4 ( ) , b. as_i32x4 ( ) ) ) }
265
265
}
@@ -271,7 +271,7 @@ pub fn _mm_sm4rnds4_epi32(a: __m128i, b: __m128i) -> __m128i {
271
271
#[ inline]
272
272
#[ target_feature( enable = "sm4,avx" ) ]
273
273
#[ cfg_attr( test, assert_instr( vsm4rnds4) ) ]
274
- #[ unstable ( feature = "sha512_sm_x86" , issue = "126624 " ) ]
274
+ #[ stable ( feature = "sha512_sm_x86" , since = "CURRENT_RUSTC_VERSION " ) ]
275
275
pub fn _mm256_sm4rnds4_epi32 ( a : __m256i , b : __m256i ) -> __m256i {
276
276
unsafe { transmute ( vsm4rnds4256 ( a. as_i32x8 ( ) , b. as_i32x8 ( ) ) ) }
277
277
}
0 commit comments