regstat.c 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  1. /* Scanning of rtl for dataflow analysis.
  2. Copyright (C) 2007-2015 Free Software Foundation, Inc.
  3. Contributed by Kenneth Zadeck (zadeck@naturalbridge.com).
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify it under
  6. the terms of the GNU General Public License as published by the Free
  7. Software Foundation; either version 3, or (at your option) any later
  8. version.
  9. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. #include "config.h"
  17. #include "system.h"
  18. #include "coretypes.h"
  19. #include "tm.h"
  20. #include "rtl.h"
  21. #include "tm_p.h"
  22. #include "flags.h"
  23. #include "regs.h"
  24. #include "except.h"
  25. #include "hard-reg-set.h"
  26. #include "predict.h"
  27. #include "vec.h"
  28. #include "hashtab.h"
  29. #include "hash-set.h"
  30. #include "machmode.h"
  31. #include "input.h"
  32. #include "function.h"
  33. #include "dominance.h"
  34. #include "cfg.h"
  35. #include "basic-block.h"
  36. #include "timevar.h"
  37. #include "df.h"
  38. struct regstat_n_sets_and_refs_t *regstat_n_sets_and_refs;
  39. /*----------------------------------------------------------------------------
  40. REG_N_SETS and REG_N_REFS.
  41. ----------------------------------------------------------------------------*/
  42. /* If a pass need to change these values in some magical way or the
  43. pass needs to have accurate values for these and is not using
  44. incremental df scanning, then it should use REG_N_SETS and
  45. REG_N_USES. If the pass is doing incremental scanning then it
  46. should be getting the info from DF_REG_DEF_COUNT and
  47. DF_REG_USE_COUNT. */
  48. void
  49. regstat_init_n_sets_and_refs (void)
  50. {
  51. unsigned int i;
  52. unsigned int max_regno = max_reg_num ();
  53. timevar_push (TV_REG_STATS);
  54. df_grow_reg_info ();
  55. gcc_assert (!regstat_n_sets_and_refs);
  56. regstat_n_sets_and_refs = XNEWVEC (struct regstat_n_sets_and_refs_t, max_regno);
  57. if (MAY_HAVE_DEBUG_INSNS)
  58. for (i = 0; i < max_regno; i++)
  59. {
  60. int use_count;
  61. df_ref use;
  62. use_count = DF_REG_USE_COUNT (i);
  63. for (use = DF_REG_USE_CHAIN (i); use; use = DF_REF_NEXT_REG (use))
  64. if (DF_REF_INSN_INFO (use) && DEBUG_INSN_P (DF_REF_INSN (use)))
  65. use_count--;
  66. SET_REG_N_SETS (i, DF_REG_DEF_COUNT (i));
  67. SET_REG_N_REFS (i, use_count + REG_N_SETS (i));
  68. }
  69. else
  70. for (i = 0; i < max_regno; i++)
  71. {
  72. SET_REG_N_SETS (i, DF_REG_DEF_COUNT (i));
  73. SET_REG_N_REFS (i, DF_REG_USE_COUNT (i) + REG_N_SETS (i));
  74. }
  75. timevar_pop (TV_REG_STATS);
  76. }
  77. /* Free the array that holds the REG_N_SETS and REG_N_REFS. */
  78. void
  79. regstat_free_n_sets_and_refs (void)
  80. {
  81. gcc_assert (regstat_n_sets_and_refs);
  82. free (regstat_n_sets_and_refs);
  83. regstat_n_sets_and_refs = NULL;
  84. }
  85. /*----------------------------------------------------------------------------
  86. REGISTER INFORMATION
  87. Process REG_N_DEATHS, REG_LIVE_LENGTH, REG_N_CALLS_CROSSED,
  88. REG_N_THROWING_CALLS_CROSSED and REG_BASIC_BLOCK.
  89. ----------------------------------------------------------------------------*/
  90. static bitmap setjmp_crosses;
  91. struct reg_info_t *reg_info_p;
  92. /* The number allocated elements of reg_info_p. */
  93. size_t reg_info_p_size;
  94. /* Compute register info: lifetime, bb, and number of defs and uses
  95. for basic block BB. The three bitvectors are scratch regs used
  96. here. */
  97. static void
  98. regstat_bb_compute_ri (unsigned int bb_index,
  99. bitmap live, bitmap artificial_uses,
  100. bitmap local_live, bitmap local_processed,
  101. int *local_live_last_luid)
  102. {
  103. basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index);
  104. rtx_insn *insn;
  105. df_ref def, use;
  106. int luid = 0;
  107. bitmap_iterator bi;
  108. unsigned int regno;
  109. bitmap_copy (live, df_get_live_out (bb));
  110. bitmap_clear (artificial_uses);
  111. /* Process the regs live at the end of the block. Mark them as
  112. not local to any one basic block. */
  113. EXECUTE_IF_SET_IN_BITMAP (live, 0, regno, bi)
  114. REG_BASIC_BLOCK (regno) = REG_BLOCK_GLOBAL;
  115. /* Process the artificial defs and uses at the bottom of the block
  116. to begin processing. */
  117. FOR_EACH_ARTIFICIAL_DEF (def, bb_index)
  118. if ((DF_REF_FLAGS (def) & DF_REF_AT_TOP) == 0)
  119. bitmap_clear_bit (live, DF_REF_REGNO (def));
  120. FOR_EACH_ARTIFICIAL_USE (use, bb_index)
  121. if ((DF_REF_FLAGS (use) & DF_REF_AT_TOP) == 0)
  122. {
  123. regno = DF_REF_REGNO (use);
  124. bitmap_set_bit (live, regno);
  125. bitmap_set_bit (artificial_uses, regno);
  126. }
  127. FOR_BB_INSNS_REVERSE (bb, insn)
  128. {
  129. struct df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
  130. bitmap_iterator bi;
  131. df_mw_hardreg *mw;
  132. rtx link;
  133. if (!NONDEBUG_INSN_P (insn))
  134. continue;
  135. luid++;
  136. link = REG_NOTES (insn);
  137. while (link)
  138. {
  139. if (REG_NOTE_KIND (link) == REG_DEAD)
  140. REG_N_DEATHS (REGNO (XEXP (link, 0)))++;
  141. link = XEXP (link, 1);
  142. }
  143. /* Process the defs. */
  144. if (CALL_P (insn))
  145. {
  146. bool can_throw = can_throw_internal (insn);
  147. bool set_jump = (find_reg_note (insn, REG_SETJMP, NULL) != NULL);
  148. EXECUTE_IF_SET_IN_BITMAP (live, 0, regno, bi)
  149. {
  150. REG_N_CALLS_CROSSED (regno)++;
  151. REG_FREQ_CALLS_CROSSED (regno) += REG_FREQ_FROM_BB (bb);
  152. REG_FREQ_CALLS_CROSSED (regno) =
  153. MIN (REG_FREQ_CALLS_CROSSED (regno), REG_FREQ_MAX);
  154. if (can_throw)
  155. REG_N_THROWING_CALLS_CROSSED (regno)++;
  156. /* We have a problem with any pseudoreg that lives
  157. across the setjmp. ANSI says that if a user variable
  158. does not change in value between the setjmp and the
  159. longjmp, then the longjmp preserves it. This
  160. includes longjmp from a place where the pseudo
  161. appears dead. (In principle, the value still exists
  162. if it is in scope.) If the pseudo goes in a hard
  163. reg, some other value may occupy that hard reg where
  164. this pseudo is dead, thus clobbering the pseudo.
  165. Conclusion: such a pseudo must not go in a hard
  166. reg. */
  167. if (set_jump)
  168. bitmap_set_bit (setjmp_crosses, regno);
  169. }
  170. }
  171. /* We only care about real sets for calls. Clobbers cannot
  172. be depended on.
  173. Only do this if the value is totally dead. */
  174. FOR_EACH_INSN_INFO_MW (mw, insn_info)
  175. if (DF_MWS_REG_DEF_P (mw))
  176. {
  177. bool all_dead = true;
  178. unsigned int r;
  179. for (r = mw->start_regno; r <= mw->end_regno; r++)
  180. if (bitmap_bit_p (artificial_uses, r)
  181. || bitmap_bit_p (live, r))
  182. {
  183. all_dead = false;
  184. break;
  185. }
  186. if (all_dead)
  187. {
  188. regno = mw->start_regno;
  189. REG_LIVE_LENGTH (regno)++;
  190. }
  191. }
  192. /* All of the defs except the return value are some sort of
  193. clobber. This code is for the return. */
  194. FOR_EACH_INSN_INFO_DEF (def, insn_info)
  195. {
  196. if ((!CALL_P (insn))
  197. || (!(DF_REF_FLAGS (def) & (DF_REF_MUST_CLOBBER | DF_REF_MAY_CLOBBER))))
  198. {
  199. unsigned int dregno = DF_REF_REGNO (def);
  200. if (bitmap_bit_p (live, dregno))
  201. {
  202. /* If we have seen a use of DREGNO somewhere before (i.e.
  203. later in this basic block), and DEF is not a subreg
  204. store or conditional store, then kill the register
  205. here and add the proper length to its REG_LIVE_LENGTH.
  206. If we have not seen a use of DREGNO later in this basic
  207. block, then we need to add the length from here to the
  208. end of the block to the live length. */
  209. if (bitmap_bit_p (local_live, dregno))
  210. {
  211. /* Note that LOCAL_LIVE implies LOCAL_PROCESSED, so
  212. we don't have to set LOCAL_PROCESSED in this clause. */
  213. if (!(DF_REF_FLAGS (def) & (DF_REF_PARTIAL | DF_REF_CONDITIONAL)))
  214. {
  215. REG_LIVE_LENGTH (dregno) +=
  216. (luid - local_live_last_luid[dregno]);
  217. local_live_last_luid[dregno] = luid;
  218. bitmap_clear_bit (local_live, dregno);
  219. }
  220. }
  221. else
  222. {
  223. bitmap_set_bit (local_processed, dregno);
  224. REG_LIVE_LENGTH (dregno) += luid;
  225. local_live_last_luid[dregno] = luid;
  226. }
  227. /* Kill this register if it is not a subreg store or
  228. conditional store.
  229. ??? This means that any partial store is live from
  230. the last use in a basic block to the start of this
  231. basic block. This results in poor calculations of
  232. REG_LIVE_LENGTH in large basic blocks. */
  233. if (!(DF_REF_FLAGS (def) & (DF_REF_PARTIAL | DF_REF_CONDITIONAL)))
  234. bitmap_clear_bit (live, dregno);
  235. }
  236. else if ((!(DF_REF_FLAGS (def) & DF_REF_MW_HARDREG))
  237. && (!bitmap_bit_p (artificial_uses, dregno)))
  238. {
  239. REG_LIVE_LENGTH (dregno)++;
  240. }
  241. if (dregno >= FIRST_PSEUDO_REGISTER)
  242. {
  243. REG_FREQ (dregno) += REG_FREQ_FROM_BB (bb);
  244. REG_FREQ (dregno) =
  245. MIN (REG_FREQ (dregno), REG_FREQ_MAX);
  246. if (REG_BASIC_BLOCK (dregno) == REG_BLOCK_UNKNOWN)
  247. REG_BASIC_BLOCK (dregno) = bb->index;
  248. else if (REG_BASIC_BLOCK (dregno) != bb->index)
  249. REG_BASIC_BLOCK (dregno) = REG_BLOCK_GLOBAL;
  250. }
  251. }
  252. }
  253. FOR_EACH_INSN_INFO_USE (use, insn_info)
  254. {
  255. unsigned int uregno = DF_REF_REGNO (use);
  256. if (uregno >= FIRST_PSEUDO_REGISTER)
  257. {
  258. REG_FREQ (uregno) += REG_FREQ_FROM_BB (bb);
  259. REG_FREQ (uregno) =
  260. MIN (REG_FREQ (uregno), REG_FREQ_MAX);
  261. if (REG_BASIC_BLOCK (uregno) == REG_BLOCK_UNKNOWN)
  262. REG_BASIC_BLOCK (uregno) = bb->index;
  263. else if (REG_BASIC_BLOCK (uregno) != bb->index)
  264. REG_BASIC_BLOCK (uregno) = REG_BLOCK_GLOBAL;
  265. }
  266. if (bitmap_set_bit (live, uregno))
  267. {
  268. /* This register is now live. Begin to process it locally.
  269. Note that we don't even get here if the variable was live
  270. at the end of the block since just a ref inside the block
  271. does not effect the calculations. */
  272. REG_LIVE_LENGTH (uregno) ++;
  273. local_live_last_luid[uregno] = luid;
  274. bitmap_set_bit (local_live, uregno);
  275. bitmap_set_bit (local_processed, uregno);
  276. }
  277. }
  278. }
  279. /* Add the liveness length to all registers that were used somewhere
  280. in this bock, but not between that use and the head of this block. */
  281. EXECUTE_IF_SET_IN_BITMAP (local_live, 0, regno, bi)
  282. {
  283. REG_LIVE_LENGTH (regno) += (luid - local_live_last_luid[regno]);
  284. }
  285. /* Add the length of the block to all of the registers that were not
  286. referenced, but still live in this block. */
  287. bitmap_and_compl_into (live, local_processed);
  288. EXECUTE_IF_SET_IN_BITMAP (live, 0, regno, bi)
  289. REG_LIVE_LENGTH (regno) += luid;
  290. bitmap_clear (local_processed);
  291. bitmap_clear (local_live);
  292. }
  293. /* Compute register info: lifetime, bb, and number of defs and uses. */
  294. void
  295. regstat_compute_ri (void)
  296. {
  297. basic_block bb;
  298. bitmap live = BITMAP_ALLOC (&df_bitmap_obstack);
  299. bitmap artificial_uses = BITMAP_ALLOC (&df_bitmap_obstack);
  300. bitmap local_live = BITMAP_ALLOC (&df_bitmap_obstack);
  301. bitmap local_processed = BITMAP_ALLOC (&df_bitmap_obstack);
  302. unsigned int regno;
  303. bitmap_iterator bi;
  304. int *local_live_last_luid;
  305. /* Initialize everything. */
  306. gcc_assert (!reg_info_p);
  307. timevar_push (TV_REG_STATS);
  308. setjmp_crosses = BITMAP_ALLOC (&df_bitmap_obstack);
  309. max_regno = max_reg_num ();
  310. reg_info_p_size = max_regno;
  311. reg_info_p = XCNEWVEC (struct reg_info_t, max_regno);
  312. local_live_last_luid = XNEWVEC (int, max_regno);
  313. FOR_EACH_BB_FN (bb, cfun)
  314. {
  315. regstat_bb_compute_ri (bb->index, live, artificial_uses,
  316. local_live, local_processed,
  317. local_live_last_luid);
  318. }
  319. BITMAP_FREE (live);
  320. BITMAP_FREE (artificial_uses);
  321. BITMAP_FREE (local_live);
  322. BITMAP_FREE (local_processed);
  323. free (local_live_last_luid);
  324. /* See the setjmp comment in regstat_bb_compute_ri. */
  325. EXECUTE_IF_SET_IN_BITMAP (setjmp_crosses, FIRST_PSEUDO_REGISTER, regno, bi)
  326. {
  327. REG_BASIC_BLOCK (regno) = REG_BLOCK_UNKNOWN;
  328. REG_LIVE_LENGTH (regno) = -1;
  329. }
  330. timevar_pop (TV_REG_STATS);
  331. }
  332. /* Free all storage associated with the problem. */
  333. void
  334. regstat_free_ri (void)
  335. {
  336. gcc_assert (reg_info_p);
  337. reg_info_p_size = 0;
  338. free (reg_info_p);
  339. reg_info_p = NULL;
  340. BITMAP_FREE (setjmp_crosses);
  341. }
  342. /* Return a bitmap containing the set of registers that cross a setjmp.
  343. The client should not change or delete this bitmap. */
  344. bitmap
  345. regstat_get_setjmp_crosses (void)
  346. {
  347. return setjmp_crosses;
  348. }
  349. /*----------------------------------------------------------------------------
  350. Process REG_N_CALLS_CROSSED.
  351. This is used by sched_deps. A good implementation of sched-deps
  352. would really process the blocks directly rather than going through
  353. lists of insns. If it did this, it could use the exact regs that
  354. cross an individual call rather than using this info that merges
  355. the info for all calls.
  356. ----------------------------------------------------------------------------*/
  357. /* Compute calls crossed for BB. Live is a scratch bitvector. */
  358. static void
  359. regstat_bb_compute_calls_crossed (unsigned int bb_index, bitmap live)
  360. {
  361. basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index);
  362. rtx_insn *insn;
  363. df_ref def, use;
  364. bitmap_copy (live, df_get_live_out (bb));
  365. /* Process the artificial defs and uses at the bottom of the block
  366. to begin processing. */
  367. FOR_EACH_ARTIFICIAL_DEF (def, bb_index)
  368. if ((DF_REF_FLAGS (def) & DF_REF_AT_TOP) == 0)
  369. bitmap_clear_bit (live, DF_REF_REGNO (def));
  370. FOR_EACH_ARTIFICIAL_USE (use, bb_index)
  371. if ((DF_REF_FLAGS (use) & DF_REF_AT_TOP) == 0)
  372. bitmap_set_bit (live, DF_REF_REGNO (use));
  373. FOR_BB_INSNS_REVERSE (bb, insn)
  374. {
  375. struct df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
  376. unsigned int regno;
  377. if (!INSN_P (insn))
  378. continue;
  379. /* Process the defs. */
  380. if (CALL_P (insn))
  381. {
  382. bitmap_iterator bi;
  383. EXECUTE_IF_SET_IN_BITMAP (live, 0, regno, bi)
  384. {
  385. REG_N_CALLS_CROSSED (regno)++;
  386. REG_FREQ_CALLS_CROSSED (regno) += REG_FREQ_FROM_BB (bb);
  387. REG_FREQ_CALLS_CROSSED (regno) =
  388. MIN (REG_FREQ_CALLS_CROSSED (regno), REG_FREQ_MAX);
  389. }
  390. }
  391. /* All of the defs except the return value are some sort of
  392. clobber. This code is for the return. */
  393. FOR_EACH_INSN_INFO_DEF (def, insn_info)
  394. {
  395. if ((!CALL_P (insn))
  396. || (!(DF_REF_FLAGS (def) & (DF_REF_MUST_CLOBBER | DF_REF_MAY_CLOBBER))))
  397. {
  398. /* Kill this register if it is not a subreg store or conditional store. */
  399. if (!(DF_REF_FLAGS (def) & (DF_REF_PARTIAL | DF_REF_CONDITIONAL)))
  400. bitmap_clear_bit (live, DF_REF_REGNO (def));
  401. }
  402. }
  403. FOR_EACH_INSN_INFO_USE (use, insn_info)
  404. bitmap_set_bit (live, DF_REF_REGNO (use));
  405. }
  406. }
  407. /* Compute register info: lifetime, bb, and number of defs and uses. */
  408. void
  409. regstat_compute_calls_crossed (void)
  410. {
  411. basic_block bb;
  412. bitmap live = BITMAP_ALLOC (&df_bitmap_obstack);
  413. /* Initialize everything. */
  414. gcc_assert (!reg_info_p);
  415. timevar_push (TV_REG_STATS);
  416. max_regno = max_reg_num ();
  417. reg_info_p_size = max_regno;
  418. reg_info_p = XCNEWVEC (struct reg_info_t, max_regno);
  419. FOR_EACH_BB_FN (bb, cfun)
  420. {
  421. regstat_bb_compute_calls_crossed (bb->index, live);
  422. }
  423. BITMAP_FREE (live);
  424. timevar_pop (TV_REG_STATS);
  425. }
  426. /* Free all storage associated with the problem. */
  427. void
  428. regstat_free_calls_crossed (void)
  429. {
  430. gcc_assert (reg_info_p);
  431. reg_info_p_size = 0;
  432. free (reg_info_p);
  433. reg_info_p = NULL;
  434. }
  435. /* Dump the register info to FILE. */
  436. void
  437. dump_reg_info (FILE *file)
  438. {
  439. unsigned int i, max = max_reg_num ();
  440. if (reload_completed)
  441. return;
  442. if (reg_info_p_size < max)
  443. max = reg_info_p_size;
  444. fprintf (file, "%d registers.\n", max);
  445. for (i = FIRST_PSEUDO_REGISTER; i < max; i++)
  446. {
  447. enum reg_class rclass, altclass;
  448. if (regstat_n_sets_and_refs)
  449. fprintf (file, "\nRegister %d used %d times across %d insns",
  450. i, REG_N_REFS (i), REG_LIVE_LENGTH (i));
  451. else if (df)
  452. fprintf (file, "\nRegister %d used %d times across %d insns",
  453. i, DF_REG_USE_COUNT (i) + DF_REG_DEF_COUNT (i), REG_LIVE_LENGTH (i));
  454. if (REG_BASIC_BLOCK (i) >= NUM_FIXED_BLOCKS)
  455. fprintf (file, " in block %d", REG_BASIC_BLOCK (i));
  456. if (regstat_n_sets_and_refs)
  457. fprintf (file, "; set %d time%s", REG_N_SETS (i),
  458. (REG_N_SETS (i) == 1) ? "" : "s");
  459. else if (df)
  460. fprintf (file, "; set %d time%s", DF_REG_DEF_COUNT (i),
  461. (DF_REG_DEF_COUNT (i) == 1) ? "" : "s");
  462. if (regno_reg_rtx[i] != NULL && REG_USERVAR_P (regno_reg_rtx[i]))
  463. fputs ("; user var", file);
  464. if (REG_N_DEATHS (i) != 1)
  465. fprintf (file, "; dies in %d places", REG_N_DEATHS (i));
  466. if (REG_N_CALLS_CROSSED (i) == 1)
  467. fputs ("; crosses 1 call", file);
  468. else if (REG_N_CALLS_CROSSED (i))
  469. fprintf (file, "; crosses %d calls", REG_N_CALLS_CROSSED (i));
  470. if (REG_FREQ_CALLS_CROSSED (i))
  471. fprintf (file, "; crosses call with %d frequency", REG_FREQ_CALLS_CROSSED (i));
  472. if (regno_reg_rtx[i] != NULL
  473. && PSEUDO_REGNO_BYTES (i) != UNITS_PER_WORD)
  474. fprintf (file, "; %d bytes", PSEUDO_REGNO_BYTES (i));
  475. rclass = reg_preferred_class (i);
  476. altclass = reg_alternate_class (i);
  477. if (rclass != GENERAL_REGS || altclass != ALL_REGS)
  478. {
  479. if (altclass == ALL_REGS || rclass == ALL_REGS)
  480. fprintf (file, "; pref %s", reg_class_names[(int) rclass]);
  481. else if (altclass == NO_REGS)
  482. fprintf (file, "; %s or none", reg_class_names[(int) rclass]);
  483. else
  484. fprintf (file, "; pref %s, else %s",
  485. reg_class_names[(int) rclass],
  486. reg_class_names[(int) altclass]);
  487. }
  488. if (regno_reg_rtx[i] != NULL && REG_POINTER (regno_reg_rtx[i]))
  489. fputs ("; pointer", file);
  490. fputs (".\n", file);
  491. }
  492. }