aboutsummaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-04-01 23:30:25 +0000
committerMark Mitchell <mark@codesourcery.com>2004-04-01 23:30:25 +0000
commitd80b26885c4f6bb0bc19722977a7a1ca67b7d572 (patch)
tree800c0614ebfab133a3ab5aa61799f6bcbbd0d6ab /gcc/genrecog.c
parent3449b96b5301efbb6928c18ebebad4aa0ceedbe0 (diff)
PR target/14040
* genemit.c (gen_split): Change prototype of generated code. * genrecog.c (write_action): Adjust prototype for and calls to gen_split_*. * gensupport.c (struct queue_elem): Add split field. (queue_pattern): Return a value. Clear the split field. (process_rtx): Maintain an association between an insn and the split generated from it for a define_insn_and_split. (process_one_cond_exec): Generate a new split for a define_insn_and_split. * config/arm/arm-protos.h (arm_split_constant): Add insn parameter. (emit_constant_insn): New function. (arm_gen_constant): Use it. * config/arm/arm.md: Adjust calls to arm_split_constant. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@80335 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 2f5028cac8d..2d4c0911cd9 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2086,7 +2086,7 @@ write_action (struct decision *p, struct decision_test *test,
break;
case SPLIT:
- printf ("%sreturn gen_split_%d (operands);\n",
+ printf ("%sreturn gen_split_%d (insn, operands);\n",
indent, test->u.insn.code_number);
break;
@@ -2583,7 +2583,7 @@ make_insn_sequence (rtx insn, enum routine_type type)
case SPLIT:
/* Define the subroutine we will call below and emit in genemit. */
- printf ("extern rtx gen_split_%d (rtx *);\n", next_insn_code);
+ printf ("extern rtx gen_split_%d (rtx, rtx *);\n", next_insn_code);
break;
case PEEPHOLE2: