Mercurial > hg > CbC > CbC_gcc
comparison gcc/ira-conflicts.c @ 19:58ad6c70ea60
update gcc from 4.4.0 to 4.4.1.
author | kent@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 13:21:57 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
18:33936f7f2835 | 19:58ad6c70ea60 |
---|---|
409 index = ira_class_hard_reg_index[cover_class][allocno_preferenced_hard_regno]; | 409 index = ira_class_hard_reg_index[cover_class][allocno_preferenced_hard_regno]; |
410 if (index < 0) | 410 if (index < 0) |
411 /* Can not be tied. It is not in the cover class. */ | 411 /* Can not be tied. It is not in the cover class. */ |
412 return false; | 412 return false; |
413 if (HARD_REGISTER_P (reg1)) | 413 if (HARD_REGISTER_P (reg1)) |
414 cost = ira_register_move_cost[mode][cover_class][rclass] * freq; | 414 cost = ira_get_register_move_cost (mode, cover_class, rclass) * freq; |
415 else | 415 else |
416 cost = ira_register_move_cost[mode][rclass][cover_class] * freq; | 416 cost = ira_get_register_move_cost (mode, rclass, cover_class) * freq; |
417 for (;;) | 417 for (;;) |
418 { | 418 { |
419 ira_allocate_and_set_costs | 419 ira_allocate_and_set_costs |
420 (&ALLOCNO_HARD_REG_COSTS (a), cover_class, | 420 (&ALLOCNO_HARD_REG_COSTS (a), cover_class, |
421 ALLOCNO_COVER_CLASS_COST (a)); | 421 ALLOCNO_COVER_CLASS_COST (a)); |
804 tree decl; | 804 tree decl; |
805 | 805 |
806 if ((! flag_caller_saves && ALLOCNO_CALLS_CROSSED_NUM (a) != 0) | 806 if ((! flag_caller_saves && ALLOCNO_CALLS_CROSSED_NUM (a) != 0) |
807 /* For debugging purposes don't put user defined variables in | 807 /* For debugging purposes don't put user defined variables in |
808 callee-clobbered registers. */ | 808 callee-clobbered registers. */ |
809 || (optimize <= 1 | 809 || (optimize == 0 |
810 && (attrs = REG_ATTRS (regno_reg_rtx [ALLOCNO_REGNO (a)])) != NULL | 810 && (attrs = REG_ATTRS (regno_reg_rtx [ALLOCNO_REGNO (a)])) != NULL |
811 && (decl = attrs->decl) != NULL | 811 && (decl = attrs->decl) != NULL |
812 && VAR_OR_FUNCTION_DECL_P (decl) | 812 && VAR_OR_FUNCTION_DECL_P (decl) |
813 && ! DECL_ARTIFICIAL (decl))) | 813 && ! DECL_ARTIFICIAL (decl))) |
814 { | 814 { |