comparison gcc/loop-doloop.c @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Perform doloop optimizations 1 /* Perform doloop optimizations
2 Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, 2 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010
3 Inc. 3 Free Software Foundation, Inc.
4 Based on code by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz) 4 Based on code by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
289 289
290 start_sequence (); 290 start_sequence ();
291 op0 = force_operand (op0, NULL_RTX); 291 op0 = force_operand (op0, NULL_RTX);
292 op1 = force_operand (op1, NULL_RTX); 292 op1 = force_operand (op1, NULL_RTX);
293 label = block_label (dest); 293 label = block_label (dest);
294 do_compare_rtx_and_jump (op0, op1, code, 0, mode, NULL_RTX, NULL_RTX, label); 294 do_compare_rtx_and_jump (op0, op1, code, 0, mode, NULL_RTX,
295 NULL_RTX, label, -1);
295 296
296 jump = get_last_insn (); 297 jump = get_last_insn ();
297 if (!jump || !JUMP_P (jump)) 298 if (!jump || !JUMP_P (jump))
298 { 299 {
299 /* The condition is always false and the jump was optimized out. */ 300 /* The condition is always false and the jump was optimized out. */