arm - gcc; arm64; aarch64; unrecognized command line option '-mfpu=neon' -
i got compilation error:
unrecognized command line option '-mfpu=neon'
when tried compile -mfpu=neon flag. actually, 'mfpu' options tried failed. in documentation flag mentioned, should valid
what wrong key? how tell compiler use neon?
linaro gnu aarch64 linux tools 4.8 used.
thanks.
advanced simd (aka neon) mandatory aarch64, no command line option needed instruct compiler use neon.
if want enable auto vectorization optimisations compiler automatically uses neon instructions, compile -o3 or -o2 -ftree-vectorize.
the aarch64 , arm backends separate in gcc. arm end targets traditional 32 bit arm instructions sets (arm, thumb, thumb-2). in contrast situation x86, 32 bit , 64 bit code generation combined single gcc end.
Comments
Post a Comment