diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-04-01 23:30:25 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-04-01 23:30:25 +0000 |
commit | a406f5669bc4d370fe7e0c4f9072950f89cfd36b (patch) | |
tree | 800c0614ebfab133a3ab5aa61799f6bcbbd0d6ab /gcc/genrecog.c | |
parent | 18c6ada9b2ee27a40db256f4c32779fc25872050 (diff) | |
download | gcc-a406f5669bc4d370fe7e0c4f9072950f89cfd36b.zip gcc-a406f5669bc4d370fe7e0c4f9072950f89cfd36b.tar.gz gcc-a406f5669bc4d370fe7e0c4f9072950f89cfd36b.tar.bz2 |
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
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r-- | gcc/genrecog.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |