Re: Using inline NEON code

2010-12-03 Thread Dave Martin
Hi, On Thu, Dec 2, 2010 at 9:49 PM, Michael Hope wrote: > Hi there.  Currently you can't use NEON instructions in inline > assembly if the compiler is set to -mfpu=vfp such as Ubuntu's > -mfpu=vfpv3-d16.  Trying code like this: > > int main() > { >   asm("veor d1, d2, d3"); >   return 0; > } > >

Re: Using inline NEON code

2010-12-03 Thread Richard Earnshaw
On Fri, 2010-12-03 at 10:49 +1300, Michael Hope wrote: > Hi there. Currently you can't use NEON instructions in inline > assembly if the compiler is set to -mfpu=vfp such as Ubuntu's > -mfpu=vfpv3-d16. Trying code like this: > > int main() > { >asm("veor d1, d2, d3"); >return 0; > } > >

Re: Using inline NEON code

2010-12-02 Thread The Rasterman
On Fri, 3 Dec 2010 10:49:29 +1300 Michael Hope said: > Hi there. Currently you can't use NEON instructions in inline > assembly if the compiler is set to -mfpu=vfp such as Ubuntu's > -mfpu=vfpv3-d16. Trying code like this: > > int main() > { >asm("veor d1, d2, d3"); >return 0; > } > >

Using inline NEON code

2010-12-02 Thread Michael Hope
Hi there. Currently you can't use NEON instructions in inline assembly if the compiler is set to -mfpu=vfp such as Ubuntu's -mfpu=vfpv3-d16. Trying code like this: int main() { asm("veor d1, d2, d3"); return 0; } gives an error message like: test.s: Assembler messages: test.s:29: Error: