https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116854
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |SUSPENDED --- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> --- Also, the table at [1] says that bdver4 (Excavator) architecture supports AVIC, BMI2, RDRAND, and MWAITX/MONITORX. IMO, the situation is different with -maes and -march=westmere/-march=haswell (comment #5). In -maes case, the manufacturer (Intel) claimed that some SKUs don't support the feature, while in our case manufacturer (AMD) posted the patch where it claims that the feature is always supported for the referred arch. For some reason the OPs target doesn't support all required ISAs (probably due to comment #2), so it is in some way an outlier. We won't penalize the target because of a single outlier, unless we get the confirmation from the manufacturer (AMD) that some SKUs are indeed released without the mentioned ISA (as was the case with -maes). As a workaround, the OP should compile with "-march=bdver4 -mno-rdrnd". Suspended until someone provides the required confirmation from the manufacturer (AMD). [1] https://en.wikipedia.org/wiki/Excavator_(microarchitecture)