https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67278

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 1 Mar 2016, ubizjak at gmail dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67278
> 
> --- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
> (In reply to Richard Biener from comment #4)
> > CCing Uros for the followup ICE.  Apply
> 
> Following patch should fix the ICE:
> 
> --cut here--
> Index: config/i386/i386.c
> ===================================================================
> --- config/i386/i386.c  (revision 233864)
> +++ config/i386/i386.c  (working copy)
> @@ -7794,6 +7794,10 @@ type_natural_mode (const_tree type, const CUMULATI
>         {
>           machine_mode innermode = TYPE_MODE (TREE_TYPE (type));
> 
> +         /* There are no XFmode vector modes.  */
> +         if (innermode == XFmode)
> +           return mode;
> +

Are there TFmode vector modes?  Yes, insn-modes.h says so at least.
No V1<float>modes there though, just V1<int>modes.

Will you test this or shall I?

>           if (TREE_CODE (TREE_TYPE (type)) == REAL_TYPE)
>             mode = MIN_MODE_VECTOR_FLOAT;
>           else
> --cut here--

Reply via email to