http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59422
Bug ID: 59422 Summary: Support more targets for function multi versioning Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linux at carewolf dot com Created attachment 31399 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31399&action=edit Patch Trying to compile a function with an "xop" multiversion fails with a "No dispatcher found for xop" error message. Similarly newer x86 architectures are not detected. Patch attached. Adds support for haswell, silvermount, and the most recent amd models. It also prioritizes AVX2 versions over AMD specific version pre-AVX2.