URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000827-1.c.45.bbro] - Rev 12
Compare with Previous | Blame | View Log
;; Function foo (foo)
try_optimize_cfg iteration 1
try_optimize_cfg iteration 1
STC - round 1
Getting bb 0
Basic block 0 was visited in trace 0
Possible start of this round: 1 (key: -1900000)
Getting bb 1
Basic block 1 was visited in trace 1
Possible start of this round: 2 (key: -1100)
Changing key for bb 2 from -1100 to -1111100.
Getting bb 2
Basic block 2 was visited in trace 2
STC - round 2
STC - round 3
STC - round 4
Trace 1 (round 1): 0 [1100]
Trace 2 (round 1): 1 [10000]
Trace 3 (round 1): 2 [1100]
Connection: 0 1
Connection: 1 2
Final order:
0 1 2
3 basic blocks, 5 edges.
Basic block 0 prev -1, next 1, loop_depth 0, count 0, freq 1100, maybe hot.
Predecessors: ENTRY [100.0%] (fallthru)
Successors: 1 [100.0%] (fallthru,can_fallthru)
Registers live at start: 12 [r12]
Registers live at end: 1 [r1] 12 [r12] 16 [cc]
Basic block 1 prev 0, next 2, loop_depth 1, count 0, freq 10000, maybe hot.
Predecessors: 0 [100.0%] (fallthru,can_fallthru) 1 [89.0%] (dfs_back,can_fallthru)
Successors: 1 [89.0%] (dfs_back,can_fallthru) 2 [11.0%] (fallthru,can_fallthru,loop_exit)
Registers live at start: 1 [r1] 12 [r12] 16 [cc]
Registers live at end: 1 [r1] 12 [r12] 16 [cc]
Basic block 2 prev 1, next -2, loop_depth 0, count 0, freq 1100, maybe hot.
Predecessors: 1 [11.0%] (fallthru,can_fallthru,loop_exit)
Successors: EXIT [100.0%] (fallthru,can_fallthru)
Registers live at start: 1 [r1] 12 [r12]
Registers live at end: 0 [r0] 12 [r12]
Reordered sequence:
0 bb 0 [1100]
1 bb 1 [10000]
2 bb 2 [1100]
try_optimize_cfg iteration 1
(note 2 0 7 NOTE_INSN_DELETED)
(note 7 2 50 NOTE_INSN_FUNCTION_BEG)
;; Start of basic block 0, registers live: 12 [r12]
(note 50 7 45 0 [bb 0] NOTE_INSN_BASIC_BLOCK)
(insn 45 50 46 0 (set (reg/v:SI 1 r1 [orig:23 a ] [23])
(asm_operands:SI ("") ("=r") 0 []
[] ("gcc/testsuite/gcc.c-torture/compile/20000827-1.c") 13)) -1 (nil)
(nil))
(insn 46 45 57 0 (set (reg/v:QI 0 r0 [orig:22 b ] [22])
(asm_operands:QI ("") ("=r") 0 []
[] ("gcc/testsuite/gcc.c-torture/compile/20000827-1.c") 13)) -1 (nil)
(nil))
(insn 57 46 47 0 (set (reg:SI 2 r2)
(const_int 24 [0x18])) 13 {*movsi} (nil)
(nil))
(insn 47 57 48 0 (set (reg:SI 0 r0 [26])
(ashift:SI (reg:SI 0 r0 [orig:22 b ] [22])
(reg:SI 2 r2))) 32 {ashlsi3} (insn_list:REG_DEP_TRUE 46 (nil))
(nil))
(insn 48 47 49 0 (set (reg:SI 0 r0 [26])
(ashiftrt:SI (reg:SI 0 r0 [26])
(reg:SI 2 r2))) 31 {ashrsi3} (insn_list:REG_DEP_TRUE 47 (nil))
(expr_list:REG_DEAD (reg:SI 2 r2)
(nil)))
(insn 49 48 41 0 (set (reg:CC 16 cc)
(compare:CC (reg:SI 0 r0 [26])
(const_int 0 [0x0]))) 36 {cmpsi} (insn_list:REG_DEP_TRUE 48 (nil))
(expr_list:REG_DEAD (reg:SI 0 r0 [26])
(nil)))
;; End of basic block 0, registers live:
1 [r1] 12 [r12] 16 [cc]
(note 41 49 12 NOTE_INSN_LOOP_BEG)
;; Start of basic block 1, registers live: 1 [r1] 12 [r12] 16 [cc]
(code_label 12 41 13 1 3 "" [1 uses])
(note 13 12 21 1 [bb 1] NOTE_INSN_BASIC_BLOCK)
(jump_insn 21 13 42 1 (set (pc)
(if_then_else (eq (reg:CC 16 cc)
(const_int 0 [0x0]))
(label_ref:SI 12)
(pc))) 38 {beq} (nil)
(expr_list:REG_BR_PROB (const_int 8900 [0x22c4])
(nil)))
;; End of basic block 1, registers live:
1 [r1] 12 [r12] 16 [cc]
(note 42 21 27 NOTE_INSN_LOOP_END)
(note 27 42 23 NOTE_INSN_FUNCTION_END)
;; Start of basic block 2, registers live: 1 [r1] 12 [r12]
(note 23 27 30 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
(insn 30 23 36 2 (set (reg/i:SI 0 r0 [ <result> ])
(reg/v:SI 1 r1 [orig:23 a ] [23])) 13 {*movsi} (nil)
(expr_list:REG_DEAD (reg/v:SI 1 r1 [orig:23 a ] [23])
(nil)))
(insn 36 30 56 2 (use (reg/i:SI 0 r0 [ <result> ])) -1 (insn_list:REG_DEP_TRUE 30 (nil))
(nil))
;; End of basic block 2, registers live:
0 [r0] 12 [r12]
(note 56 36 0 NOTE_INSN_DELETED)