Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
07479dc912 | ||
|
cb14bb2255 |
2 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -47,9 +47,9 @@ all: clean-vect
|
||||||
@echo NOTE: you may have to manually edit Makefile to optimize for your CPU \(especially if you compile on ARM, please edit PARAMS_NEON\).
|
@echo NOTE: you may have to manually edit Makefile to optimize for your CPU \(especially if you compile on ARM, please edit PARAMS_NEON\).
|
||||||
@echo Auto-detected optimization parameters: $(PARAMS_SIMD)
|
@echo Auto-detected optimization parameters: $(PARAMS_SIMD)
|
||||||
@echo
|
@echo
|
||||||
c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) $(LIBSOURCES) $(PARAMS_LIBS) $(PARAMS_MISC) -fpic -shared -o libcsdr.so
|
gcc -std=c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) $(LIBSOURCES) $(PARAMS_LIBS) $(PARAMS_MISC) -fpic -shared -o libcsdr.so
|
||||||
-./parsevect dumpvect*.vect
|
-./parsevect dumpvect*.vect
|
||||||
c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) csdr.c $(PARAMS_LIBS) -L. -lcsdr $(PARAMS_MISC) -o csdr
|
gcc -std=c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) csdr.c $(PARAMS_LIBS) -L. -lcsdr $(PARAMS_MISC) -o csdr
|
||||||
arm-cross: clean-vect
|
arm-cross: clean-vect
|
||||||
#note: this doesn't work since having added FFTW
|
#note: this doesn't work since having added FFTW
|
||||||
arm-linux-gnueabihf-gcc -std=c99 -O3 -fshort-double -ffast-math -dumpbase dumpvect-arm -fdump-tree-vect-details -mfloat-abi=softfp -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mvectorize-with-neon-quad -Wno-unused-result -Wformat=0 $(SOURCES) -lm -o ./csdr
|
arm-linux-gnueabihf-gcc -std=c99 -O3 -fshort-double -ffast-math -dumpbase dumpvect-arm -fdump-tree-vect-details -mfloat-abi=softfp -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mvectorize-with-neon-quad -Wno-unused-result -Wformat=0 $(SOURCES) -lm -o ./csdr
|
||||||
|
|
6
csdr.c
6
csdr.c
|
@ -77,15 +77,15 @@ char usage[]=
|
||||||
" fmdemod_atan_cf\n"
|
" fmdemod_atan_cf\n"
|
||||||
" fmdemod_quadri_cf\n"
|
" fmdemod_quadri_cf\n"
|
||||||
" fmdemod_quadri_novect_cf\n"
|
" fmdemod_quadri_novect_cf\n"
|
||||||
" deemphasis_wfm_ff <sample_rate> <tau>"
|
" deemphasis_wfm_ff <sample_rate> <tau>\n"
|
||||||
" deemphasis_nfm_ff <one_of_the_predefined_sample_rates>"
|
" deemphasis_nfm_ff <one_of_the_predefined_sample_rates>\n"
|
||||||
" amdemod_cf\n"
|
" amdemod_cf\n"
|
||||||
" amdemod_estimator_cf\n"
|
" amdemod_estimator_cf\n"
|
||||||
" fir_decimate_cc <decimation_factor> [transition_bw [window]]\n"
|
" fir_decimate_cc <decimation_factor> [transition_bw [window]]\n"
|
||||||
" firdes_lowpass_f <cutoff_rate> <length> [window [--octave]]\n"
|
" firdes_lowpass_f <cutoff_rate> <length> [window [--octave]]\n"
|
||||||
" firdes_bandpass_c <low_cut> <high_cut> <length> [window [--octave]]\n"
|
" firdes_bandpass_c <low_cut> <high_cut> <length> [window [--octave]]\n"
|
||||||
" agc_ff [hang_time [reference [attack_rate [decay_rate [max_gain [attack_wait [filter_alpha]]]]]]]\n"
|
" agc_ff [hang_time [reference [attack_rate [decay_rate [max_gain [attack_wait [filter_alpha]]]]]]]\n"
|
||||||
" fastagc_ff [block_size [reference]]"
|
" fastagc_ff [block_size [reference]]\n"
|
||||||
" rational_resampler_ff <interpolation> <decimation> [transition_bw [window]]\n"
|
" rational_resampler_ff <interpolation> <decimation> [transition_bw [window]]\n"
|
||||||
" fractional_decimator_ff <decimation_rate> [transition_bw [window]]\n"
|
" fractional_decimator_ff <decimation_rate> [transition_bw [window]]\n"
|
||||||
" fft_cc <fft_size> <out_of_every_n_samples> [window [--octave] [--benchmark]]\n"
|
" fft_cc <fft_size> <out_of_every_n_samples> [window [--octave] [--benchmark]]\n"
|
||||||
|
|
Loading…
Reference in a new issue