This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386] PR 57927: -march=core-avx2 different than -march=native on INTEL Haswell (i7-4700K)


Hello!

> As reported in [1] the host processor detection has not yet been updated
> to recognize Intel Ivy Bridge and Haswell processors.
> This small patch adds the detection of these processors and assumes
> core-avx2 as march for unknown processors of the PENTIUMPRO family that
> support AVX2.

I have committed slightly improved (attached) patch that uses
core-avx-i for IvyBridge and adds another IvyBridge model number.
While there, I also reordered a bunch  of statements.

Thanks,
Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]