From: Richard Kenner Date: Tue, 30 Mar 1993 20:30:29 +0000 (-0500) Subject: (init_reload): Don't initialize optabs here. X-Git-Tag: misc/cutover-egcs-0~10017 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=35be450715ba886b17bb89ca33cac1ca190f320c;p=gcc.git (init_reload): Don't initialize optabs here. From-SVN: r3926 --- diff --git a/gcc/reload1.c b/gcc/reload1.c index b71cc9299a46..000b55b0fc56 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -404,106 +404,6 @@ init_reload () /* Initialize obstack for our rtl allocation. */ gcc_obstack_init (&reload_obstack); reload_firstobj = (char *) obstack_alloc (&reload_obstack, 0); - -#ifdef HAVE_SECONDARY_RELOADS - - /* Initialize the optabs for doing special input and output reloads. */ - - for (i = 0; i < NUM_MACHINE_MODES; i++) - reload_in_optab[i] = reload_out_optab[i] = CODE_FOR_nothing; - -#ifdef HAVE_reload_inqi - if (HAVE_reload_inqi) - reload_in_optab[(int) QImode] = CODE_FOR_reload_inqi; -#endif -#ifdef HAVE_reload_inhi - if (HAVE_reload_inhi) - reload_in_optab[(int) HImode] = CODE_FOR_reload_inhi; -#endif -#ifdef HAVE_reload_insi - if (HAVE_reload_insi) - reload_in_optab[(int) SImode] = CODE_FOR_reload_insi; -#endif -#ifdef HAVE_reload_indi - if (HAVE_reload_indi) - reload_in_optab[(int) DImode] = CODE_FOR_reload_indi; -#endif -#ifdef HAVE_reload_inti - if (HAVE_reload_inti) - reload_in_optab[(int) TImode] = CODE_FOR_reload_inti; -#endif -#ifdef HAVE_reload_inqf - if (HAVE_reload_inqf) - reload_in_optab[(int) QFmode] = CODE_FOR_reload_inqf; -#endif -#ifdef HAVE_reload_inhf - if (HAVE_reload_inhf) - reload_in_optab[(int) HFmode] = CODE_FOR_reload_inhf; -#endif -#ifdef HAVE_reload_insf - if (HAVE_reload_insf) - reload_in_optab[(int) SFmode] = CODE_FOR_reload_insf; -#endif -#ifdef HAVE_reload_indf - if (HAVE_reload_indf) - reload_in_optab[(int) DFmode] = CODE_FOR_reload_indf; -#endif -#ifdef HAVE_reload_inxf - if (HAVE_reload_inxf) - reload_in_optab[(int) XFmode] = CODE_FOR_reload_inxf; -#endif -#ifdef HAVE_reload_intf - if (HAVE_reload_intf) - reload_in_optab[(int) TFmode] = CODE_FOR_reload_intf; -#endif - -#ifdef HAVE_reload_outqi - if (HAVE_reload_outqi) - reload_out_optab[(int) QImode] = CODE_FOR_reload_outqi; -#endif -#ifdef HAVE_reload_outhi - if (HAVE_reload_outhi) - reload_out_optab[(int) HImode] = CODE_FOR_reload_outhi; -#endif -#ifdef HAVE_reload_outsi - if (HAVE_reload_outsi) - reload_out_optab[(int) SImode] = CODE_FOR_reload_outsi; -#endif -#ifdef HAVE_reload_outdi - if (HAVE_reload_outdi) - reload_out_optab[(int) DImode] = CODE_FOR_reload_outdi; -#endif -#ifdef HAVE_reload_outti - if (HAVE_reload_outti) - reload_out_optab[(int) TImode] = CODE_FOR_reload_outti; -#endif -#ifdef HAVE_reload_outqf - if (HAVE_reload_outqf) - reload_out_optab[(int) QFmode] = CODE_FOR_reload_outqf; -#endif -#ifdef HAVE_reload_outhf - if (HAVE_reload_outhf) - reload_out_optab[(int) HFmode] = CODE_FOR_reload_outhf; -#endif -#ifdef HAVE_reload_outsf - if (HAVE_reload_outsf) - reload_out_optab[(int) SFmode] = CODE_FOR_reload_outsf; -#endif -#ifdef HAVE_reload_outdf - if (HAVE_reload_outdf) - reload_out_optab[(int) DFmode] = CODE_FOR_reload_outdf; -#endif -#ifdef HAVE_reload_outxf - if (HAVE_reload_outxf) - reload_out_optab[(int) XFmode] = CODE_FOR_reload_outxf; -#endif -#ifdef HAVE_reload_outtf - if (HAVE_reload_outtf) - reload_out_optab[(int) TFmode] = CODE_FOR_reload_outtf; -#endif - -#endif /* HAVE_SECONDARY_RELOADS */ - } /* Main entry point for the reload pass.