system.c.022i.opt_local_passes 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. __attribute__((section (".systeminit")))
  2. SystemInit ()
  3. {
  4. struct S32_SCB_Type * _1;
  5. long unsigned int _2;
  6. struct S32_SCB_Type * _3;
  7. long unsigned int _4;
  8. struct S32_SCB_Type * _5;
  9. long unsigned int _6;
  10. struct S32_SCB_Type * _7;
  11. long unsigned int _8;
  12. struct S32_SCB_Type * _9;
  13. long unsigned int _10;
  14. struct S32_SCB_Type * _11;
  15. long unsigned int _12;
  16. struct AIPS_Type * _13;
  17. struct AIPS_Type * _14;
  18. struct AIPS_Type * _15;
  19. struct AIPS_Type * _16;
  20. struct AIPS_Type * _17;
  21. struct AIPS_Type * _18;
  22. struct AIPS_Type * _19;
  23. struct AIPS_Type * _20;
  24. struct AIPS_Type * _21;
  25. struct AIPS_Type * _22;
  26. struct AIPS_Type * _23;
  27. struct AIPS_Type * _24;
  28. struct AIPS_Type * _25;
  29. struct AIPS_Type * _26;
  30. struct AIPS_Type * _27;
  31. struct AIPS_Type * _28;
  32. <bb 2> :
  33. # DEBUG BEGIN_STMT
  34. _1 = 3758153728B;
  35. _2 ={v} _1->CPACR;
  36. _3 = 3758153728B;
  37. _4 = _2 | 15728640;
  38. _3->CPACR ={v} _4;
  39. # DEBUG BEGIN_STMT
  40. __asm__ __volatile__("dsb");
  41. # DEBUG BEGIN_STMT
  42. __asm__ __volatile__("isb");
  43. # DEBUG BEGIN_STMT
  44. _5 = 3758153728B;
  45. _6 ={v} _5->CCR;
  46. _7 = 3758153728B;
  47. _8 = _6 | 1;
  48. _7->CCR ={v} _8;
  49. # DEBUG BEGIN_STMT
  50. _9 = 3758153728B;
  51. _10 ={v} _9->SHPR3;
  52. _11 = 3758153728B;
  53. _12 = _10 & 4278255615;
  54. _11->SHPR3 ={v} _12;
  55. # DEBUG BEGIN_STMT
  56. _13 = 1073741824B;
  57. _13->MPRA ={v} 2004318071;
  58. # DEBUG BEGIN_STMT
  59. _14 = 1073741824B;
  60. _14->PACRA ={v} 0;
  61. # DEBUG BEGIN_STMT
  62. _15 = 1073741824B;
  63. _15->PACRB ={v} 0;
  64. # DEBUG BEGIN_STMT
  65. _16 = 1073741824B;
  66. _16->PACRD ={v} 0;
  67. # DEBUG BEGIN_STMT
  68. _17 = 1073741824B;
  69. _17->OPACR[0] ={v} 0;
  70. # DEBUG BEGIN_STMT
  71. _18 = 1073741824B;
  72. _18->OPACR[1] ={v} 0;
  73. # DEBUG BEGIN_STMT
  74. _19 = 1073741824B;
  75. _19->OPACR[2] ={v} 0;
  76. # DEBUG BEGIN_STMT
  77. _20 = 1073741824B;
  78. _20->OPACR[3] ={v} 0;
  79. # DEBUG BEGIN_STMT
  80. _21 = 1073741824B;
  81. _21->OPACR[4] ={v} 0;
  82. # DEBUG BEGIN_STMT
  83. _22 = 1073741824B;
  84. _22->OPACR[5] ={v} 0;
  85. # DEBUG BEGIN_STMT
  86. _23 = 1073741824B;
  87. _23->OPACR[6] ={v} 0;
  88. # DEBUG BEGIN_STMT
  89. _24 = 1073741824B;
  90. _24->OPACR[7] ={v} 0;
  91. # DEBUG BEGIN_STMT
  92. _25 = 1073741824B;
  93. _25->OPACR[8] ={v} 0;
  94. # DEBUG BEGIN_STMT
  95. _26 = 1073741824B;
  96. _26->OPACR[9] ={v} 0;
  97. # DEBUG BEGIN_STMT
  98. _27 = 1073741824B;
  99. _27->OPACR[10] ={v} 0;
  100. # DEBUG BEGIN_STMT
  101. _28 = 1073741824B;
  102. _28->OPACR[11] ={v} 0;
  103. # DEBUG BEGIN_STMT
  104. __asm__ __volatile__("dsb");
  105. # DEBUG BEGIN_STMT
  106. __asm__ __volatile__("isb");
  107. # DEBUG BEGIN_STMT
  108. sys_m4_cache_init (0);
  109. return;
  110. }
  111. Sys_GetCoreID ()
  112. {
  113. uint8 _1;
  114. <bb 2> :
  115. # DEBUG BEGIN_STMT
  116. _1 = 0;
  117. return _1;
  118. }
  119. default_interrupt_routine ()
  120. {
  121. <bb 2> :
  122. # DEBUG BEGIN_STMT
  123. # DEBUG BEGIN_STMT
  124. # DEBUG BEGIN_STMT
  125. goto <bb 2>; [INV]
  126. }
  127. startup_go_to_user_mode ()
  128. {
  129. <bb 2> :
  130. # DEBUG BEGIN_STMT
  131. return;
  132. }
  133. sys_m4_cache_init (uint8 cache)
  134. {
  135. uint8 RetValue;
  136. struct LMEM_Type * _1;
  137. struct LMEM_Type * _2;
  138. long unsigned int _3;
  139. struct LMEM_Type * _4;
  140. long unsigned int _5;
  141. struct LMEM_Type * _6;
  142. long unsigned int _7;
  143. long unsigned int _8;
  144. struct LMEM_Type * _9;
  145. long unsigned int _10;
  146. struct LMEM_Type * _11;
  147. long unsigned int _12;
  148. uint8 _22;
  149. <bb 2> :
  150. # DEBUG BEGIN_STMT
  151. RetValue_15 = 0;
  152. # DEBUG RetValue => RetValue_15
  153. # DEBUG BEGIN_STMT
  154. if (cache_16(D) == 0)
  155. goto <bb 3>; [INV]
  156. else
  157. goto <bb 6>; [INV]
  158. <bb 3> :
  159. # DEBUG BEGIN_STMT
  160. _1 = 3758628864B;
  161. _1->PCCCR ={v} 83886080;
  162. # DEBUG BEGIN_STMT
  163. _2 = 3758628864B;
  164. _3 ={v} _2->PCCCR;
  165. _4 = 3758628864B;
  166. _5 = _3 | 2147483648;
  167. _4->PCCCR ={v} _5;
  168. # DEBUG BEGIN_STMT
  169. <bb 4> :
  170. # DEBUG BEGIN_STMT
  171. # DEBUG BEGIN_STMT
  172. _6 = 3758628864B;
  173. _7 ={v} _6->PCCCR;
  174. _8 = _7 & 2147483648;
  175. if (_8 == 2147483648)
  176. goto <bb 4>; [INV]
  177. else
  178. goto <bb 5>; [INV]
  179. <bb 5> :
  180. # DEBUG BEGIN_STMT
  181. # DEBUG BEGIN_STMT
  182. _9 = 3758628864B;
  183. _10 ={v} _9->PCCCR;
  184. _11 = 3758628864B;
  185. _12 = _10 | 1;
  186. _11->PCCCR ={v} _12;
  187. goto <bb 7>; [INV]
  188. <bb 6> :
  189. # DEBUG BEGIN_STMT
  190. RetValue_17 = 1;
  191. # DEBUG RetValue => RetValue_17
  192. <bb 7> :
  193. # RetValue_13 = PHI <RetValue_15(5), RetValue_17(6)>
  194. # DEBUG RetValue => RetValue_13
  195. # DEBUG BEGIN_STMT
  196. _22 = RetValue_13;
  197. return _22;
  198. }