i386.c (expand_vec_perm_movs): Enable V4SFmode for TARGET_SSE.

* config/i386/i386.c (expand_vec_perm_movs): Enable V4SFmode
	for TARGET_SSE.

From-SVN: r263567
This commit is contained in:
Uros Bizjak 2018-08-15 21:34:26 +02:00 committed by Uros Bizjak
parent b479fbad24
commit 0c8956e09a
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2018-08-15 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (expand_vec_perm_movs): Enable V4SFmode
for TARGET_SSE.
2018-08-15 David Malcolm <dmalcolm@redhat.com> 2018-08-15 David Malcolm <dmalcolm@redhat.com>
* common.opt (fdiagnostics-show-labels): New option. * common.opt (fdiagnostics-show-labels): New option.

View File

@ -113,7 +113,7 @@ _mm_setzero_pd (void)
extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__)) extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_mm_move_sd (__m128d __A, __m128d __B) _mm_move_sd (__m128d __A, __m128d __B)
{ {
return __extension__ (__m128d) __builtin_shuffle((__v2df)__A, (__v2df)__B, (__v2di){2, 1}); return __extension__ (__m128d) __builtin_shuffle ((__v2df)__A, (__v2df)__B, (__v2di){2, 1});
} }
/* Load two DPFP values from P. The address must be 16-byte aligned. */ /* Load two DPFP values from P. The address must be 16-byte aligned. */

View File

@ -46157,9 +46157,8 @@ expand_vec_perm_movs (struct expand_vec_perm_d *d)
if (d->one_operand_p) if (d->one_operand_p)
return false; return false;
if (TARGET_SSE2 && (vmode == V2DFmode || vmode == V4SFmode)) if (!(TARGET_SSE && vmode == V4SFmode)
; && !(TARGET_SSE2 && vmode == V2DFmode))
else
return false; return false;
/* Only the first element is changed. */ /* Only the first element is changed. */