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/50829] avx extra copy for _mm256_insertf128_pd


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |areg.melikadamyan at gmail
                   |                            |dot com, hjl.tools at gmail
                   |                            |dot com

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-01 20:26:32 UTC ---
(In reply to comment #10)
> Created attachment 28846 [details]
> Use subreg
> 
> Hmm, I don't understand why we use UNSPEC_CAST. I tried the attached patch to
> use a subreg instead. It passed bootstrap+testsuite and generates optimal code
> for the testcase of this PR.
> 
> So, any idea what advantage the unspec has over a subreg? And if none, what is
> the best way to use a subreg?

subreg didn't work before.


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