On Thu, Dec 26, 2013 at 2:25 PM, H.J. Lu <hongjiu...@intel.com> wrote:
> After my Intel processor name cleanup, > > __attribute__ ((target("arch=corei7"))) is translated to PROCESSOR_NEHALEM > mapped to M_INTEL_COREI7_NEHALEM. We used to hav > > e __attribute__ ((target("arch=corei7"))) > > to cover M_INTEL_COREI7_XXXX. Now it only covers M_INTEL_COREI7_NEHALEM. > We have PROCESSOR_SANDYBRIDGE and PROCESSOR_HASWELL. But there is nothing > to mark Westmere and Ivy Bridge. Since function versioning doesn't support > extra ISAs in Westmere and Ivy Bridge, we don't lose anything. The solution > is to map > > __attribute__ ((target("arch=corei7"))) > > and > > __attribute__ ((target("arch=nehalem"))) > > to M_INTEL_COREI7. I tested mv14.C and mv15.C on Nehalem, Westmere, > Sandy Bride and Ivy Bridge. OK to install? > > gcc/ > > 2013-12-26 H.J. Lu <hongjiu...@intel.com> > > PR target/59601 > * config/i386/i386.c (get_builtin_code_for_version): Map > PROCESSOR_NEHALEM to "corei7". > > gcc/testsuite/ > > 2013-12-26 Uros Bizjak <ubiz...@gmail.com> > H.J. Lu <hongjiu...@intel.com> > > PR target/59601 > * g++.dg/ext/mv14.C: New tests. > * g++.dg/ext/mv15.C: Likewise. OK. Thanks, Uros.