This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
arm926ej-s dsp asm instructions
- From: Victor Librado <vlibrado at bioingenieria dot es>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Mar 2007 16:49:34 +0200
- Subject: arm926ej-s dsp asm instructions
Hello all,
I`m working with an arm core 9260EJ-S under Linux (Linux kernel 2.6.15;
armv5l-linux toolchain). I would like to take advantage of the asm DSP
like functions the core provides. Compiler don´t uses them (in the .S
file generated), can it be configured (a directive include in the
makefile, in the source...) the gcc to use these asm DSP functions
automatically providing so a much efficient and better arm code?
With gcc4.1.2 version compile this way:
arm-linux-gnu-gcc-4.1 -v -msoft-float -mcpu=arm926ej-s -S mul.c -o mul.o
Any idea or configuration of the gcc to get it working efficiently and
optimized for this arm core?
Thanks in advance.
------------------------------------------------------------------------