Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; Function get_x (get_x, funcdef_no=0, decl_uid=2698, cgraph_uid=1, symbol_order=1)
- starting the processing of deferred insns
- ending the processing of deferred insns
- df_analyze called
- insn_cost 4 for 5: r121:DI=high(`x')
- insn_cost 4 for 6: r119:DI=r121:DI+low(`x')
- REG_DEAD r121:DI
- REG_EQUAL `x'
- insn_cost 4 for 8: r123:DI=r119:DI+0x1
- REG_DEAD r119:DI
- REG_EQUAL const(`x'+0x1)
- rs6000_legitimate_address_p for (plus:DI (reg/f:DI 123)
- (const_int 7 [0x7])) : QI
- rs6000_legitimate_address_p for (reg/f:DI 123) : DI
- insn_cost 8 for 9: r124:DI=[r123:DI]
- REG_DEAD r123:DI
- insn_cost 4 for 14: r3:DI=r124:DI
- REG_DEAD r124:DI
- insn_cost 0 for 15: use r3:DI
- rs6000_legitimate_address_p for (reg/f:DI 123) : DI
- rs6000_legitimate_address_p for (plus:DI (reg/f:DI 119)
- (const_int 1 [0x1])) : DI
- NOT Legit
- rs6000_legitimate_address_p for (reg/f:DI 123) : DI
- rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
- (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
- (const_int 1 [0x1])) : DI
- NOT Legit
- rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
- (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
- (const_int 1 [0x1])) : DI
- NOT Legit
- rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
- (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
- (const_int 1 [0x1])) : DI
- NOT Legit
- rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
- (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
- (const_int 1 [0x1])) : DI
- NOT Legit
- rs6000_legitimate_address_p for (reg/f:DI 123) : DI
- rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1]))) : DI
- NOT Legit
- rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1]))) : DI
- NOT Legit
- allowing combination of insns 5, 6, 8 and 9
- original costs 4 + 4 + 4 + 8 = 20
- replacement costs 4 + 8 = 12
- deferring deletion of insn with uid = 6.
- deferring deletion of insn with uid = 5.
- modifying insn i2 8: r123:DI=high(const(`x'+0x1))
- deferring rescan insn with uid = 8.
- modifying insn i3 9: r124:DI=[r123:DI+low(const(`x'+0x1))]
- REG_DEAD r123:DI
- deferring rescan insn with uid = 9.
- rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) : DI
- rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])) : DI
- BAD
- NOT Legit
- rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1]))) : DI
- NOT Legit
- rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) : DI
- rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])) : DI
- BAD
- NOT Legit
- allowing combination of insns 9 and 14
- original costs 8 + 4 = 12
- replacement cost 8
- deferring deletion of insn with uid = 9.
- modifying insn i3 14: r3:DI=[r123:DI+low(const(`x'+0x1))]
- REG_DEAD r123:DI
- deferring rescan insn with uid = 14.
- rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) : DI
- rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])) : DI
- BAD
- NOT Legit
- rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1]))) : DI
- NOT Legit
- rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) : DI
- rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])) : DI
- BAD
- NOT Legit
- rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) : DI
- rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])) : DI
- BAD
- NOT Legit
- starting the processing of deferred insns
- rescanning insn with uid = 8.
- rescanning insn with uid = 14.
- ending the processing of deferred insns
- get_x
- Dataflow summary:
- ;; invalidated by call 0 [r0] 2 [r2] 3 [r3] 4 [r4] 5 [r5] 6 [r6] 7 [r7] 8 [r8] 9 [r9] 10 [r10] 11 [r11] 12 [r12] 13 [r13] 32 [f0] 33 [f1] 34 [f2] 35 [f3] 36 [f4] 37 [f5] 38 [f6] 39 [f7] 40 [f8] 41 [f9] 42 [f10] 43 [f11] 44 [f12] 45 [f13] 64 [v0] 65 [v1] 66 [v2] 67 [v3] 68 [v4] 69 [v5] 70 [v6] 71 [v7] 72 [v8] 73 [v9] 74 [v10] 75 [v11] 76 [v12] 77 [v13] 78 [v14] 79 [v15] 80 [v16] 81 [v17] 82 [v18] 83 [v19] 96 [lr] 97 [ctr] 98 [xer] 100 [cr0] 101 [cr1] 105 [cr5] 106 [cr6] 107 [cr7] 109 [vscr]
- ;; hardware regs used 1 [r1] 99 [ap] 109 [vscr] 110 [sfp]
- ;; regular block artificial uses 1 [r1] 30 [r30] 99 [ap] 110 [sfp]
- ;; eh block artificial uses 1 [r1] 30 [r30] 99 [ap] 110 [sfp]
- ;; entry block defs 1 [r1] 3 [r3] 4 [r4] 5 [r5] 6 [r6] 7 [r7] 8 [r8] 9 [r9] 10 [r10] 30 [r30] 33 [f1] 34 [f2] 35 [f3] 36 [f4] 37 [f5] 38 [f6] 39 [f7] 40 [f8] 41 [f9] 42 [f10] 43 [f11] 44 [f12] 45 [f13] 66 [v2] 67 [v3] 68 [v4] 69 [v5] 70 [v6] 71 [v7] 72 [v8] 73 [v9] 74 [v10] 75 [v11] 76 [v12] 77 [v13] 96 [lr] 99 [ap] 109 [vscr] 110 [sfp]
- ;; exit block uses 1 [r1] 3 [r3] 30 [r30] 108 [vrsave] 109 [vscr] 110 [sfp]
- ;; regs ever live 3 [r3]
- ;; ref usage r1={1d,2u} r3={2d,2u} r4={1d} r5={1d} r6={1d} r7={1d} r8={1d} r9={1d} r10={1d} r30={1d,2u} r33={1d} r34={1d} r35={1d} r36={1d} r37={1d} r38={1d} r39={1d} r40={1d} r41={1d} r42={1d} r43={1d} r44={1d} r45={1d} r66={1d} r67={1d} r68={1d} r69={1d} r70={1d} r71={1d} r72={1d} r73={1d} r74={1d} r75={1d} r76={1d} r77={1d} r96={1d} r99={1d,1u} r108={1u} r109={1d,1u} r110={1d,2u} r123={1d,1u}
- ;; total ref usage 53{41d,12u,0e} in 3{3 regular + 0 call} insns.
- (note 3 0 2 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
- (note 2 3 5 2 NOTE_INSN_FUNCTION_BEG)
- (note 5 2 6 2 NOTE_INSN_DELETED)
- (note 6 5 8 2 NOTE_INSN_DELETED)
- (insn 8 6 9 2 (set (reg/f:DI 123)
- (high:DI (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1]))))) "/source/test-ppc/pr65342-1.c":9:11 14 {macho_high_di}
- (nil))
- (note 9 8 14 2 NOTE_INSN_DELETED)
- (insn 14 9 15 2 (set (reg/i:DI 3 r3)
- (mem/c:DI (lo_sum:DI (reg/f:DI 123)
- (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
- (const_int 1 [0x1])))) [1 x.l+0 S8 A8])) "/source/test-ppc/pr65342-1.c":10:1 10 {movdi_low}
- (expr_list:REG_DEAD (reg/f:DI 123)
- (nil)))
- (insn 15 14 0 2 (use (reg/i:DI 3 r3)) "/source/test-ppc/pr65342-1.c":10:1 -1
- (nil))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement