[Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Oct 28 10:33:00 GMT 2019


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

--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> ---
On Fri, 25 Oct 2019, ubizjak at gmail dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92225
> 
> --- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
> (In reply to Uroš Bizjak from comment #6)
> > This. V2DImode of REDUC_SSE_SMINMAX_MODE should be conditional on
> > TARGET_SSE4_2.
> 
> --cut here--
> diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
> index 403e91d4b176..245cb522321c 100644
> --- a/gcc/config/i386/sse.md
> +++ b/gcc/config/i386/sse.md
> @@ -2771,7 +2771,7 @@
>  ;; Modes handled by reduc_sm{in,ax}* patterns.
>  (define_mode_iterator REDUC_SSE_SMINMAX_MODE
>    [(V4SF "TARGET_SSE") (V2DF "TARGET_SSE")
> -   (V2DI "TARGET_SSE") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE")
> +   (V2DI "TARGET_SSE4_2") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE")
>     (V16QI "TARGET_SSE")])
> 
>  (define_expand "reduc_<code>_scal_<mode>"
> --cut here--

Will you do the fix?


More information about the Gcc-bugs mailing list