Commit 25f57a0e by Jan Hubicka Committed by Jan Hubicka

* i386.c (ix86_reorg): Calls are also jumps.

From-SVN: r67133
parent 839844be
Fri May 23 22:17:32 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_reorg): Calls are also jumps.
2003-05-23 J"orn Rennecke <joern.rennecke@superh.com> 2003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
* cse.c (count_reg_usage): When processing an INSNs REG_EQUAL * cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
......
...@@ -15565,8 +15565,9 @@ ix86_reorg () ...@@ -15565,8 +15565,9 @@ ix86_reorg ()
if (!insert) if (!insert)
{ {
prev = prev_active_insn (ret); prev = prev_active_insn (ret);
if (prev && GET_CODE (prev) == JUMP_INSN if (prev
&& any_condjump_p (prev)) && ((GET_CODE (prev) == JUMP_INSN && any_condjump_p (prev))
|| GET_CODE (prev) == CALL_INSN))
insert = 1; insert = 1;
/* Empty functions get branch misspredict even when the jump destination /* Empty functions get branch misspredict even when the jump destination
is not visible to us. */ is not visible to us. */
......
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