aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2001-07-09 22:21:48 +0200
committerToon Moene <toon@gcc.gnu.org>2001-07-09 20:21:48 +0000
commitfb7e77d7dc2d25794f2c62d8c4f2f751dc772bf4 (patch)
treef132186c449f146f89d29ae60d9f337ae0f18f38 /gcc/expr.h
parent44cec3004a3519037c88ae0d464f9790ac998053 (diff)
downloadgcc-fb7e77d7dc2d25794f2c62d8c4f2f751dc772bf4.zip
gcc-fb7e77d7dc2d25794f2c62d8c4f2f751dc772bf4.tar.gz
gcc-fb7e77d7dc2d25794f2c62d8c4f2f751dc772bf4.tar.bz2
expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl> * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn. * optabs.c (have_add2_insn): Check whether the add insn chosen really accepts the operands. (have_sub2_insn): Ditto for sub insn. * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn. From-SVN: r43874
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 4808dc3..cf2cb26 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -841,8 +841,8 @@ int can_conditionally_move_p PARAMS ((enum machine_mode mode));
extern rtx gen_add2_insn PARAMS ((rtx, rtx));
extern rtx gen_sub2_insn PARAMS ((rtx, rtx));
extern rtx gen_move_insn PARAMS ((rtx, rtx));
-extern int have_add2_insn PARAMS ((enum machine_mode));
-extern int have_sub2_insn PARAMS ((enum machine_mode));
+extern int have_add2_insn PARAMS ((rtx, rtx));
+extern int have_sub2_insn PARAMS ((rtx, rtx));
/* Return the INSN_CODE to use for an extend operation. */
extern enum insn_code can_extend_p PARAMS ((enum machine_mode,