Commit 0c8956e0 by Uros Bizjak Committed by Uros Bizjak

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
parent b479fbad
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.
......
...@@ -113,7 +113,7 @@ _mm_setzero_pd (void) ...@@ -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. */
......
...@@ -46157,9 +46157,8 @@ expand_vec_perm_movs (struct expand_vec_perm_d *d) ...@@ -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. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment