@@ -3,7 +3,6 @@ use core::arch::aarch64::*;
3
3
4
4
#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
5
5
#[ target_feature( enable = "neon" ) ]
6
- #[ target_feature( enable = "fp" ) ]
7
6
unsafe fn idct8 ( data : & mut [ int16x8_t ; 8 ] ) {
8
7
// The fixed-point constants here are obtained by taking the fractional part of the constants
9
8
// 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]) {
84
83
85
84
#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
86
85
#[ target_feature( enable = "neon" ) ]
87
- #[ target_feature( enable = "fp" ) ]
88
86
unsafe fn transpose8 ( data : & mut [ int16x8_t ; 8 ] ) {
89
87
// Use NEON's 2x2 matrix transposes (vtrn) to do the transposition in each 4x4 block, then
90
88
// combine the 4x4 blocks.
@@ -112,7 +110,6 @@ unsafe fn transpose8(data: &mut [int16x8_t; 8]) {
112
110
113
111
#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
114
112
#[ target_feature( enable = "neon" ) ]
115
- #[ target_feature( enable = "fp" ) ]
116
113
pub unsafe fn dequantize_and_idct_block_8x8 (
117
114
coefficients : & [ i16 ; 64 ] ,
118
115
quantization_table : & [ u16 ; 64 ] ,
@@ -171,7 +168,6 @@ pub unsafe fn dequantize_and_idct_block_8x8(
171
168
172
169
#[ cfg( all( feature = "nightly_aarch64_neon" , target_arch = "aarch64" ) ) ]
173
170
#[ target_feature( enable = "neon" ) ]
174
- #[ target_feature( enable = "fp" ) ]
175
171
pub unsafe fn color_convert_line_ycbcr ( y : & [ u8 ] , cb : & [ u8 ] , cr : & [ u8 ] , output : & mut [ u8 ] ) -> usize {
176
172
assert ! ( output. len( ) % 3 == 0 ) ;
177
173
let num = output. len ( ) / 3 ;
0 commit comments