Hi Jean-Marc,>I think it's worth trying the float version on your CPU. However, I >wouldn't be surprised if the fixed-point was still faster than float.ok, I'll try both configurations.>BTW, you can use --enable-arm5-asm instead of --enable-arm4-asm. While >both are currently almost the same, eventually it would be possible to >get better performance using the ARM5E DSP-like instructions.Unfortunately the core is 920T, thus it does not implement ARMv5 instruction set. As soon as I have a working MaverichCrunch-enabled tool chain, I'll post the results. Regards, llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2@dave-tech.it
llandre
2005-May-10 01:37 UTC
[Speex-dev] Cross-compiling with Cirrus Logic MaverickCrunch support
Hi Jean-Marc, I have the following problem when cross-building speex 1.1.7 with MaverickCrunch support. To add this support I had to define CPPFLAGS as follows: export CPPFLAGS='-mcpu=ep9312 -mfix-crunch-d1' but it seems libtool does not like it, while the object files are compiled fine: ... arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/home/llandre/devel/zephyr/sw/rootfs/usr/local/include/ogg -mcpu=ep9312 -mfix-crunch-d1 -g -O2 -c mdf.c -MT mdf.lo -MD -MP -MF .deps/mdf.TPlo -fPIC -DPIC -o .libs/mdf.o arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/home/llandre/devel/zephyr/sw/rootfs/usr/local/include/ogg -mcpu=ep9312 -mfix-crunch-d1 -g -O2 -c mdf.c -MT mdf.lo -MD -MP -MF .deps/mdf.TPlo -o mdf.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link arm-linux-gcc -g -O2 -o libspeex.la -rpath /usr/lib -version-info 3:0:2 nb_celp.lo sb_celp.lo lpc.lo ltp.lo lsp.lo quant_lsp.lo lsp_tables_nb.lo gain_table.lo gain_table_lbr.lo cb_search.lo filters.lo bits.lo modes.lo speex.lo vq.lo high_lsp_tables.lo vbr.lo hexc_table.lo exc_5_256_table.lo exc_5_64_table.lo exc_8_128_table.lo exc_10_32_table.lo exc_10_16_table.lo exc_20_32_table.lo hexc_10_32_table.lo misc.lo speex_header.lo speex_callbacks.lo math_approx.lo stereo.lo preprocess.lo smallft.lo lbr_48k_tables.lo jitter.lo mdf.lo -lm arm-linux-gcc -shared .libs/nb_celp.o .libs/sb_celp.o .libs/lpc.o .libs/ltp.o .libs/lsp.o .libs/quant_lsp.o .libs/lsp_tables_nb.o .libs/gain_table.o .libs/gain_table_lbr.o .libs/cb_search.o .libs/filters.o .libs/bits.o .libs/modes.o .libs/speex.o .libs/vq.o .libs/high_lsp_tables.o .libs/vbr.o .libs/hexc_table.o .libs/exc_5_256_table.o .libs/exc_5_64_table.o .libs/exc_8_128_table.o .libs/exc_10_32_table.o .libs/exc_10_16_table.o .libs/exc_20_32_table.o .libs/hexc_10_32_table.o .libs/misc.o .libs/speex_header.o .libs/speex_callbacks.o .libs/math_approx.o .libs/stereo.o .libs/preprocess.o .libs/smallft.o .libs/lbr_48k_tables.o .libs/jitter.o .libs/mdf.o -lm -Wl,-soname -Wl,libspeex.so.1 -o .libs/libspeex.so.1.2.0 /usr/local/arm/zaniah/d1/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/zaniah/d1/lib/gcc/arm-linux/3.4.0/crtbeginS.o uses Maverick instructions, whereas .libs/libspeex.so.1.2.0 does not File format not recognized: failed to merge target specific data of file /usr/local/arm/zaniah/d1/lib/gcc/arm-linux/3.4.0/crtbeginS.o ... What am I missing? Thanks in advance, llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2@dave-tech.it
Segher Boessenkool
2005-May-11 01:43 UTC
[Speex-dev] Cross-compiling with Cirrus Logic MaverickCrunch support
> I have the following problem when cross-building speex 1.1.7 with > MaverickCrunch support. To add this support I had to define CPPFLAGS > as follows: > > export CPPFLAGS='-mcpu=ep9312 -mfix-crunch-d1'You should set CFLAGS instead (or as well).> but it seems libtool does not like it, while the object files are > compiled fine:It's ld that complains, actually. Not _everything_ is libtool's fault (and this is pilot error anyway) ;-) Segher