This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: new MODES_WIDEN_P macro


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]