diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | 2011-08-15 11:57:33 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2011-08-15 11:57:33 +0000 |
commit | 3598da80668da2ebf4098529b8f298800997776c (patch) | |
tree | e91b0dcd35aaa0b0f0cafdec443fcc708f28854e /gcc/fold-const.c | |
parent | e7d4e45e2e4f102eb479a56ee73b312c70a4f91b (diff) | |
download | gcc-3598da80668da2ebf4098529b8f298800997776c.zip gcc-3598da80668da2ebf4098529b8f298800997776c.tar.gz gcc-3598da80668da2ebf4098529b8f298800997776c.tar.bz2 |
re PR target/50022 ("incorrect condition in IT block" when building mozilla code base for ARM)
2011-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/50022
* config/arm/arm.c (output_move_double): Add 2 parameters
to count the number of insns emitted and whether to emit or not.
Use the flag to decide when to emit and count number of instructions
that will be emitted.
Handle case where output_move_double might be called for calculating
lengths with an invalid constant.
(arm_count_output_move_double_insns): Define.
* config/arm/arm-protos.h (arm_count_output_move_double_insns): Declare.
(output_move_double): Adjust prototype.
* config/arm/vfp.md ("*movdi_vfp"): Adjust call to
output_move_double.
("*movdi_vfp_cortexa8"): Likewise and add attribute
for ce_count.
* config/arm/arm.md ("*arm_movdi"): Adjust call to output_move_double.
("*movdf_soft_insn"): Likewise.
* config/arm/cirrus.md ("*cirrus_arm_movdi"): Likewise.
("*cirrus_thumb2_movdi"): Likewise.
("*thumb2_cirrus_movdf_hard_insn"): Likewise.
("*cirrus_movdf_hard_insn"): Likewise.
* config/arm/neon.md (*neon_mov<mode> VD): Likewise.
* config/arm/iwmmxt.md ("*iwmmxt_arm_movdi"): Likewise.
("mov<mode>_internal VMMX"): Likewise.
* config/arm/fpa.md (*movdf_fpa, *thumb2_movdf_fpa): Likewise.
From-SVN: r177759
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions