summaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-01 23:30:25 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-01 23:30:25 +0000
commit96f57e365c008c4825c9c88e90db818ec4c99aad (patch)
tree800c0614ebfab133a3ab5aa61799f6bcbbd0d6ab /gcc/genrecog.c
parentb0cdf64212b0111e4fc098a73ba5992bd50a24dc (diff)
downloadgcc-96f57e365c008c4825c9c88e90db818ec4c99aad.tar.gz
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: svn+ssh://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: