Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. ;; Function get_x (get_x, funcdef_no=0, decl_uid=2698, cgraph_uid=1, symbol_order=1)
  2.  
  3. starting the processing of deferred insns
  4. ending the processing of deferred insns
  5. df_analyze called
  6. insn_cost 4 for 5: r121:DI=high(`x')
  7. insn_cost 4 for 6: r119:DI=r121:DI+low(`x')
  8. REG_DEAD r121:DI
  9. REG_EQUAL `x'
  10. insn_cost 4 for 8: r123:DI=r119:DI+0x1
  11. REG_DEAD r119:DI
  12. REG_EQUAL const(`x'+0x1)
  13. rs6000_legitimate_address_p for (plus:DI (reg/f:DI 123)
  14. (const_int 7 [0x7])) : QI
  15. rs6000_legitimate_address_p for (reg/f:DI 123) : DI
  16. insn_cost 8 for 9: r124:DI=[r123:DI]
  17. REG_DEAD r123:DI
  18. insn_cost 4 for 14: r3:DI=r124:DI
  19. REG_DEAD r124:DI
  20. insn_cost 0 for 15: use r3:DI
  21. rs6000_legitimate_address_p for (reg/f:DI 123) : DI
  22. rs6000_legitimate_address_p for (plus:DI (reg/f:DI 119)
  23. (const_int 1 [0x1])) : DI
  24. NOT Legit
  25. rs6000_legitimate_address_p for (reg/f:DI 123) : DI
  26. rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
  27. (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
  28. (const_int 1 [0x1])) : DI
  29. NOT Legit
  30. rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
  31. (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
  32. (const_int 1 [0x1])) : DI
  33. NOT Legit
  34. rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
  35. (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
  36. (const_int 1 [0x1])) : DI
  37. NOT Legit
  38. rs6000_legitimate_address_p for (plus:DI (lo_sum:DI (reg/f:DI 121)
  39. (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>))
  40. (const_int 1 [0x1])) : DI
  41. NOT Legit
  42. rs6000_legitimate_address_p for (reg/f:DI 123) : DI
  43. rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  44. (const_int 1 [0x1]))) : DI
  45. NOT Legit
  46. rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  47. (const_int 1 [0x1]))) : DI
  48. NOT Legit
  49. allowing combination of insns 5, 6, 8 and 9
  50. original costs 4 + 4 + 4 + 8 = 20
  51. replacement costs 4 + 8 = 12
  52. deferring deletion of insn with uid = 6.
  53. deferring deletion of insn with uid = 5.
  54. modifying insn i2 8: r123:DI=high(const(`x'+0x1))
  55. deferring rescan insn with uid = 8.
  56. modifying insn i3 9: r124:DI=[r123:DI+low(const(`x'+0x1))]
  57. REG_DEAD r123:DI
  58. deferring rescan insn with uid = 9.
  59. rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
  60. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  61. (const_int 1 [0x1])))) : DI
  62. rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  63. (const_int 1 [0x1])) : DI
  64. BAD
  65. NOT Legit
  66. rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  67. (const_int 1 [0x1]))) : DI
  68. NOT Legit
  69. rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
  70. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  71. (const_int 1 [0x1])))) : DI
  72. rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  73. (const_int 1 [0x1])) : DI
  74. BAD
  75. NOT Legit
  76. allowing combination of insns 9 and 14
  77. original costs 8 + 4 = 12
  78. replacement cost 8
  79. deferring deletion of insn with uid = 9.
  80. modifying insn i3 14: r3:DI=[r123:DI+low(const(`x'+0x1))]
  81. REG_DEAD r123:DI
  82. deferring rescan insn with uid = 14.
  83. rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
  84. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  85. (const_int 1 [0x1])))) : DI
  86. rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  87. (const_int 1 [0x1])) : DI
  88. BAD
  89. NOT Legit
  90. rs6000_legitimate_address_p for (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  91. (const_int 1 [0x1]))) : DI
  92. NOT Legit
  93. rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
  94. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  95. (const_int 1 [0x1])))) : DI
  96. rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  97. (const_int 1 [0x1])) : DI
  98. BAD
  99. NOT Legit
  100. rs6000_legitimate_address_p for (lo_sum:DI (reg/f:DI 123)
  101. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  102. (const_int 1 [0x1])))) : DI
  103. rs6000_legitimate_symbol_address_p : (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  104. (const_int 1 [0x1])) : DI
  105. BAD
  106. NOT Legit
  107. starting the processing of deferred insns
  108. rescanning insn with uid = 8.
  109. rescanning insn with uid = 14.
  110. ending the processing of deferred insns
  111.  
  112.  
  113. get_x
  114.  
  115. Dataflow summary:
  116. ;; 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]
  117. ;; hardware regs used 1 [r1] 99 [ap] 109 [vscr] 110 [sfp]
  118. ;; regular block artificial uses 1 [r1] 30 [r30] 99 [ap] 110 [sfp]
  119. ;; eh block artificial uses 1 [r1] 30 [r30] 99 [ap] 110 [sfp]
  120. ;; 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]
  121. ;; exit block uses 1 [r1] 3 [r3] 30 [r30] 108 [vrsave] 109 [vscr] 110 [sfp]
  122. ;; regs ever live 3 [r3]
  123. ;; 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}
  124. ;; total ref usage 53{41d,12u,0e} in 3{3 regular + 0 call} insns.
  125. (note 3 0 2 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
  126. (note 2 3 5 2 NOTE_INSN_FUNCTION_BEG)
  127. (note 5 2 6 2 NOTE_INSN_DELETED)
  128. (note 6 5 8 2 NOTE_INSN_DELETED)
  129. (insn 8 6 9 2 (set (reg/f:DI 123)
  130. (high:DI (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  131. (const_int 1 [0x1]))))) "/source/test-ppc/pr65342-1.c":9:11 14 {macho_high_di}
  132. (nil))
  133. (note 9 8 14 2 NOTE_INSN_DELETED)
  134. (insn 14 9 15 2 (set (reg/i:DI 3 r3)
  135. (mem/c:DI (lo_sum:DI (reg/f:DI 123)
  136. (const:DI (plus:DI (symbol_ref:DI ("x") [flags 0xa02] <var_decl 0x1439315a0 x>)
  137. (const_int 1 [0x1])))) [1 x.l+0 S8 A8])) "/source/test-ppc/pr65342-1.c":10:1 10 {movdi_low}
  138. (expr_list:REG_DEAD (reg/f:DI 123)
  139. (nil)))
  140. (insn 15 14 0 2 (use (reg/i:DI 3 r3)) "/source/test-ppc/pr65342-1.c":10:1 -1
  141. (nil))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement