This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

haifa scheduler patch (splitting stores)



The Haifa scheduler sometimes crashes when optimizing for UltraSPARC
because DImode stores are split and the scheduler doesn't know what to
do with the notes.

Mon Jun  8 14:27:29 1998  John Carr  <jfc@mit.edu>

	* haifa-sched.c (update_flow_info): Use UNITS_PER_WORD, not MOVE_MAX,
	as the threshold to permit splitting memory operations.

*** haifa-sched.c~	Fri Jun  5 20:26:29 1998
--- haifa-sched.c	Mon Jun  8 13:36:25 1998
***************
*** 7996,8002 ****
  		    break;
  		  /* Likewise for multi-word memory references.  */
  		  if (GET_CODE (orig_dest) == MEM
! 		      && SIZE_FOR_MODE (orig_dest) > MOVE_MAX)
  		    break;
  		  abort ();
  		}
--- 7996,8002 ----
  		    break;
  		  /* Likewise for multi-word memory references.  */
  		  if (GET_CODE (orig_dest) == MEM
! 		      && SIZE_FOR_MODE (orig_dest) > UNITS_PER_WORD)
  		    break;
  		  abort ();
  		}





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]