@@ -3,7 +3,6 @@ use core::arch::aarch64::*;
33
44#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
55#[ target_feature( enable = "neon" ) ]
6- #[ target_feature( enable = "fp" ) ]
76unsafe fn idct8 ( data : & mut [ int16x8_t ; 8 ] ) {
87 // The fixed-point constants here are obtained by taking the fractional part of the constants
98 // from the non-SIMD implementation and scaling them up by 1<<15. This is because
@@ -84,7 +83,6 @@ unsafe fn idct8(data: &mut [int16x8_t; 8]) {
8483
8584#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
8685#[ target_feature( enable = "neon" ) ]
87- #[ target_feature( enable = "fp" ) ]
8886unsafe fn transpose8 ( data : & mut [ int16x8_t ; 8 ] ) {
8987 // Use NEON's 2x2 matrix transposes (vtrn) to do the transposition in each 4x4 block, then
9088 // combine the 4x4 blocks.
@@ -112,7 +110,6 @@ unsafe fn transpose8(data: &mut [int16x8_t; 8]) {
112110
113111#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
114112#[ target_feature( enable = "neon" ) ]
115- #[ target_feature( enable = "fp" ) ]
116113pub unsafe fn dequantize_and_idct_block_8x8 (
117114 coefficients : & [ i16 ; 64 ] ,
118115 quantization_table : & [ u16 ; 64 ] ,
@@ -171,7 +168,6 @@ pub unsafe fn dequantize_and_idct_block_8x8(
171168
172169#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
173170#[ target_feature( enable = "neon" ) ]
174- #[ target_feature( enable = "fp" ) ]
175171pub unsafe fn color_convert_line_ycbcr ( y : & [ u8 ] , cb : & [ u8 ] , cr : & [ u8 ] , output : & mut [ u8 ] ) -> usize {
176172 assert ! ( output. len( ) % 3 == 0 ) ;
177173 let num = output. len ( ) / 3 ;
0 commit comments