OSDN Git Service

* config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2005-01-03  Richard Henderson  <rth@redhat.com>
2
3         * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
4         (ia64_const_ok_for_letter_p): New.
5         (ia64_const_double_ok_for_letter_p): New.
6         (ia64_extra_constraint): New.
7         (ia64_expand_vecint_compare): New.
8         (ia64_expand_vcondu_v2si): New.
9         (ia64_expand_vecint_cmov): New.
10         (ia64_expand_vecint_minmax): New.
11         (ia64_print_operand): Add 'v'.
12         (ia64_preferred_reload_class): New.
13         (ia64_vector_mode_supported_p): New.
14         * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
15         (PREFERRED_RELOAD_CLASS): Move to function.
16         (CONST_OK_FOR_LETTER_P): Move to function.
17         (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
18         (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
19         (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
20         (EXTRA_CONSTRAINT): Move to function.
21         * config/ia64/ia64.md: Include vect.md.
22         (itanium_class): Add mmalua.
23         (type): Handle it.
24         * config/ia64/itanium1.md (1_mmalua): New.  Add it to bypasses.
25         (1b_mmalua): New.
26         * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
27         * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
28         CONST0_RTX.
29         (const_int_2bit_operand): New.
30         (fr_reg_or_0_operand): New.
31         * config/ia64/ia64-modes.def: Add vector modes.
32         * config/ia64/ia64-protos.h: Update.
33         * config/ia64/vect.md: New file.
34
35 2005-01-03  Richard Henderson  <rth@redhat.com>
36
37         * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
38
39 2005-01-03  Uros Bizjak  <uros@kss-loka.si>
40
41         PR target/19236
42         * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
43         to SFmode.
44         (log1pdf2): Change mode of operands[0,1] to DFmode.
45
46 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
47
48         * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
49         * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
50         * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
51         * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
52         SPARC_RELAXED_ORDERING.
53
54 2005-01-03  Richard Henderson  <rth@redhat.com>
55             Uros Bizjak  <uros@kss-loka.si>
56
57         PR target/14631
58         * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
59         IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
60         * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
61         handling.
62         (*mmx_pinsrw, *sse2_pinsrw): New patterns.
63         * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
64         const_pow2_1_to_128_operand): New predicates.
65
66 2005-01-02  Greg McGary  <greg@mcgary.org>
67
68         * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
69         anonymous decls.
70         (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
71         object.  [ptr_type]: Remove unused variable.
72         Remember nearest addressable array-element or record-component
73         when checking bitfield components.  Tolerate empty BIND_EXPR.
74
75 2005-01-01  Richard Henderson  <rth@redhat.com>
76
77         * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
78         that don't narrow the value.  Fail for other conversions.
79
80 2005-01-01  Richard Henderson  <rth@redhat.com>
81
82         PR c/19031
83         * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
84         * c-lang.c (finish_file): Don't do it here.
85         * objc/objc-act.c (objc_finish_file): Likewise.
86
87         * cgraph.c (decl_assembler_name_equal): New.
88         (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
89         (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
90         * cgraph.h (struct cgraph_varpool_node): Add next.
91         (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
92         * varasm.c (assemble_alias): Mark the target as needed.
93
94 2005-01-01  Andrew Pinski  <pinskia@physics.uc.edu>
95
96         PR middle-end/19221
97         * function.c (get_arg_pointer_save_area): Use entry_of_function
98         instead of get_insns.
99
100 2005-01-01  Roger Sayle  <roger@eyesopen.com>
101             Andrew Pinski  <pinskia@physics.uc.edu>
102             James E. Wilson  <wilson@specifixinc.com>
103
104         PR rtl-optimization/12092
105         * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
106         is zero.
107
108 2005-01-01  Roger Sayle  <roger@eyesopen.com>
109             Olivier Hainque  <hainque@act-europe.fr>
110
111         * tree.c (int_fits_type_p): A narrower type always fits in a
112         wider one, except for negative values into unsigned types.
113
114 2005-01-01  Roger Sayle  <roger@eyesopen.com>
115
116         * tree.c (int_fits_type_p): Compare the result of force_fit_type
117         with the original constant rather than require TREE_OVERFLOW.
118
119 2005-01-01  Steven Bosscher  <stevenb@suse.de>
120
121         PR middle-end/17544
122         * c-decl.c (finish_function): If compiling C99, annotate the
123         compiler generated return with the current file name and line 0.
124         * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
125         the source line is greater than 0.
126         (remove_bb): Likewise.
127
128 See ChangeLog.12 for earlier changes.