This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: new MODES_WIDEN_P macro
- From: Ian Lance Taylor <ian at airs dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 23 Nov 2005 13:17:45 -0800
- Subject: Re: PATCH: new MODES_WIDEN_P macro
- References: <20051123034231.GA1023@ozlabs.au.ibm.com>
Ben Elliston <bje@au1.ibm.com> writes:
> 2005-11-23 Janis Johnson <janis187@us.ibm.com>
>
> * machmode.h (MODES_WIDEN_P): New macro.
> * optabs.c (expand_binop): Use MODES_WIDEN_P, improve formatting.
> (expand_twoval_unop): Likewise.
> (widen_clz): Likewise.
> (expand_parity): Likewise.
> (expand_unop): Likewise.
> (emit_cmp_and_jmp_insn_1): Likewise.
> (prepare_float_lib_cmp): Likewise.
I think I would like to see the macro named CLASS_HAS_WIDER_MODES_P
instead of MODES_WIDEN_P.
If that is OK with you, then the patch is approved with that change.
Ian