From a406f5669bc4d370fe7e0c4f9072950f89cfd36b Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 1 Apr 2004 23:30:25 +0000 Subject: re PR target/14040 (ARM cross compiler: error: could not split insn) 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. From-SVN: r80335 --- gcc/genrecog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/genrecog.c') diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 2f5028c..2d4c091 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: -- cgit v1.1