re PR target/8603 ([Alpha] s?addl pattern doesn't work)

PR target/8603
	* config/alpha/alpha.md (addsi3): Remove expander.
	(addsi3): Rename from *addsi3_internal insn pattern.
	(subsi3): Remove expander.
	(subsi3): Rename from *subsi3_internal insn pattern.

From-SVN: r150723
This commit is contained in:
Uros Bizjak 2009-08-13 20:57:15 +02:00
parent 5b3551c7a3
commit e4e9e32692
2 changed files with 40 additions and 47 deletions

View File

@ -1,7 +1,18 @@
2009-08-13 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline:
2009-08-11 Uros Bizjak <ubizjak@gmail.com>
PR target/8603
* config/alpha/alpha.md (addsi3): Remove expander.
(addsi3): Rename from *addsi3_internal insn pattern.
(subsi3): Remove expander.
(subsi3): Rename from *subsi3_internal insn pattern.
2009-08-13 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/41033
* alias.c (nonoverlapping_component_refs_p): Punt when strict
* alias.c (nonoverlapping_component_refs_p): Punt when strict
aliasing is disabled.
2009-08-11 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
@ -22,8 +33,7 @@
2009-08-09 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41016
* tree-ssa-ifcombine.c (get_name_for_bit_test): Fix tuplification
bug.
* tree-ssa-ifcombine.c (get_name_for_bit_test): Fix tuplification bug.
(operand_precision): Remove.
(integral_operand_p): Likewise.
(recognize_single_bit_test): Adjust.
@ -64,7 +74,7 @@
constants referencing TLS symbols.
2009-07-30 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (override_options): Default
max-unrolled-insns to 100 for z10 tuning.
@ -72,7 +82,7 @@
* config/s390/constraints.md (ZQ, ZR, ZS, ZT): New constraints.
(U, W): Constraints are now deprecated and will be removed if we
run out of letters.
run out of letters.
* config/s390/s390.md (U, W): Replaced with ZQZR, ZSZT throughout
the file.
("prefetch"): Add the stcmh instruction for prefetching.
@ -148,7 +158,7 @@
Backport from mainline:
2009-04-29 Richard Guenther <rguenther@suse.de>
PR target/39943
* config/i386/i386.c (ix86_vectorize_builtin_conversion): Only
allow conversion to signed integers.
@ -235,7 +245,7 @@
PR target/40587
* ira.c (build_insn_chain): Use DF_LR_OUT instead of
df_get_live_out.
2009-07-02 Richard Guenther <rguenther@suse.de>
PR middle-end/40585
@ -246,9 +256,9 @@
Backport from mainline:
2009-05-11 Martin Jambor <mjambor@suse.cz>
* ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.
2009-06-30 Jakub Jelinek <jakub@redhat.com>
PR c++/40566
@ -1315,7 +1325,7 @@
2009-03-27 Xinliang David Li <davidxl@google.com>
PR tree-optimization/39548
* tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy
* tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy
candidate check.
2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
@ -2198,7 +2208,7 @@
2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39308
* graphite.c (graphite_loop_normal_form): Do not call
* graphite.c (graphite_loop_normal_form): Do not call
number_of_iterations_exit from a gcc_assert.
2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
@ -2297,7 +2307,7 @@
PR c++/38880
* varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
narrowing_initializer_constant_valid_p.
(narrowing_initializer_constant_valid_p): Don't return
(narrowing_initializer_constant_valid_p): Don't return
null_pointer_node for adding a pointer to itself.
2009-02-23 Jan Hubicka <jh@suse.cz>
@ -2989,7 +2999,7 @@
* c-common.c (handle_tls_model_attribute): Ignore attribute for
non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
@ -3317,7 +3327,7 @@
count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
Remove flag_ira.
(finish_spills): Ditto. Remove code for !flag_ira.
2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
PR middle-end/35854
@ -3330,8 +3340,7 @@
"eh-ranges" to "eh_ranges".
* lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
to "subreg1".
2009-01-29 Andrey Belevantsev <abel@ispras.ru>
Alexander Monakov <amonakov@ispras.ru>
@ -3704,7 +3713,7 @@
2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
* common.opt (fgraphite, fgraphite-identity): Add comment for
* common.opt (fgraphite, fgraphite-identity): Add comment for
explaining why these options are not documented.
2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
@ -3826,7 +3835,7 @@
2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
Tobias Grosser <tobi.grosser@amd.com>
* graphite.c (add_conditions_to_domain): Add the loops to
* graphite.c (add_conditions_to_domain): Add the loops to
the dimension of the iteration domain. Do copy the domain
only when it exists.
(build_scop_conditions_1): Do not call add_conditions_to_domain.
@ -3847,7 +3856,7 @@
* dce.c (delete_unmarked_insns): Reversed the order that insns are
examined before deleting them.
2009-01-16 Richard Earnshaw <rearnsha@arm.com>
* function.c (aggregate_value_p): Correctly extract the function
@ -3887,7 +3896,7 @@
2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com>
* dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
2009-01-14 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/38245
@ -3922,7 +3931,7 @@
* graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
(scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
(gloog): Do not call cleanup_tree_cfg.
(graphite_transform_loops): Call cleanup_tree_cfg after all
(graphite_transform_loops): Call cleanup_tree_cfg after all
scops have been code generated.
2009-01-14 Basile Starynkevitch <basile@starynkevitch.net>
@ -4063,7 +4072,7 @@
2009-01-11 Laurent GUERBY <laurent@guerby.net>
* doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
2009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de>
PR debug/7055
@ -4186,7 +4195,7 @@
PR tree-optimization/37194
* tree-vect-transform.c (vect_estimate_min_profitable_iters):
Don't add the cost of cost model guard in prologue to scalar
Don't add the cost of cost model guard in prologue to scalar
outside cost in case of known number of iterations.
2009-01-07 Nathan Froyd <froydnj@codesourcery.com>
@ -4385,9 +4394,9 @@
* params.def (ira-max-conflict-table-size): New.
* doc/invoke.texi (ira-max-conflict-table-size): Decribe.
* ira.h (ira_conflicts_p): New external definition.
* ira-conflicts.c (build_conflict_bit_table): Do not build too big
table. Report this. Return result of building.
(ira_build_conflicts): Use ira_conflicts_p. Check result of
@ -4395,13 +4404,13 @@
* ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
(ira_color): Use ira_conflicts_p.
* global.c: Include ira.h.
(pseudo_for_reload_consideration_p, build_insn_chain): Use
ira_conflicts_p.
* Makefile.in (global.o): Add ira.h.
* ira-build.c (mark_all_loops_for_removal,
propagate_some_info_from_allocno): New.
(remove_unnecessary_allocnos): Call
@ -4419,7 +4428,7 @@
* reload1.c (compute_use_by_pseudos, reload, count_pseudo,
count_spilled_pseudo, find_reg, alter_reg, finish_spills,
emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
2009-01-06 Ben Elliston <bje@au.ibm.com>
* gengtype-lex.l (YY_NO_INPUT): Define.
@ -4609,7 +4618,7 @@
* df-problems.c (df_lr_finalize): Add recursive call to resolve lr
problem if fast dce is able to remove any instructions.
* dce.c (dce_process_block): Fix dump message.
2009-01-02 Mark Mitchell <mark@codesourcery.com>
PR 33649

View File

@ -256,16 +256,7 @@
(sign_extend:DI (match_dup 1)))]
"")
;; Don't say we have addsi3 if optimizing. This generates better code. We
;; have the anonymous addsi3 pattern below in case combine wants to make it.
(define_expand "addsi3"
[(set (match_operand:SI 0 "register_operand" "")
(plus:SI (match_operand:SI 1 "reg_or_0_operand" "")
(match_operand:SI 2 "add_operand" "")))]
"! optimize"
"")
(define_insn "*addsi_internal"
(define_insn "addsi3"
[(set (match_operand:SI 0 "register_operand" "=r,r,r,r")
(plus:SI (match_operand:SI 1 "reg_or_0_operand" "%rJ,rJ,rJ,rJ")
(match_operand:SI 2 "add_operand" "rI,O,K,L")))]
@ -619,14 +610,7 @@
""
"subqv $31,%1,%0")
(define_expand "subsi3"
[(set (match_operand:SI 0 "register_operand" "")
(minus:SI (match_operand:SI 1 "reg_or_0_operand" "")
(match_operand:SI 2 "reg_or_8bit_operand" "")))]
"! optimize"
"")
(define_insn "*subsi_internal"
(define_insn "subsi3"
[(set (match_operand:SI 0 "register_operand" "=r")
(minus:SI (match_operand:SI 1 "reg_or_0_operand" "rJ")
(match_operand:SI 2 "reg_or_8bit_operand" "rI")))]