[PATCH] Fix host processor identification for Sandy Bridge

Aaron Ballman aaron at aaronballman.com
Thu Mar 14 09:08:40 PDT 2013


On Mon, Mar 11, 2013 at 10:55 AM, Aaron Ballman <aaron at aaronballman.com> wrote:
> This patch addresses PR15351 by explicitly checking for AVX support
> when getting the host processor information.  Not all Sandy Bridge
> processors support AVX (such as the Pentium-based ones), so I am
> checking explicitly for AVX support when deciding which processor to
> report.
> I'm not entirely certain of how to make a lit test for this though, so
> suggestions are welcome.
> Thanks!
> ~Aaron

More information about the cfe-commits mailing list