Problems with sh mode switching code at -O0
Richard Henderson
rth@redhat.com
Wed Nov 15 12:33:00 GMT 2000
On Wed, Nov 15, 2000 at 01:00:30PM +0000, Bernd Schmidt wrote:
> There are a couple of alternatives how to fix it. We could always run
> optimize_mode_switching and get rid of emit_sf_insn/emit_df_insn. This
> is my preferred solution and implemented by patch #1 below. However, I
> don't know how fast that pass is; it may well be unacceptable at -O0.
> Alternatively, we could try to make emit_libcall_block detect the situation.
> This is patch #2. There are more possibilities (e.g. don't make libcall
> blocks at -O0), but these two are IMO the only ones that make sense.
I personally prefer option #1 as well. I can't believe that it
would be _that_ slow.
r~
More information about the Gcc-patches
mailing list