diff options
author | Toon Moene <toon@moene.indiv.nluug.nl> | 2001-07-09 22:21:48 +0200 |
---|---|---|
committer | Toon Moene <toon@gcc.gnu.org> | 2001-07-09 20:21:48 +0000 |
commit | fb7e77d7dc2d25794f2c62d8c4f2f751dc772bf4 (patch) | |
tree | f132186c449f146f89d29ae60d9f337ae0f18f38 /gcc/expr.h | |
parent | 44cec3004a3519037c88ae0d464f9790ac998053 (diff) | |
download | gcc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |