[LLVMbugs] [Bug 15712] inefficient code generation for 128-bit->256-bit typecast intrinsics

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 27 02:28:31 PST 2015


Rafael Ávila de Espíndola <rafael.espindola at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> ---

__m256i f1(__m128i x) {
  return _mm256_castsi128_si256(x);
__m256 f2(__m128 x) {
  return _mm256_castps128_ps256(x);
__m256d f3(__m128d x) {
  return _mm256_castpd128_pd256(x);

clang trunk produces:

0000000000000000    retq
0000000000000001    retq
0000000000000002    retq

So this was fixed along the way.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150127/7896ac51/attachment.html>

More information about the llvm-bugs mailing list