[Bug target/67310] [PATCH] gcc 4.8.4 fails to compile with -march=native on VIA nano CPU
jol_indien at yahoo dot fr
gcc-bugzilla@gcc.gnu.org
Sun Aug 23 07:09:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67310
--- Comment #3 from jol_indien at yahoo dot fr ---
Here are two new patches, one for gcc 4.8.x versions (tested with 4.8.4 &
4.8.5), one for 4.9+ versions (tested with 4.9.3).
This patch is safer, support of VIA Nano based on CPU vendor name instead of
"has_longmode" in the previous one.
The 4.9+ patch also applies for gcc 5.x; unfortunately, for any reason, I
cannot get the "host_detect_local_cpu" function being called with gcc 5.2 as if
-march=native, -mcpu=native and -mtune=native options were ignored by the
compiler.
More information about the Gcc-bugs
mailing list