I am trying to use some inline assembly but it won’t recognize any of the floating point instructions,
what are the correct flag to use both neon and vfp ?
SDK 5.1
QT Creator 4.6.2
arm-linux-gnueabihf-g++ (Linaro GCC 7.2-2017.11) 7.2.1 20171011
I have some code with neon intrinsics that seems to compile fine,
but this won’t ?
asm volatile (
"ldr %[db], s8 \n\t"
"ldr %[scale], s9 \n\t"
"fmov s11, #96.0 \n\t"
"fadd s8, s8, s9 \n\t"
{standard input}: Assembler messages:
{standard input}:2847: Error: bad instruction `fmov s11,#96.0'
{standard input}:2848: Error: bad instruction `fadd s8,s8,s9'
arm-linux-gnueabihf-g++ -c -include Meter1 -pipe -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/parallels/sitara/ti_sdk51/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi