diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-01 23:30:25 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-01 23:30:25 +0000 |
commit | 96f57e365c008c4825c9c88e90db818ec4c99aad (patch) | |
tree | 800c0614ebfab133a3ab5aa61799f6bcbbd0d6ab /gcc/genemit.c | |
parent | b0cdf64212b0111e4fc098a73ba5992bd50a24dc (diff) | |
download | gcc-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/genemit.c')
-rw-r--r-- | gcc/genemit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 00cf8423201..c31b1fb1909 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -599,8 +599,9 @@ gen_split (rtx split) } else { - printf ("extern rtx gen_split_%d (rtx *);\n", insn_code_number); - printf ("rtx\ngen_%s_%d (rtx *operands%s)\n", name, insn_code_number, unused); + printf ("extern rtx gen_split_%d (rtx, rtx *);\n", insn_code_number); + printf ("rtx\ngen_split_%d (rtx curr_insn ATTRIBUTE_UNUSED, rtx *operands%s)\n", + insn_code_number, unused); } printf ("{\n"); |