OSDN Git Service

* optabs.h (OTI_flodiv, flodiv_optab): Kill.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2001 19:59:46 +0000 (19:59 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2001 19:59:46 +0000 (19:59 +0000)
commitad99e708993275cfd0d666486d9c1b8bc7107416
treef45f62817a1ba4ec89643d51d48fc4dea2c0237b
parent9c44ac54d7f5256b72b2e36db6e92e62815ac844
* optabs.h (OTI_flodiv, flodiv_optab): Kill.
* genopinit.c: Put floating point divide insns in sdiv_optab.
* expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
* config/gofast.h, config/c4x/c4x.h,
config/ia64/hpux_longdouble.h, config/mips/mips.h,
config/pa/long_double.h, config/rs6000/sysv4.h,
config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
* optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
(init_optabs): Use init_optabv for overflow-trapping optabs.
Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
cmp_optab RTX codes so have_insn_for can find them.

* optabs.c (expand_simple_binop, expand_simple_unop,
have_insn_for, gen_sub3_insn): New interfaces.
* expr.h: Prototype new functions.
(enum optab_methods): Move here from optabs.h.

* builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
Use new functions instead of working directly with optabs.
* doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
unroll.c: Don't include optabs.h.
* caller-save.c, combine.c, function.c, stmt.c: Just include
insn-codes.h, not optabs.h.
* Makefile.in: Update dependencies.

* combine.c (make_compound_operation, simplify_comparison):
Fix typos testing for this or that instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45008 138bc75d-0d04-0410-961f-82ee72b054a4
25 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/builtins.c
gcc/caller-save.c
gcc/combine.c
gcc/config/c4x/c4x.h
gcc/config/gofast.h
gcc/config/ia64/hpux_longdouble.h
gcc/config/mips/mips.h
gcc/config/pa/long_double.h
gcc/config/rs6000/sysv4.h
gcc/config/sparc/sparc.h
gcc/doloop.c
gcc/expr.c
gcc/expr.h
gcc/function.c
gcc/genopinit.c
gcc/ifcvt.c
gcc/loop.c
gcc/optabs.c
gcc/optabs.h
gcc/profile.c
gcc/simplify-rtx.c
gcc/stmt.c
gcc/unroll.c