diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-03-30 15:28:12 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-03-30 15:28:12 -0500 |
commit | e6677db3fdd1ff345bea540386a1e3e06f58fbc5 (patch) | |
tree | 05e9e3fe9fc77eaea2021297978dd533dbfaa3bb | |
parent | af9e4a0cf0468b4d1af7e9fb48d70c9e2903bcf6 (diff) | |
download | gcc-e6677db3fdd1ff345bea540386a1e3e06f58fbc5.zip gcc-e6677db3fdd1ff345bea540386a1e3e06f58fbc5.tar.gz gcc-e6677db3fdd1ff345bea540386a1e3e06f58fbc5.tar.bz2 |
(movstr_optab): No longer static.
(init_expr_once): Don't initialize movstr_optab.
From-SVN: r3923
-rw-r--r-- | gcc/expr.c | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -167,7 +167,7 @@ static char direct_store[NUM_MACHINE_MODES]; #endif /* This array records the insn_code of insns to perform block moves. */ -static enum insn_code movstr_optab[NUM_MACHINE_MODES]; +enum insn_code movstr_optab[NUM_MACHINE_MODES]; /* SLOW_UNALIGNED_ACCESS is non-zero if unaligned accesses are very slow. */ @@ -245,32 +245,9 @@ init_expr_once () if (recog (pat, insn, &num_clobbers) >= 0) direct_store[(int) mode] = 1; } - - movstr_optab[(int) mode] = CODE_FOR_nothing; } end_sequence (); - -#ifdef HAVE_movstrqi - if (HAVE_movstrqi) - movstr_optab[(int) QImode] = CODE_FOR_movstrqi; -#endif -#ifdef HAVE_movstrhi - if (HAVE_movstrhi) - movstr_optab[(int) HImode] = CODE_FOR_movstrhi; -#endif -#ifdef HAVE_movstrsi - if (HAVE_movstrsi) - movstr_optab[(int) SImode] = CODE_FOR_movstrsi; -#endif -#ifdef HAVE_movstrdi - if (HAVE_movstrdi) - movstr_optab[(int) DImode] = CODE_FOR_movstrdi; -#endif -#ifdef HAVE_movstrti - if (HAVE_movstrti) - movstr_optab[(int) TImode] = CODE_FOR_movstrti; -#endif } /* This is run at the start of compiling a function. */ |