[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Dec 26 14:47:15 2013 New Revision: 206212 URL: http://gcc.gnu.org/viewcvs?rev=206212&root=gcc&view=rev Log: Map "arch=corei7"/"arch=nehalem" to M_INTEL_COREI7 After Intel proce

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 --- Comment #4 from H.J. Lu --- Before my cleanup, get_builtin_code_for_version had switch (new_target->arch) { case PROCESSOR_CORE2: arg_str = "core2"; priority = P_PROC_SSSE3;

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 --- Comment #2 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #1) > mv1.C failure migh be a testcase problem. However, the testcase works for me > on ivybridge, which is also corei7 arch with popcnt. It also fails for me if I remove

[Bug target/59601] [4.9 Regression] __attribute__ ((target("arch=corei7"))) won't match Westmere processor

2013-12-26 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601 --- Comment #1 from Uroš Bizjak --- (In reply to H.J. Lu from comment #0) > 1. No change. __attribute__ ((target("arch=corei7"))) won't > match Westmere and function won't be optimized for Westmere. > 2. Make PROCESSOR_NEHALEM to match "corei7"