This is the mail archive of the gcc-bugs@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]

[Bug target/66925] [4.9 optimization regression] _mm_cvtsi32_si128 spilling to memory


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.


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