This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Add a new argument to SELECT_CC_MODE
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jie Zhang <jie at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Feb 2011 21:08:32 +0100
- Subject: Re: [RFC] Add a new argument to SELECT_CC_MODE
- References: <4D4D94D1.4040606@codesourcery.com>
> When combine pass combines the above instructions, it calls
> SELECT_CC_MODE to select a proper mode for code GE and two operands:
> (reg:SF x) and (reg:SF y). The problem is the original information (no
> exception) contained in CCFPmode is lost, so CCFPEmode is chosen.
What has been changed in simplify_set before the call to SELECT_CC_MODE? That
is, I presume that OP0 and OP1 haven't been changed, but what about NEW_CODE?
If nothing has been changed, we can probably skip the call to SELECT_CC_MODE.
--
Eric Botcazou