Chromium Code Reviews| 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 once the toolchains have been updated. | |
|
brettw
2015/09/28 04:37:50
# for comments.
Can you also clarify what's to be
Bons
2015/09/28 04:42:54
Done.
| |
| 202 cflags = [ "-mfpu=neon" ] | 203 cflags = [ "-mfpu=neon" ] |
| 204 asmflags = [ "-mfpu=neon" ] | |
| 203 } | 205 } |
| 204 | 206 |
| 205 sources = [ | 207 sources = [ |
| 206 # Complex 32-bit fixed-point FFT. | 208 # Complex 32-bit fixed-point FFT. |
| 207 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S", | 209 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S", |
| 208 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S", | 210 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S", |
| 209 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S", | 211 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S", |
| 210 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S", | 212 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S", |
| 211 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S", | 213 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S", |
| 212 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_unsafe_s.S", | 214 "sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_unsafe_s.S", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S", | 251 "sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S", |
| 250 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S", | 252 "sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S", |
| 251 | 253 |
| 252 # Real floating-point FFT | 254 # Real floating-point FFT |
| 253 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S", | 255 "sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S", |
| 254 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S", | 256 "sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S", |
| 255 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S", | 257 "sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S", |
| 256 ] | 258 ] |
| 257 } | 259 } |
| 258 } | 260 } |
| OLD | NEW |