This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: invalid GET_MODE_WIDER_MODE assumption
- From: Richard Henderson <rth at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 31 May 2005 10:42:48 -0700
- Subject: Re: invalid GET_MODE_WIDER_MODE assumption
- References: <200505280303.j4S33ij5006487@greed.delorie.com>
On Fri, May 27, 2005 at 11:03:44PM -0400, DJ Delorie wrote:
> @@ -7747,7 +7747,7 @@ expand_expr_real_1 (tree exp, rtx target
> optab other_optab = zextend_p ? smul_widen_optab : umul_widen_optab;
> this_optab = zextend_p ? umul_widen_optab : smul_widen_optab;
>
> - if (mode == GET_MODE_WIDER_MODE (innermode))
> + if (mode == GET_MODE_2XWIDER_MODE (innermode))
Is inventing GET_MODE_2XWIDER_MODE easier than just searching?
Or are you planning to use this elsewhere?
r~