Hi,
this improves the RTL generated for multi-word comparison to avoid generating
useless branches. In do_jump_by_parts_greater_rtx:
1) do not generate the last cond jump,
2) do not generate the uncond branch to the drop-through label, if any,
3) generate only one comparison for the
On 03/24/2011 07:38 AM, Eric Botcazou wrote:
+ /* Deal with the special case 0 x: only one comparison is necessary and
+ we reverse it to avoid jumping to the drop-through label. */
+ if (op0 == const0_rtx drop_through_if_true !drop_through_if_false)
+{
+ code = LE;
+