This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] improve bfin conditional move support
- From: Richard Henderson <rth at redhat dot com>
- To: "Henderson, Stuart" <Stuart dot Henderson at analog dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Mar 2011 10:29:20 -0700
- Subject: Re: [Patch] improve bfin conditional move support
- References: <05E9E85E39C35B4D96ED3A3190E35A10A2E0EE3CA5@LIMKCMBX1.ad.analog.com>
On 03/29/2011 05:57 AM, Henderson, Stuart wrote:
> - operands[1] = bfin_gen_compare (operands[1], SImode);
> + operands[1] = bfin_gen_compare (operands[1], GET_MODE (operands[0]));
FWIW, you can use "<MODE>mode" to get the proper value
without having to read it from the operand.
r~