| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/arm.gni") | 5 import("//build/config/arm.gni") |
| 6 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 # Override this value to build with small float FFT tables | 8 # Override this value to build with small float FFT tables |
| 9 openmax_big_float_fft = true | 9 openmax_big_float_fft = true |
| 10 } | 10 } |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 # GYP: third_party/openmax_dl/dl/dl.gyp:openmax_dl_neon | 193 # GYP: third_party/openmax_dl/dl/dl.gyp:openmax_dl_neon |
| 194 # NEON implementation of FFT. This library is NOT | 194 # NEON implementation of FFT. This library is NOT |
| 195 # standalone. Applications must link with openmax_dl. | 195 # standalone. Applications must link with openmax_dl. |
| 196 source_set("openmax_dl_neon") { | 196 source_set("openmax_dl_neon") { |
| 197 configs += [ ":dl_config" ] | 197 configs += [ ":dl_config" ] |
| 198 visibility = [ ":*" ] | 198 visibility = [ ":*" ] |
| 199 | 199 |
| 200 if (!arm_use_neon) { | 200 if (!arm_use_neon) { |
| 201 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] | 201 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| 202 # TODO(andybons): Remove cflags once the toolchains have been updated | |
| 203 # to use asmflags for assemblers. | |
| 204 cflags = [ "-mfpu=neon" ] | |
| 205 asmflags = [ "-mfpu=neon" ] | 202 asmflags = [ "-mfpu=neon" ] |
| 206 } | 203 } |
| 207 | 204 |
| 208 sources = [ | 205 sources = [ |
| 209 # Complex 32-bit fixed-point FFT. | 206 # Complex 32-bit fixed-point FFT. |
| 210 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S", | 207 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S", |
| 211 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S", | 208 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S", |
| 212 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S", | 209 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S", |
| 213 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S", | 210 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S", |
| 214 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S", | 211 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S", | 249 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S", |
| 253 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S", | 250 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S", |
| 254 | 251 |
| 255 # Real floating-point FFT | 252 # Real floating-point FFT |
| 256 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S", | 253 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S", |
| 257 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S", | 254 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S", |
| 258 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S", | 255 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S", |
| 259 ] | 256 ] |
| 260 } | 257 } |
| 261 } | 258 } |
| OLD | NEW |