This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66925] [4.9 optimization regression] _mm_cvtsi32_si128 spilling to memory
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 18 Jul 2015 15:04:55 +0000
- Subject: [Bug target/66925] [4.9 optimization regression] _mm_cvtsi32_si128 spilling to memory
- Auto-submitted: auto-generated
- References: <bug-66925-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66925
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> Some processors moving between the GPR via vmovd is slower than moving via
> memory. So that is the reason why using -march=sandybridge or
> -march=ivybridge makes the issue go away.
You can also use -mtune=intel.