* config/bfin/bfin.c (workaround_speculation): Correct algorithm to
commitcedee41af78b8d6739a2eca82fa466ccebca610a
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 13:28:34 +0000 (10 13:28 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 13:28:34 +0000 (10 13:28 +0000)
treea5adf4180e38242aff75f589555de75322e1c292
parente72f979a628995340e272345c2cb2cb3ef05ff0c
* config/bfin/bfin.c (workaround_speculation): Correct algorithm to
not lose track of the number of NOPs needed.  Number of NOPs needed
for sync vs. loads workaround was switched; corrected.  Run second
pass for all workarounds.  No NOPs needed after call insns.  Change
second pass to use find_next_insn_start and find_load helpers in order
to properly detect parallel insns.
* config/bfin/bfin.md (cbranch_with_nops): Increase length.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140230 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.md