[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [arm-gnu] Advanced SIMD instruction support
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] Advanced SIMD instruction support
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Tue, 16 Sep 2008 22:46:56 +0100
> > I tried using this instruction but I get another error while assembling;
> > viz, "Error: selected FPU does not support instruction -- 'msr
> > fpexc,r1'". We pass the following options to the compiler / assembler :
> > -march=armv7a
> > -mfpu=neon
>
> Empirically, you also need the "-mfloat-abi=softfp" to gcc. With that,
> I can compile this:
>
> void f() {
> asm ("msr fpexc, r1");
> }
>
> Paul, is that what you'd expect?
Yes.
I'm still a bit confused why you're doing this at all though. The Linux kernel
already has NEON support. You shouldn't need to add anything.
Paul
|