]>
Commit | Line | Data |
---|---|---|
eb0bc7af ZD |
1 | 2005-01-09 Zdenek Dvorak <dvorakz@suse.cz> |
2 | ||
3 | PR tree-optimization/19224 | |
4 | * tree-scalar-evolution.c (get_instantiated_value, | |
5 | set_instantiated_value): New functions. | |
6 | (instantiate_parameters_1): Cache the results. | |
7 | (instantiate_parameters, resolve_mixers): Initialize and free | |
8 | the cache. | |
9 | ||
d1c9ce9f DE |
10 | 2005-01-08 David Edelsohn <edelsohn@gnu.org> |
11 | ||
12 | * config/i386/i386.md (addhi_4): Correct reference in comment. | |
13 | (addqi_4): Same. | |
14 | ||
ef719a44 RH |
15 | 2005-01-08 Richard Henderson <rth@redhat.com> |
16 | ||
17 | * config/i386/emmintrin.h (_mm_cvtsi128_si32): Move earlier. | |
18 | (_mm_cvtsi128_si64x): Likewise. | |
19 | (_mm_srl_epi64, _mm_srl_epi32, _mm_srl_epi16, _mm_sra_epi32, | |
20 | _mm_sra_epi16, _mm_sll_epi64, _mm_sll_epi32, _mm_sll_epi16): Use | |
21 | the _mm_{srl,sll}i_foo counterpart, and _mm_cvtsi128_si32. | |
22 | * config/i386/i386-modes.def: Add V16HI, V32QI, V4DF, V8SF. | |
23 | * config/i386/i386-protos.h: Update. | |
24 | * config/i386/i386.c (print_operand): Add 'H'. | |
25 | (ix86_fixup_binary_operands): Split out from ... | |
26 | (ix86_expand_binary_operator): ... here. | |
27 | (ix86_fixup_binary_operands_no_copy): New. | |
28 | (ix86_expand_fp_absneg_operator): Handle vector mode results. | |
29 | (bdesc_2arg): Update names for sse{,2,3}_ prefixes. | |
30 | (ix86_init_mmx_sse_builtins): Remove *maskncmp* special cases. | |
31 | (safe_vector_operand): Use CONST0_RTX. | |
32 | (ix86_expand_binop_builtin): Use ix86_fixup_binary_operands. | |
33 | (ix86_expand_builtin): Merge CODE_FOR_sse2_maskmovdqu_rex64 and | |
34 | CODE_FOR_sse2_maskmovdqu. Special case SSE version of MASKMOVDQU | |
35 | expansion. Update names for sse{,2,3}_ prefixes. Remove *maskncmp* | |
36 | special cases. | |
37 | * config/i386/i386.h (IX86_BUILTIN_CMPNGTSS): New. | |
38 | (IX86_BUILTIN_CMPNGESS): New. | |
39 | * config/i386/i386.md (UNSPEC_FIX_NOTRUNC): New. | |
40 | (attr type): Add sselog1. | |
41 | (attr unit, attr memory): Handle it. | |
42 | (movti, movti_internal, movti_rex64): Move near other integer moves. | |
43 | (movtf, movtf_internal): Move near other fp moves. | |
44 | (SSEMODE, SSEMODEI, vec_setv2df, vec_extractv2df, vec_initv2df, | |
45 | vec_setv4sf, vec_extractv4sf, vec_initv4sf, movv4sf, movv4sf_internal, | |
46 | movv2df, movv2df_internal, mov<SSEMODEI>, mov<SSEMODEI>_internal, | |
47 | movmisalign<SSEMODE>, sse_movups_1, sse_movmskps, sse_movntv4sf, | |
48 | sse_movhlps, sse_movlhps, sse_storehps, sse_loadhps, sse_storelps, | |
49 | sse_loadlps, sse_loadss, sse_loadss_1, sse_movss, sse_storess, | |
50 | sse_shufps, addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, negv4sf2, | |
51 | mulv4sf3, vmmulv4sf3, divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, | |
52 | rsqrtv4sf2, vmrsqrtv4sf2, sqrtv4sf2, vmsqrtv4sf2, sse_andv4sf3, | |
53 | sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3, sse2_andv2df3, | |
54 | sse2_nandv2df3, sse2_iorv2df3, sse2_xorv2df3, sse2_andv2di3, | |
55 | sse2_nandv2di3, sse2_iorv2di3, sse2_xorv2di3, maskcmpv4sf3, | |
56 | vmmaskcmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps, | |
57 | smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi, | |
58 | cvttps2pi, cvtsi2ss, cvtsi2ssq, cvtss2si, cvtss2siq, cvttss2si, | |
59 | cvttss2siq, addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, | |
60 | vmmulv2df3, divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, | |
61 | vmsminv2df3, sqrtv2df2, vmsqrtv2df2, maskcmpv2df3, vmmaskcmpv2df3, | |
62 | sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb, sse2_maskmovdqu, | |
63 | sse2_maskmovdqu_rex64, sse2_movntv2df, sse2_movntv2di, sse2_movntsi, | |
64 | cvtdq2ps, cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, | |
65 | cvtpd2pi, cvttpd2pi, cvtpi2pd, cvtsd2si, cvtsd2siq, cvttsd2si, | |
66 | cvttsd2siq, cvtsi2sd, cvtsi2sdq, cvtsd2ss, cvtss2sd, cvtpd2ps, | |
67 | cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3, ssaddv16qi3, | |
68 | ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3, subv4si3, | |
69 | subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3, mulv8hi3, | |
70 | smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3, | |
71 | sse2_umulv2siv2di3, sse2_pmaddwd, sse2_uavgv16qi3, sse2_uavgv8hi3, | |
72 | sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd, sse2_pshuflw, | |
73 | sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3, gtv8hi3, | |
74 | gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3, ashrv8hi3, | |
75 | ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3, ashlv4si3, | |
76 | ashlv2di3, sse2_ashlti3, sse2_lshrti3, sse2_unpckhpd, sse2_unpcklpd, | |
77 | sse2_packsswb, sse2_packssdw, sse2_packuswb, sse2_punpckhbw, | |
78 | sse2_punpckhwd, sse2_punpckhdq, sse2_punpcklbw, sse2_punpcklwd, | |
79 | sse2_punpckldq, sse2_punpcklqdq, sse2_punpckhqdq, sse2_movupd, | |
80 | sse2_movdqu, sse2_movdq2q, sse2_movdq2q_rex64, sse2_movq2dq, | |
81 | sse2_movq2dq_rex64, sse2_loadd, sse2_stored, sse2_storehpd, | |
82 | sse2_loadhpd, sse2_storelpd, sse2_loadlpd, sse2_movsd, sse2_loadsd, | |
83 | sse2_loadsd_1, sse2_storesd, sse2_shufpd, sse2_clflush, sse2_mfence, | |
84 | mfence_insn, sse2_lfence, lfence_insn, mwait, monitor, addsubv4sf3, | |
85 | addsubv2df3, haddv4sf3, haddv2df3, hsubv4sf3, hsubv2df3, movshdup, | |
86 | movsldup, lddqu, loadddup, movddup): Move to sse.md. Any with | |
87 | non-optabs meanings renamed with an "sse{,2,3}_" prefix at the | |
88 | same time. | |
89 | (SSEPUSH, push<SSEPUSH>): Remove. | |
90 | (MMXPUSH, push<MMXPUSH>): Remove. | |
91 | (sse_movaps, sse_movaps_1, sse_movups): Remove. | |
92 | (sse2_movapd, sse2_movdqa, sse2_movq): Remove. | |
93 | (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Remove. | |
94 | (sse_clrv4sf, sse_clrv2df, sse2_clrti): Remove. | |
95 | (maskncmpv4sf3, vmmaskncmpv4sf3): Remove. | |
96 | (maskncmpv2df3, vmmaskncmpv2df3): Remove. | |
97 | (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti): Remove. | |
98 | (lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti): Remove. | |
99 | * config/i386/athlon.md (athlon_sselog_load): Handle sselog1. | |
100 | (athlon_sselog_load_k8, athlon_sselog, athlon_sselog_k8): Likewise. | |
101 | * config/i386/ppro.md (ppro_sse_div_V4SF_load): Fix memory attr. | |
102 | (ppro_sse_log_V4SF_load): Similarly. Handle sselog1. | |
103 | (ppro_sse_log_V4SF): Handle sselog1. | |
104 | * config/i386/predicates.md (const_0_to_1_operand): New. | |
105 | (const_0_to_255_mul_8_operand): New. | |
106 | (const_1_to_31_operand): Rename from const_int_1_31_operand. | |
107 | (const_2_to_3_operand, const_4_to_7_operand): New. | |
108 | * config/i386/sse.md: New file. | |
109 | (SSEMODE12, SSEMODE24, SSEMODE124, SSEMODE248, ssevecsize): New. | |
110 | (sse_movups): Rename from sse_movups_1. | |
111 | (sse_loadlss): Rename from sse_loadss_1. | |
112 | (andv4sf3, iorv4sf3, xorv4sf3, andv2df3): Remove the sse prefix | |
113 | from the name. | |
114 | (negv4sf2): Use ix86_expand_fp_absneg_operator. | |
115 | (absv4sf2, negv2df, absv2df): New. | |
116 | (addv4sf3): Add expander to call ix86_fixup_binary_operands_no_copy. | |
117 | (subv4sf3, mulv4sf3, divv4sf3, smaxv4sf3, sminv4sf3, andv4sf3, | |
118 | iorv4sf3, xorv4sf3, addv2df3, subv2df3, mulv2df3, divv2df3, | |
119 | smaxv2df3, sminv2df3, andv2df3, iorv2df3, xorv2df3, mulv8hi3, | |
120 | umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3): Likewise. | |
121 | (sse3_addsubv4sf3): Model correctly. | |
122 | sse3_haddv4sf3, sse3_hsubv4sf3, sse3_addsubv2df3, sse3_haddv2df3, | |
123 | sse3_hsubv2df3, sse2_ashlti3, sse2_lshrti3): Likewise. | |
124 | (sse_movhlps): Model with vec_select+vec_concat. | |
125 | (sse_movlhps, sse_unpckhps, sse_unpcklps, sse3_movshdup, | |
126 | sse3_movsldup, sse_shufps, sse_shufps_1, sse2_unpckhpd, sse3_movddup, | |
127 | sse2_unpcklpd, sse2_shufpd, sse2_shufpd_1, sse2_punpckhbw, | |
128 | sse2_punpcklbw, sse2_punpckhwd, sse2_punpcklwd, sse2_punpckhdq, | |
129 | sse2_punpckldq, sse2_punpckhqdq, sse2_punpcklqdq, sse2_pshufd, | |
130 | sse2_pshufd_1, sse2_pshuflw, sse2_pshuflw_1, sse2_pshufhw, | |
131 | sse2_pshufhw_1): Likewise. | |
132 | (neg<SSEMODEI>2, one_cmpl<SSEMODEI>2): New. | |
133 | (add<SSEMODEI>3, sse2_ssadd<SSEMODE12>3, sse2_usadd<SSEMODE12>3, | |
134 | sub<SSEMODEI>3, sse2_sssub<SSEMODE12>3, sse2_ussub<SSEMODE12>3, | |
135 | ashr<SSEMODE24>3, lshr<SSEMODE248>3, sse2_eq<SSEMODE124>3, | |
136 | sse2_gt<SSEMODDE124>3, and<SSEMODEI>3, sse_nand<SSEMODEI>3, | |
137 | ior<SSEMODEI>3, xor<SSEMODEI>3): Macroize from existing patterns. | |
138 | (addv4sf3, sse_vmaddv4sf3, mulv4sf3, sse_vmmulv4sf3, smaxv4sf3, | |
139 | sse_vmsmaxv4sf3, sminv4sf3, sse_vmsminv4sf3, addv2df3, sse2_vmaddv2df3, | |
140 | mulv2df3, sse2_vmmulv2df3, smaxv2df3, sse2_vmsmaxv2df3, sminv2df3, | |
141 | sse2_vmsminv2df3, umaxv16qi3, smaxv8hi3, uminv16qi3 | |
142 | sminv8hi3): Mark commutative | |
143 | operands. Use ix86_binary_operator_ok. | |
144 | (sse_unpckhps, sse_unpcklps, sse2_packsswb, sse2_packssdw, | |
145 | sse2_packuswb, sse2_punpckhbw, sse2_punpcklbw, sse2_punpckhwd, | |
146 | sse2_punpcklwd, sse2_punpckhdq, sse2_punpckldq, sse2_punpckhqdq, | |
147 | sse2_punpcklqdq): Allow operand2 in memory. | |
148 | (sse_movhlps, sse_movlhps, sse2_unpckhpd, sse2_unpcklpd | |
149 | sse2_movsd): Add memory alternatives. | |
150 | (sse_storelps): Turn expander into an insn; split after reload. | |
151 | (sse_storess, sse2_loadhpd, sse2_loadlpd): Add non-xmm inputs. | |
152 | (sse2_storehpd, sse2_storelpd): Add non-xmm outputs. | |
153 | ||
080a5bb0 EB |
154 | 2005-01-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
155 | ||
156 | * configure.ac (DWARF-2 debug_line): Use objdump. | |
157 | * configure: Regenerate. | |
158 | ||
e79b60a7 DN |
159 | 2005-01-08 Jeff Law <law@redhat.com> |
160 | Diego Novillo <dnovillo@redhat.com> | |
161 | ||
a6331d85 | 162 | PR tree-optimization/18241 |
e79b60a7 DN |
163 | * tree-nrv.c (tree_nrv): Ignore volatile return values. |
164 | * tree-ssa-dse.c (dse_optimize_stmt): Do not optimize | |
165 | statements with volatile operands. | |
166 | * tree-ssa-operands.c (add_stmt_operand): Do add volatile | |
167 | operands after marking a statement with has_volatile_ops. | |
168 | ||
4634cf7e RS |
169 | 2005-01-08 Roger Sayle <roger@eyesopen.com> |
170 | ||
171 | * tree.c (int_fits_type_p): Always honor integer constant | |
172 | TYPE_MIN_VALUE and TYPE_MAX_VALUE if they exist. | |
173 | ||
88c0f1c6 RS |
174 | 2005-01-08 Roger Sayle <roger@eyesopen.com> |
175 | ||
176 | * ifcvt.c (find_if_case_1): Reinstate 2005-01-04 change, now that | |
177 | the latent bug in rtl_delete_block has been resolved. | |
178 | ||
37e30acc RS |
179 | 2005-01-08 Richard Sandiford <rsandifo@redhat.com> |
180 | ||
181 | * config/mips/t-iris6 (MULTILIB_DIRNAMES): Use -mabi argument values. | |
182 | (MULTILIB_OSDIRNAMES): Use the standard lib, lib32 and lib64. | |
183 | ||
943cb1d0 RS |
184 | 2005-01-08 Richard Sandiford <rsandifo@redhat.com> |
185 | ||
186 | * config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the | |
187 | library as @multilib_dir@/$(SHLIB_SONAME). | |
188 | ||
1b5c0152 EB |
189 | 2005-01-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
190 | ||
191 | * configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo. | |
192 | * configure: Regenerate. | |
193 | ||
b827788f JJ |
194 | 2005-01-07 Jakub Jelinek <jakub@redhat.com> |
195 | ||
196 | * c-common.c (handle_mode_attribute): For ENUMERAL_TYPE, also copy | |
197 | TYPE_MODE. | |
198 | ||
4937d02d DE |
199 | 2005-01-07 David Edelsohn <edelsohn@gnu.org> |
200 | ||
201 | PR target/13674 | |
202 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): | |
203 | Convert non-word aligned offset address using ld/std into | |
204 | indirect address. | |
205 | ||
db396999 RH |
206 | 2005-01-07 Richard Henderson <rth@redhat.com> |
207 | ||
208 | * config/i386/i386.md (sse_loadhps splitter): Fix operand number typo. | |
209 | ||
4600cc14 RS |
210 | 2005-01-07 Richard SAndiford <rsandifo@redhat.com> |
211 | ||
212 | * tree.h (IS_EXPR_CODE_CLASS): Use a straight-forward range check. | |
213 | ||
8870e212 JJ |
214 | 2005-01-07 Jakub Jelinek <jakub@redhat.com> |
215 | ||
2a0958c5 JJ |
216 | PR tree-optimization/19283 |
217 | * fold-const.c (fold_widened_comparison): Return NULL if shorter_type | |
218 | is not shorter than the original type. | |
219 | ||
ebc0c8bb JJ |
220 | PR rtl-optimization/19012 |
221 | * config/i386/i386.md (addqi_1_slp): Set memory attribute. | |
222 | ||
0210ae14 JJ |
223 | PR rtl-optimization/18861 |
224 | * cfgbuild.c (BLOCK_USED_BY_TABLEJUMP): Define. | |
225 | (FULL_STATE): Define. | |
226 | (mark_tablejump_edge): New function. | |
227 | (purge_dead_tablejump_edges): New function. | |
228 | (find_bb_boundaries): Use it. | |
229 | ||
8870e212 JJ |
230 | PR tree-optimization/18828 |
231 | * builtins.c (expand_builtin_next_arg): Remove argument and all | |
232 | the argument checking. | |
233 | (expand_builtin): Adjust caller. | |
234 | (expand_builtin_va_start): Likewise. Remove error for too many | |
235 | arguments. | |
236 | (fold_builtin_next_arg): Issue error for too many arguments. | |
237 | After checking arguments, replace them with magic arguments that | |
238 | prevent further checking of the args. | |
239 | ||
9fb29c46 JDA |
240 | 2005-01-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
241 | ||
242 | * pa64-hpux.h (STARTFILE_SPEC): Fix typo in spec. | |
243 | ||
9a3bf943 RS |
244 | 2005-01-06 Roger Sayle <roger@eyesopen.com> |
245 | ||
246 | PR target/6077 | |
247 | * gcc.c (input_suffix_matches): Tweak the semantics of %{.s:...} | |
248 | and %{.S:...} (and their negative variants) to test whether the | |
249 | input file is assembler or pre-processed-assembler independent of | |
250 | the actual filename extension. | |
251 | ||
c79fc296 RS |
252 | 2005-01-06 Roger Sayle <roger@eyesopen.com> |
253 | ||
254 | * simplify-rtx.c (simplify_subreg): Simplify truncations of shifts | |
255 | of sign or zero extended values. | |
256 | ||
59d7d767 GK |
257 | 2005-01-06 Geoffrey Keating <geoffk@apple.com> |
258 | ||
259 | * c-cppbuiltin.c (builtin_define_float_constants): Set __*_EPSILON__ | |
260 | for IBM long double format correctly. | |
261 | ||
1f24dd47 DB |
262 | 2005-01-06 Daniel Berlin <dberlin@dberlin.org> |
263 | ||
264 | Fix PR tree-optimization/18792 | |
265 | ||
266 | * tree-data-ref.c (build_classic_dist_vector): Change first_loop | |
267 | to first_loop_depth, and use loop depth instead of loop number. | |
268 | (build_classic_dir_vector): Ditto. | |
269 | (compute_data_dependences_for_loop): Use depth, not loop number. | |
270 | * tree-loop-linear.c (try_interchange_loops): Use loop depth, not loop | |
271 | number. Pass in loops, instead of loop numbers. | |
272 | (gather_interchange_stats): Ditto. | |
273 | (linear_transform_loops): Ditto. | |
274 | ||
27916b83 RS |
275 | 2005-01-06 Richard Sandiford <rsandifo@redhat.com> |
276 | ||
277 | PR rtl-opt/13299 | |
278 | * loop.c (get_monotonic_increment, biased_biv_fits_mode_p, | |
279 | biv_fits_mode_p, extension_within_bounds_p): New functions. | |
280 | (check_ext_dependent_givs): Use them. | |
281 | ||
4ab80063 RS |
282 | 2005-01-06 Roger Sayle <roger@eyesopen.com> |
283 | ||
284 | * cfgrtl.c (rtl_delete_block): A basic block may be followed by | |
285 | more than one barrier, in which case we should delete them all. | |
286 | ||
12d3e34b TS |
287 | 2005-01-06 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
288 | ||
289 | * gcc.c (process_command): Change year in 'gcc --version' to 2005. | |
290 | ||
9acf766f DB |
291 | 2005-01-05 Daniel Berlin <dberlin@dberlin.org> |
292 | ||
293 | Fix PR middle-end/19286 | |
294 | Fix PR debug/19267 | |
295 | * dwarf2out.c (gen_subprogram_die): If we've already tried to | |
296 | output this subprogram, simply ignore this attempt to do it again. | |
297 | (add_abstract_origin_attribute): Don't abort trying to add the abstract | |
298 | origin attribute if it's not possible. | |
299 | (gen_block_die): Don't ignore subblocks of "unused" blocks. | |
300 | (decls_for_scope): Ditto. | |
301 | * gimple-low.c (mark_blocks_with_used_subblocks): Remove. | |
302 | (mark_used_blocks): Don't call mark_blocks_with_used_subblocks. | |
303 | ||
e358acde RH |
304 | 2005-01-05 Richard Henderson <rth@redhat.com> |
305 | ||
306 | PR target/11327 | |
307 | * config/i386/i386.c (BUILTIN_DESC_SWAP_OPERANDS): New. | |
308 | (bdesc_2arg): Use it. | |
309 | (ix86_expand_binop_builtin): Force operands into registers | |
310 | when optimizing. | |
311 | (ix86_expand_unop_builtin, ix86_expand_unop1_builtin, | |
312 | ix86_expand_sse_compare, ix86_expand_sse_comi, | |
313 | ix86_expand_builtin): Likewise. | |
314 | ||
051d8245 RH |
315 | 2005-01-05 Richard Henderson <rth@redhat.com> |
316 | ||
317 | * config/ia64/ia64.c (rtx_needs_barrier): Handle CONST_VECTOR | |
318 | and VEC_SELECT. | |
319 | * config/ia64/vect.md (mulv8qi3): Re-implement with mix_[rl]. | |
320 | (mulv4hi3): Set itanium_class mmmul. | |
321 | (fpack_sfxf, fpack_xfsf, fpack_xfxf): Remove. | |
322 | (fpack): Rename from fpack_sfsf. | |
323 | ||
19f17bb9 RH |
324 | 2005-01-05 Richard Henderson <rth@redhat.com> |
325 | ||
326 | PR rtl-opt/10692 | |
327 | * reload1.c (do_input_reload): Restrict the optimization deleteing | |
328 | a previous output reload to RELOAD_FOR_INPUT. | |
329 | ||
46d096a3 SB |
330 | 2005-01-05 Steven Bosscher <stevenb@suse.de> |
331 | ||
332 | * combine.c (expand_compound_operation) <ZERO_EXTRACT>: Add | |
333 | comment that we fall through after case. | |
334 | (mark_used_regs_combine): Don't expect a SIGN_EXTRACT in a SET_DEST. | |
335 | (distribute_links): Likewise. | |
336 | * cse.c (cse_insn): Likewise. | |
337 | * cselib.c (cselib_invalidate_mem): Likewise. | |
338 | * df.c: Update comments at the top of the file. | |
339 | (read_modify_subreg_p): Update comments here too. | |
340 | (df_def_record_1): Don't expect a SIGN_EXTRACT in a SET_DEST. | |
341 | * flow.c (mark_set_1): Likewise. | |
342 | (mark_used_regs): Likewise. | |
343 | * gcse.c (mems_conflict_for_gcse_p): Likewise. | |
344 | (canon_list_insert): Likewise. | |
345 | (mark_set): Likewise. | |
346 | (try_replace_reg): Likewise. | |
347 | (store_killed_in_insn): Likewise. | |
348 | * loop.c (count_one_set): Likewise. | |
349 | (basic_induction_var): Likewise. | |
350 | * postreload-gcse.c (find_mem_conflicts): Likewise. | |
351 | * postreload.c (reload_combine_note_store): Likewise. | |
352 | (move2add_note_store): Likewise. | |
353 | * reload.c (find_equiv_reg): Likewise. | |
354 | (mark_referenced_resources): Likewise. | |
355 | * rtlanal.c (set_noop_p): Likewise. | |
356 | (note_stores): Likewise. | |
357 | (note_uses): Likewise. | |
358 | * sched-deps.c (sched_analyze_1): Likewise. | |
359 | * sched-rgn.c (check_live_1): Likewise. | |
360 | (update_live_1): Likewise. | |
361 | * config/i860/i860.c: Likewise. | |
362 | ||
363 | * rtl.dec (SIGN_EXTRACT): Document that this cannot appear as | |
364 | an lvalue. | |
365 | (ZERO_EXTRACT): Mention that this one can be an lvalue. | |
366 | ||
367 | * doc/rtl.texi: Update documentation for bit-fields and SET. | |
368 | ||
65a878f5 RS |
369 | 2005-01-05 Roger Sayle <roger@eyesopen.com> |
370 | ||
371 | * ifcvt.c (find_if_case_1): Revert 2005-01-04 change. | |
372 | ||
d2ad2c8a JH |
373 | 2005-01-05 Jan Hubicka <jh@suse.cz> |
374 | Richard Henderson <rth@redhat.com> | |
375 | ||
376 | PR target/18910 | |
377 | * config/i386/i386.c (ix86_expand_move): Handle tls symbols | |
378 | with an offset. | |
379 | ||
2cdb3148 RH |
380 | 2005-01-05 Richard Henderson <rth@redhat.com> |
381 | ||
382 | PR target/12902 | |
383 | * config/i386/i386.md (sse_movhps, sse_movlps): Remove. | |
384 | (sse_shufps): Change operand 3 to const_int_operand. | |
385 | (sse2_storelps): Fix typo in template. | |
386 | (sse_storehps, sse_loadhps, sse_storelps, sse_loadlps): New. | |
387 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Use them. | |
388 | (ix86_expand_builtin): Likewise. | |
389 | ||
390 | 2005-01-05 Julian Brown <julian@codesourcery.com> | |
3dd7ab65 JB |
391 | |
392 | * config/arm/arm.c (arm_return_in_memory): Treat complex types | |
393 | as aggregates for AAPCS ABIs. | |
394 | ||
59d8fe27 SS |
395 | 2005-01-05 Stan Shebs <shebs@apple.com> |
396 | ||
397 | * unwind-dw2-fde-darwin.c (examine_objects): Use 64-bit | |
398 | Mach-O getters if ppc64. | |
399 | * config/darwin.c (darwin_asm_output_dwarf_delta): Obey | |
400 | size argument. | |
401 | * config/darwin.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
402 | signed four-byte field for global code case. | |
403 | (STARTFILE_SPEC): Avoid crt2.o for 64-bit compilation. | |
404 | ||
010c4d9c RS |
405 | 2005-01-05 Roger Sayle <roger@eyesopen.com> |
406 | ||
407 | PR middle-end/19100 | |
408 | * c-common.c: Include real.h. | |
409 | (c_common_truthvalue_conversion): Avoid destructively modifying expr. | |
410 | Correctly handle TREE_CONSTANT_OVERFLOW for INTEGER_CST. | |
411 | Correctly handle TREE_CONSTANT_OVERFLOW and NaNs for REAL_CST. | |
412 | * Makefile.in (c-common.o): Update dependencies. | |
413 | ||
9368fb8f JM |
414 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
415 | ||
416 | * c-parse.in (asm_string): Add trailing semicolon. | |
417 | ||
9143de5c JM |
418 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
419 | ||
420 | * c-parse.in (asm_string): New. Don't allow wide strings in | |
421 | 'asm'. | |
422 | (simple_asm_expr, asm_argument, asm_operand, asm_clobbers): Use | |
423 | asm_string instead of STRING. | |
424 | ||
0953878d JM |
425 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
426 | ||
427 | * c-typeck.c (constructor_no_implicit): Remove. | |
428 | (set_designator, process_init_element): Don't check | |
429 | constructor_no_implicit. | |
430 | ||
cf99f196 R |
431 | 2005-01-05 J"orn Rennecke <joern.rennecke@st.com> |
432 | Kaz Kojima <kkojima@gcc.gnu.org> | |
433 | ||
434 | PR target/16482 | |
435 | * lcm.c (create_pre_exit): New. | |
436 | (optimize_mode_switching): In MODE_ENTRY / MODE_EXIT case, set | |
437 | ENTRY_EXIT_EXTRA to 3. Use create_pre_exit. | |
438 | ||
712ecf4d RE |
439 | 2004-01-05 Richard Earnshaw <rearnsha@arm.com> |
440 | ||
441 | * arm.h (TARGET_OPTIONS): Correctly record -mhard-float and | |
442 | -msoft-float in target_float_switch. | |
443 | * arm.c (arm_override_options): Fix processing of target_float_switch. | |
444 | ||
082cca25 RE |
445 | 2004-01-05 Richard Earnshaw <rearnsha@arm.com> |
446 | ||
447 | * arm/vfp.md (arm_movsi_vfp): Hide VFP register classes from register | |
448 | preferencing. | |
449 | ||
c2b43d7a UB |
450 | 2004-01-05 Uros Bizjak <uros@kss-loka.si> |
451 | ||
452 | * doc/invoke.texi (Intel 386 and AMD x86-64 Options): | |
453 | Replace i387 with 'i386 compiler' in -mfpmath=sse option. | |
454 | ||
e82f5749 RS |
455 | 2005-01-04 Roger Sayle <roger@eyesopen.com> |
456 | ||
457 | * ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block, | |
458 | if deleting the then-block allows the test-block to fallthru to the | |
459 | else-block. | |
460 | ||
f8f5c4b3 AP |
461 | 2005-01-04 Andrew Pinski <pinskia@physics.uc.edu> |
462 | ||
463 | PR c/19152 | |
464 | * c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared | |
465 | after the full declaration if the are in two different TUs. | |
466 | ||
467 | 2005-01-04 Richard Henderson <rth@redhat.com> | |
fa588429 RH |
468 | |
469 | PR tree-opt/19158 | |
470 | * tree-sra.c (generate_one_element_init): Just | |
471 | call gimplify_and_add. | |
472 | (generate_element_init): Record the | |
473 | new referenced variables and mark them for renaming | |
474 | and split out to ... | |
475 | (generate_element_init_1): This. | |
476 | (scalarize_init): Don't call push_gimplify_context/ | |
477 | pop_gimplify_context. | |
478 | ||
5f0c48ed GK |
479 | 2005-01-04 Geoffrey Keating <geoffk@apple.com> |
480 | ||
481 | * toplev.c (get_src_pwd): Handle failure of getpwd(). | |
482 | ||
e3523f56 RS |
483 | 2005-01-04 Roger Sayle <roger@eyesopen.com> |
484 | ||
485 | * fold-const.c (fold_single_bit_test): Delete unreachable handling | |
486 | of TRUTH_NOT_EXPR. | |
487 | (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as | |
488 | all the cases handled by it are inverted by invert_truthvalue. | |
489 | ||
9746bb27 EB |
490 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
491 | ||
492 | * config/sparc/sparc.md (save_register_windowdi): Add missing mode. | |
493 | (save_register_windowsi): Likewise. | |
494 | ||
bfee926b RH |
495 | 2005-01-04 Richard Henderson <rth@redhat.com> |
496 | ||
497 | * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname. | |
498 | ||
21e5076a UB |
499 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
500 | ||
501 | PR middle-end/17767 | |
502 | * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt | |
503 | any simplifications of vector mode comparison operators. | |
504 | * simplify-rtx.c (simplify_relational_operation): Fix variable name. | |
505 | ||
8ea9d0c7 PB |
506 | 2005-01-04 Paolo Bonzini <bonzini@gnu.org> |
507 | Devang Patel <dpatel@apple.com> | |
508 | ||
509 | PR tree-optimization/18308 | |
8ea9d0c7 PB |
510 | * tree-if-conv.c (add_to_dst_predicate_list): Gimplify |
511 | the operands before creating a new expression. | |
512 | * dojump.c (do_jump): Make drop_through_label available | |
513 | for all cases. Add expansion of COND_EXPR. | |
514 | ||
8c427b58 IR |
515 | 2005-01-04 Ira Rosen <irar@il.ibm.com> |
516 | ||
517 | * tree-vectorizer.c (vect_analyze_offset_expr): Test for | |
518 | INTEGER_CST instead of TREE_CONSTANT. | |
519 | (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST | |
520 | instead of TREE_CONSTANT. | |
521 | (vect_analyze_pointer_ref_access): Test for INTEGER_CST | |
522 | instead of TREE_CONSTANT. | |
523 | ||
8287d24a EB |
524 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
525 | ||
526 | * tree-eh.c (replace_goto_queue): Return early if the queue is empty. | |
527 | ||
9e4ae64b UB |
528 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
529 | ||
530 | PR target/19240 | |
531 | * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH. | |
532 | (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH). | |
533 | ||
c756af79 RH |
534 | 2005-01-03 Richard Henderson <rth@redhat.com> |
535 | ||
536 | * fold-const.c (force_fit_type): Cope with types larger than 2 HWI. | |
537 | (fold_convert_const_int_from_int, fold_convert_const_int_from_real, | |
538 | fold_convert_const_real_from_real): Split out from ... | |
539 | (fold_convert_const): ... here. | |
540 | ||
d30c9461 RH |
541 | 2005-01-03 Richard Henderson <rth@redhat.com> |
542 | ||
543 | PR target/19235 | |
544 | * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives. | |
545 | (mov<MMXMODEI>_internal): Likewise. | |
546 | (movdf_nointeger): Prefer Y while not preferring, but allowing, x. | |
547 | Add V2SF case; use it for SSE1; don't use TI. | |
548 | (movdf_integer): Likewise. | |
549 | (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1. | |
550 | ||
7d23434b IR |
551 | 2005-01-03 Ira Rosen <irar@il.ibm.com> |
552 | ||
553 | * tree-vectorizer.c (vect_strip_conversions): New function. | |
554 | (vect_analyze_offset_expr): Call vect_strip_conversions. Add | |
555 | check for binary class. | |
556 | ||
1eb3331e DB |
557 | 2005-01-03 Daniel Berlin <dberlin@dberlin.org> |
558 | ||
559 | Fix PR debug/17924 | |
560 | Fix PR debug/19191 | |
561 | * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin | |
562 | is a decl. | |
563 | * gimple-low.c (mark_blocks_with_used_vars): New function. | |
564 | (mark_blocks_with_used_subblocks): Ditto. | |
565 | (mark_used_blocks): Ditto. | |
566 | (pass_mark_used_blocks): New pass. | |
567 | * tree-inline.c: Include debug.h. | |
568 | (expand_call_inline): Call outlining_inline_function here. | |
569 | * tree-optimize.c (init_tree_optimization_passes): Add | |
570 | pass_mark_used_blocks. | |
571 | * tree-pass.h (pass_mark_used_blocks): New. | |
572 | * Makefile.in (tree-inline.o): Add debug.h dependency. | |
573 | ||
a035080c GK |
574 | 2005-01-03 Geoffrey Keating <geoffk@apple.com> |
575 | ||
d7001ae5 GK |
576 | * config/darwin.c (darwin_handle_weak_import_attribute): Permit |
577 | VAR_DECLs to have weak_import attribute. | |
578 | ||
a035080c GK |
579 | * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than |
580 | 'struct ucontext'. | |
581 | ||
1ab219d3 SB |
582 | 2004-01-03 Steven Bosscher <stevenb@suse.de> |
583 | ||
584 | * passes.c (rest_of_compilation): Don't run regmove if only | |
585 | flag_expensive_optimizations, require flag_regmove instead. | |
586 | ||
e6abef61 EB |
587 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
588 | ||
589 | * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not | |
590 | register "sparc". | |
591 | * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
592 | * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
593 | * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. | |
594 | * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
595 | ||
f61134e8 RH |
596 | 2005-01-03 Richard Henderson <rth@redhat.com> |
597 | ||
598 | * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New. | |
599 | (ia64_const_ok_for_letter_p): New. | |
600 | (ia64_const_double_ok_for_letter_p): New. | |
601 | (ia64_extra_constraint): New. | |
602 | (ia64_expand_vecint_compare): New. | |
603 | (ia64_expand_vcondu_v2si): New. | |
604 | (ia64_expand_vecint_cmov): New. | |
605 | (ia64_expand_vecint_minmax): New. | |
606 | (ia64_print_operand): Add 'v'. | |
607 | (ia64_preferred_reload_class): New. | |
608 | (ia64_vector_mode_supported_p): New. | |
609 | * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New. | |
610 | (PREFERRED_RELOAD_CLASS): Move to function. | |
611 | (CONST_OK_FOR_LETTER_P): Move to function. | |
612 | (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function. | |
613 | (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove. | |
614 | (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove. | |
615 | (EXTRA_CONSTRAINT): Move to function. | |
616 | * config/ia64/ia64.md: Include vect.md. | |
617 | (itanium_class): Add mmalua. | |
618 | (type): Handle it. | |
619 | * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses. | |
620 | (1b_mmalua): New. | |
621 | * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly. | |
622 | * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any | |
623 | CONST0_RTX. | |
624 | (const_int_2bit_operand): New. | |
625 | (fr_reg_or_0_operand): New. | |
626 | * config/ia64/ia64-modes.def: Add vector modes. | |
627 | * config/ia64/ia64-protos.h: Update. | |
628 | * config/ia64/vect.md: New file. | |
629 | ||
3198b947 RH |
630 | 2005-01-03 Richard Henderson <rth@redhat.com> |
631 | ||
632 | * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT. | |
633 | ||
088df4c2 UB |
634 | 2005-01-03 Uros Bizjak <uros@kss-loka.si> |
635 | ||
636 | PR target/19236 | |
637 | * config/i386/i386.c (log1psf2): Change mode of operands[0,1] | |
638 | to SFmode. | |
639 | (log1pdf2): Change mode of operands[0,1] to DFmode. | |
640 | ||
548a6c4f EB |
641 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
642 | ||
643 | * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false. | |
644 | * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true. | |
645 | * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise. | |
646 | * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to | |
647 | SPARC_RELAXED_ORDERING. | |
648 | ||
0703dceb RH |
649 | 2005-01-03 Richard Henderson <rth@redhat.com> |
650 | Uros Bizjak <uros@kss-loka.si> | |
651 | ||
652 | PR target/14631 | |
653 | * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW, | |
654 | IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message. | |
655 | * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector | |
656 | handling. | |
657 | (*mmx_pinsrw, *sse2_pinsrw): New patterns. | |
658 | * config/i386/i386/predicates.md (const_pow2_1_to_8_operand, | |
659 | const_pow2_1_to_128_operand): New predicates. | |
660 | ||
97236777 GM |
661 | 2005-01-02 Greg McGary <greg@mcgary.org> |
662 | ||
663 | * tree-mudflap.c (mf_varname_tree): decl_printable_name handles | |
664 | anonymous decls. | |
665 | (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost | |
666 | object. [ptr_type]: Remove unused variable. | |
667 | Remember nearest addressable array-element or record-component | |
668 | when checking bitfield components. Tolerate empty BIND_EXPR. | |
669 | ||
155a8213 RH |
670 | 2005-01-01 Richard Henderson <rth@redhat.com> |
671 | ||
672 | * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions | |
673 | that don't narrow the value. Fail for other conversions. | |
674 | ||
bedb9fc0 RH |
675 | 2005-01-01 Richard Henderson <rth@redhat.com> |
676 | ||
677 | PR c/19031 | |
678 | * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks. | |
679 | * c-lang.c (finish_file): Don't do it here. | |
680 | * objc/objc-act.c (objc_finish_file): Likewise. | |
681 | ||
682 | * cgraph.c (decl_assembler_name_equal): New. | |
683 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New. | |
684 | (cgraph_varpool_node): Actually link up cgraph_varpool_nodes. | |
685 | * cgraph.h (struct cgraph_varpool_node): Add next. | |
686 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare. | |
687 | * varasm.c (assemble_alias): Mark the target as needed. | |
688 | ||
1cb2fc7b AP |
689 | 2005-01-01 Andrew Pinski <pinskia@physics.uc.edu> |
690 | ||
691 | PR middle-end/19221 | |
692 | * function.c (get_arg_pointer_save_area): Use entry_of_function | |
693 | instead of get_insns. | |
694 | ||
0ca5fbc0 RS |
695 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
696 | Andrew Pinski <pinskia@physics.uc.edu> | |
697 | James E. Wilson <wilson@specifixinc.com> | |
698 | ||
699 | PR rtl-optimization/12092 | |
700 | * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK | |
701 | is zero. | |
702 | ||
91c537b7 RS |
703 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
704 | Olivier Hainque <hainque@act-europe.fr> | |
705 | ||
706 | * tree.c (int_fits_type_p): A narrower type always fits in a | |
707 | wider one, except for negative values into unsigned types. | |
708 | ||
69618c49 RS |
709 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
710 | ||
711 | * tree.c (int_fits_type_p): Compare the result of force_fit_type | |
712 | with the original constant rather than require TREE_OVERFLOW. | |
713 | ||
43e05e45 SB |
714 | 2005-01-01 Steven Bosscher <stevenb@suse.de> |
715 | ||
716 | PR middle-end/17544 | |
717 | * c-decl.c (finish_function): If compiling C99, annotate the | |
718 | compiler generated return with the current file name and line 0. | |
719 | * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if | |
720 | the source line is greater than 0. | |
721 | (remove_bb): Likewise. | |
722 | ||
7a4515d7 | 723 | See ChangeLog.12 for earlier changes. |