@@ -1613,6 +1613,7 @@ pub const _MM_FLUSH_ZERO_OFF: u32 = 0x0000;
1613
1613
///
1614
1614
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_GET_EXCEPTION_MASK)
1615
1615
#[ inline]
1616
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1616
1617
#[ allow( non_snake_case) ]
1617
1618
#[ target_feature( enable = "sse" ) ]
1618
1619
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1628,6 +1629,7 @@ pub unsafe fn _MM_GET_EXCEPTION_MASK() -> u32 {
1628
1629
///
1629
1630
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_GET_EXCEPTION_STATE)
1630
1631
#[ inline]
1632
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1631
1633
#[ allow( non_snake_case) ]
1632
1634
#[ target_feature( enable = "sse" ) ]
1633
1635
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1643,6 +1645,7 @@ pub unsafe fn _MM_GET_EXCEPTION_STATE() -> u32 {
1643
1645
///
1644
1646
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_GET_FLUSH_ZERO_MODE)
1645
1647
#[ inline]
1648
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1646
1649
#[ allow( non_snake_case) ]
1647
1650
#[ target_feature( enable = "sse" ) ]
1648
1651
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1658,6 +1661,7 @@ pub unsafe fn _MM_GET_FLUSH_ZERO_MODE() -> u32 {
1658
1661
///
1659
1662
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_GET_ROUNDING_MODE)
1660
1663
#[ inline]
1664
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1661
1665
#[ allow( non_snake_case) ]
1662
1666
#[ target_feature( enable = "sse" ) ]
1663
1667
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1673,6 +1677,7 @@ pub unsafe fn _MM_GET_ROUNDING_MODE() -> u32 {
1673
1677
///
1674
1678
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_SET_EXCEPTION_MASK)
1675
1679
#[ inline]
1680
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1676
1681
#[ allow( non_snake_case) ]
1677
1682
#[ target_feature( enable = "sse" ) ]
1678
1683
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1688,6 +1693,7 @@ pub unsafe fn _MM_SET_EXCEPTION_MASK(x: u32) {
1688
1693
///
1689
1694
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_SET_EXCEPTION_STATE)
1690
1695
#[ inline]
1696
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1691
1697
#[ allow( non_snake_case) ]
1692
1698
#[ target_feature( enable = "sse" ) ]
1693
1699
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1703,6 +1709,7 @@ pub unsafe fn _MM_SET_EXCEPTION_STATE(x: u32) {
1703
1709
///
1704
1710
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_SET_FLUSH_ZERO_MODE)
1705
1711
#[ inline]
1712
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1706
1713
#[ allow( non_snake_case) ]
1707
1714
#[ target_feature( enable = "sse" ) ]
1708
1715
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -1720,6 +1727,7 @@ pub unsafe fn _MM_SET_FLUSH_ZERO_MODE(x: u32) {
1720
1727
///
1721
1728
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_SET_ROUNDING_MODE)
1722
1729
#[ inline]
1730
+ #[ allow( deprecated) ] // Deprecated function implemented on top of deprecated function
1723
1731
#[ allow( non_snake_case) ]
1724
1732
#[ target_feature( enable = "sse" ) ]
1725
1733
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -2834,6 +2842,7 @@ mod tests {
2834
2842
}
2835
2843
}
2836
2844
2845
+ #[ allow( deprecated) ] // FIXME: This test uses deprecated CSR access functions
2837
2846
#[ simd_test( enable = "sse" ) ]
2838
2847
unsafe fn test_mm_comieq_ss_vs_ucomieq_ss ( ) {
2839
2848
// If one of the arguments is a quiet NaN `comieq_ss` should signal an
@@ -3258,6 +3267,7 @@ mod tests {
3258
3267
_mm_sfence ( ) ;
3259
3268
}
3260
3269
3270
+ #[ allow( deprecated) ] // FIXME: This tests functions that are immediate UB
3261
3271
#[ simd_test( enable = "sse" ) ]
3262
3272
unsafe fn test_mm_getcsr_setcsr_1 ( ) {
3263
3273
let saved_csr = _mm_getcsr ( ) ;
@@ -3274,6 +3284,7 @@ mod tests {
3274
3284
assert_eq_m128 ( r, exp) ; // first component is a denormalized f32
3275
3285
}
3276
3286
3287
+ #[ allow( deprecated) ] // FIXME: This tests functions that are immediate UB
3277
3288
#[ simd_test( enable = "sse" ) ]
3278
3289
unsafe fn test_mm_getcsr_setcsr_2 ( ) {
3279
3290
// Same as _mm_setcsr_1 test, but with opposite flag value.
@@ -3292,6 +3303,7 @@ mod tests {
3292
3303
assert_eq_m128 ( r, exp) ; // first component is a denormalized f32
3293
3304
}
3294
3305
3306
+ #[ allow( deprecated) ] // FIXME: This tests functions that are immediate UB
3295
3307
#[ simd_test( enable = "sse" ) ]
3296
3308
unsafe fn test_mm_getcsr_setcsr_underflow ( ) {
3297
3309
_MM_SET_EXCEPTION_STATE ( 0 ) ;
0 commit comments