haifa scheduler patch (splitting stores)

John Carr jfc@mit.edu
Mon Jun 8 11:31:00 GMT 1998


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 ();
  		}






More information about the Gcc-patches mailing list