From f47eba7d7d4c6a1d9501e027b63bbab04bb7d417 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 30 Mar 2017 23:31:39 +0000 Subject: add NEON optimization --- gtk/Makefile.am | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'gtk/Makefile.am') diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 174f5e9..0a9a95b 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1,11 +1,12 @@ bin_PROGRAMS=fmplayer LIBOPNA_SRC=../libopna/opnaadpcm.c \ - ../libopna/opnadrum.c \ - ../libopna/opnafm.c \ - ../libopna/opnassg.c \ - ../libopna/opnatimer.c \ - ../libopna/opna.c + ../libopna/opnadrum.c \ + ../libopna/opnafm.c \ + ../libopna/opnassg.c \ + ../libopna/opnassg-sinc-c.c \ + ../libopna/opnatimer.c \ + ../libopna/opna.c FMDRIVER_SRC=../fmdriver/fmdriver_fmp.c \ ../fmdriver/fmdriver_pmd.c \ @@ -13,9 +14,16 @@ FMDRIVER_SRC=../fmdriver/fmdriver_fmp.c \ ../fmdriver/ppz8.c FMDSP_SRC=../fmdsp/fmdsp.c \ + ../fmdsp/fmdsp-vramlookup-c.c \ ../fmdsp/font_rom.c \ ../fmdsp/font_fmdsp_small.c +if ENABLE_NEON +LIBOPNA_SRC+=../libopna/opnassg-sinc-neon.s +FMDSP_SRC+=../fmdsp/fmdsp-vramlookup-neon.s +fmplayer_CCASFLAGS=-march=armv8-a -mfpu=crypto-neon-fp-armv8 +endif + fmplayer_SOURCES=main.c \ toneview.c \ oscilloview.c \ -- cgit v1.2.3