ct: Re: [Patch] improve bfin conditional move support
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" to get the proper value
wit
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" to get the proper value
without having to read it from the operand.
r~
On 03/29/2011 02:57 PM, Henderson, Stuart wrote:
> I don't have write permissions.
You'll need to get that fixed. See
http://gcc.gnu.org/svnwrite.html
That page makes it sound like any maintainer can sponsor access, so
please use my name for it.
Bernd
The attached patch improves conditional move mode support for Blackfin.
2011-03-29 Stuart Henderson
From Bernd Schmidt:
* config/bfin/bfin.md (MOVCC): New mode_macro.
(movcc_insn1, movcc_insn2, movcc): Renamed from
movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remov