Commit f0b60c1c by Stephen L Moshier Committed by Mark Mitchell

loop.c (load_mems): Don't hoist written floating point mem if -ffloat-store.

	* loop.c (load_mems): Don't hoist written floating point mem
	if -ffloat-store.

From-SVN: r30875
parent f54a7f6f
1999-12-12 Stephen L Moshier <moshier@mediaone.net>
* loop.c (load_mems): Don't hoist written floating point mem
if -ffloat-store.
1999-12-12 Mark Mitchell <mark@codesourcery.com>
* except.h (struct eh_queue): Add `next' pointer.
......
......@@ -9825,7 +9825,11 @@ load_mems (scan_start, end, loop_top, start)
}
mem_list_entry = XEXP (mem_list_entry, 1);
}
if (flag_float_store && written
&& GET_MODE_CLASS (GET_MODE (mem)) == MODE_FLOAT)
loop_mems[i].optimize = 0;
/* If this MEM is written to, we must be sure that there
are no reads from another MEM that aliases this one. */
if (loop_mems[i].optimize && written)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment