This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [71/77] Use opt_scalar_mode for mode iterators
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Fri, 25 Aug 2017 10:43:08 -0600
- Subject: Re: [71/77] Use opt_scalar_mode for mode iterators
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9B7EA8124F
- References: <8760ewohsv.fsf@linaro.org> <87mv88bte8.fsf@linaro.org>
On 07/13/2017 03:03 AM, Richard Sandiford wrote:
> This patch uses opt_scalar_mode when iterating over scalar modes.
>
> 2017-07-13 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * coretypes.h (opt_scalar_mode): New typedef.
> * gdbhooks.py (build_pretty_printers): Handle it.
> * machmode.h (mode_iterator::get_2xwider): Add overload for
> opt_mode<T>.
> * emit-rtl.c (init_emit_once): Use opt_scalar_mode when iterating
> over scalar modes.
> * expr.c (convert_mode_scalar): Likewise.
> * omp-low.c (omp_clause_aligned_alignment): Likewise.
> * optabs.c (expand_float): Likewise.
> (expand_fix): Likewise.
> * tree-vect-stmts.c (vectorizable_conversion): Likewise.
>
> gcc/c-family/
> * c-common.c (c_common_fixed_point_type_for_size): Use opt_scalar_mode
> for the mode iterator.
OK.
jeff