This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [11/77] Add a float_mode_for_size helper function
- 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, 11 Aug 2017 12:13:12 -0600
- Subject: Re: [11/77] Add a float_mode_for_size helper function
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.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 B930B66199
- References: <8760ewohsv.fsf@linaro.org> <87tw2glocz.fsf@linaro.org>
On 07/13/2017 02:42 AM, Richard Sandiford wrote:
> This provides a type-safe way to ask for a float mode and get it as a
> scalar_float_mode.
>
> 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_float_mode): New typedef.
> * machmode.h (float_mode_for_size): New function.
> * emit-rtl.c (double_mode): Delete.
> (init_emit_once): Use float_mode_for_size.
> * stor-layout.c (layout_type): Likewise.
> * gdbhooks.py (build_pretty_printer): Handle opt_scalar_float_mode.
OK.
jeff