This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Tests For ARM/Neon


Paul Brook wrote:
 arm-rtems4.9-gcc -mfpu=neon -mfloat-abi=softfp -mcpu=arm7tdmi -c
test_neon.c

#if !defined(__ARM_NEON__)
#error "Neon not supported"
#endif

void neon_code(void)
{
asm volatile ("vldr d18,[fp,#-32]");
}

Works fine here. Either your assembler is busted, or there is something else
you're not telling us about.
I assume based on your next post that you tried this with
an EABI arm target not a simple arm-elf one?

--joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]