https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117766

--- Comment #3 from Tom Lane <tgl at sss dot pgh.pa.us> ---
No go on fpu=auto, at least on the NetBSD platform:

$ gcc -c -march=armv8-a -mfpu=auto foo.c
cc1: error: '-mfloat-abi=hard': selected processor lacks an FPU

The simd method does work to stop the error:

$ gcc -c -march=armv8-a+simd foo.c

but I suspect it licenses the compiler to emit more than I want it to.

Reply via email to