This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
haifa scheduler patch (splitting stores)
- To: egcs at cygnus dot com, egcs-patches at cygnus dot com
- Subject: haifa scheduler patch (splitting stores)
- From: John Carr <jfc at mit dot edu>
- Date: Mon, 08 Jun 1998 14:31:17 -0400
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 ();
}