summaryrefslogtreecommitdiffstats
path: root/gcc/expr.h
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-09 20:21:48 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-09 20:21:48 +0000
commitc299d9c8173940c984442c30a1601fc2381c1121 (patch)
treef132186c449f146f89d29ae60d9f337ae0f18f38 /gcc/expr.h
parent6c8740519f939dc8724c7d146e0463824ab465bb (diff)
downloadppe42-gcc-c299d9c8173940c984442c30a1601fc2381c1121.tar.gz
ppe42-gcc-c299d9c8173940c984442c30a1601fc2381c1121.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43874 138bc75d-0d04-0410-961f-82ee72b054a4
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 4808dc342c0..cf2cb268ef3 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,
OpenPOWER on IntegriCloud