+2005-01-13 Steven Bosscher <stevenb@suse.de>
+
+ * tree-ssa-dse.c (fix_phi_uses): Use SSA operand iterators.
+ (fix_stmt_v_may_defs): Likewise.
+
+2005-01-13 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (ix86_expand_fp_absneg_operator): Use elt_mode
+ for converting the mask.
+
+2005-01-13 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Change _XOPEN_SOURCE
+ definition to 600.
+
+2005-01-13 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (IX86_BUILTIN_MOVQ, IX86_BUILTIN_LOADD,
+ IX86_BUILTIN_STORED, IX86_BUILTIN_MOVQ2DQ,
+ IX86_BUILTIN_MOVDQ2Q): Remove.
+ (IX86_BUILTIN_VEC_EXT_V4SI): New.
+ (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Update to match.
+ (ix86_expand_vector_extract): For V4S[FI], extract element 0 after
+ shuffling.
+ * config/i386/sse.md (sse_concatv2sf): Accept zero operand 2.
+ (sse2_pextrw): Fix immediate constraint.
+ (sse2_loadq, sse2_loadq_rex64): Remove.
+ * config/i386/emmintrin.h (_mm_cvtsi128_si32, _mm_cvtsi128_si64x):
+ Use __builtin_ia32_vec_ext_<size>.
+ (_mm_cvtsi32_si128, _mm_cvtsi64x_si128): Use _mm_set_epi<size>.
+
+2005-01-13 Aldy Hernandez <aldyh@redhat.com>
+
+ * function.c (assign_parm_setup_block): Look inside original
+ entry_parm when inspecting PARALLEL.
+
+2005-01-13 Ralf Corsepius <ralf.corsepius@rtems.org>
+ Joel Sherrill <joel@oarcorp.com>
+
+ PR target/19399
+ * gthr-rtems.h (__gthread_recursive_mutex_t): New type.
+ (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Define to
+ rtems_gxx_recursive_mutex_init.
+ (__gthread_recursive_mutex_lock): New function.
+ (__gthread_recursive_mutex_trylock): Likewise.
+ (__gthread_recursive_mutex_unlock): Likewise.
+
+2005-01-13 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * config/i386/t-rtems-i386: Multilib on -mtune instead of -mcpu.
+
+2005-01-13 Jan Beulich <jbeulich@novell.com>
+
+ * config/ia64/ia64.md (ashlti3, ashlti3_internal): New.
+ (ashrti3_internal): Indicate output is early clobber. Generate result
+ into output rather than first input. Use move for low word of output
+ if shift count is exactly 64.
+ (lshrti3_internal): Likewise.
+
+2005-01-13 Hans-Peter Nilsson <hp@bitrange.com>
+
+ PR target/18329
+ PR target/18330
+ * reload1.c (delete_output_reload): Don't delete an output reload
+ if the pseudo lives longer than a single basic block. Adjust and
+ improve wording of comment.
+
+2005-01-12 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR target/19334
+ * config/darwin.c (machopic_select_section): Use TYPE_SIZE_UNIT instead
+ of TYPE_SIZE where we mean the number of bytes.
+
+2005-01-12 Aldy Hernandez <aldyh@redhat.com>
+
+ * function.c (assign_parm_setup_block): Relax condition on
+ multi-register optimization.
+
+2005-01-12 Nick Clifton <nickc@redhat.com>
+
+ * config/sh/sh.md (udivsi3_sh2a, divsi3_sh2a): Give these patterns
+ an "in_delay_slot" attribute of "no" to prevent them being used in
+ delay slots. This is forbidden because they might generate
+ exceptions.
+
+2005-01-12 Alan Modra <amodra@bigpond.net.au>
+
+ PR target/19389
+ * config/rs6000/rs6000.md (movtf_internal): Replace r->o and m->r
+ with r->Y and Y->r.
+
+2005-01-12 Nick Clifton <nickc@redhat.com>
+
+ * config/iq2000/iq2000.h (ASM_SPEC): Undefine (to stop -Qy being
+ passed on to GAS) but do not define, as GAS no longer supports or
+ needs the -m2000 option.
+
+2005-01-11 Roger Sayle <roger@eyesopen.com>
+
+ * builtins.c (fold_builtin_fabs): Convert argument to the appropriate
+ type as args of unprototyped builtins aren't automatically promoted.
+ (fold_builtin_abs): Likewise.
+
+2005-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in: Set a `build-warn' variable.
+
+2005-01-11 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/17949
+ * tree-ssa-loop-ivopts.c (may_be_unaligned_p): New function.
+ (find_interesting_uses_address): Use it.
+
+2005-01-11 Aldy Hernandez <aldyh@redhat.com>
+
+ * regrename.c (kill_value): Handle subreg's that won't simplify.
+
+2005-01-11 Richard Henderson <rth@redhat.com>
+
+ PR target/13366
+ * config/i386/i386.h (enum ix86_builtins): Move ...
+ * config/i386/i386.c: ... here.
+ (IX86_BUILTIN_MOVDDUP, IX86_BUILTIN_MMX_ZERO, IX86_BUILTIN_PEXTRW,
+ IX86_BUILTIN_PINSRW, IX86_BUILTIN_LOADAPS, IX86_BUILTIN_LOADSS,
+ IX86_BUILTIN_STORESS, IX86_BUILTIN_SSE_ZERO, IX86_BUILTIN_PEXTRW128,
+ IX86_BUILTIN_PINSRW128, IX86_BUILTIN_LOADAPD, IX86_BUILTIN_LOADSD,
+ IX86_BUILTIN_STOREAPD, IX86_BUILTIN_STORESD, IX86_BUILTIN_STOREHPD,
+ IX86_BUILTIN_STORELPD, IX86_BUILTIN_SETPD1, IX86_BUILTIN_SETPD,
+ IX86_BUILTIN_CLRPD, IX86_BUILTIN_LOADPD1, IX86_BUILTIN_LOADRPD,
+ IX86_BUILTIN_STOREPD1, IX86_BUILTIN_STORERPD, IX86_BUILTIN_LOADDQA,
+ IX86_BUILTIN_STOREDQA, IX86_BUILTIN_CLRTI,
+ IX86_BUILTIN_LOADDDUP): Remove.
+ (IX86_BUILTIN_VEC_INIT_V2SI, IX86_BUILTIN_VEC_INIT_V4HI,
+ IX86_BUILTIN_VEC_INIT_V8QI, IX86_BUILTIN_VEC_EXT_V2DF,
+ IX86_BUILTIN_VEC_EXT_V2DI, IX86_BUILTIN_VEC_EXT_V4SF,
+ IX86_BUILTIN_VEC_EXT_V8HI, IX86_BUILTIN_VEC_EXT_V4HI,
+ IX86_BUILTIN_VEC_SET_V8HI, IX86_BUILTIN_VEC_SET_V4HI): New.
+ (ix86_init_builtins): Make static.
+ (ix86_init_mmx_sse_builtins): Update for changed builtins.
+ (ix86_expand_binop_builtin): Only use ix86_fixup_binary_operands
+ if all the modes match. Otherwise, fake it.
+ (get_element_number, ix86_expand_vec_init_builtin,
+ ix86_expand_vec_ext_builtin, ix86_expand_vec_set_builtin): New.
+ (ix86_expand_builtin): Make static. Update for changed builtins.
+ (ix86_expand_vector_move_misalign): Use sse2_loadlpd with zero
+ operand instead of sse2_loadsd. Cast sse1 fallback to V4SFmode.
+ (ix86_expand_vector_init_duplicate): New.
+ (ix86_expand_vector_init_low_nonzero): New.
+ (ix86_expand_vector_init_one_var, ix86_expand_vector_init_general):
+ Split out from ix86_expand_vector_init; handle integer modes.
+ (ix86_expand_vector_init): Use them.
+ (ix86_expand_vector_set, ix86_expand_vector_extract): New.
+ * config/i386/i386-protos.h: Update.
+ * config/i386/predicates.md (reg_or_0_operand): New.
+ * config/i386/mmx.md (mov<MMXMODEI>_internal): Add 'r' variants.
+ (movv2sf_internal): Likewise. And a splitter to match them all.
+ (vec_dupv2sf, mmx_concatv2sf, vec_setv2sf, vec_extractv2sf,
+ vec_initv2sf, vec_dupv4hi, vec_dupv2si, mmx_concatv2si, vec_setv2si,
+ vec_extractv2si, vec_initv2si, vec_setv4hi, vec_extractv4hi,
+ vec_initv4hi, vec_setv8qi, vec_extractv8qi, vec_initv8qi): New.
+ (mmx_pinsrw): Fix operand ordering.
+ * config/i386/sse.md (movv4sf splitter): Use direct pattern,
+ rather than sse_loadss expander.
+ (movv2df splitter): Similarly.
+ (sse_loadss, sse_loadlss): Remove.
+ (vec_dupv4sf, sse_concatv2sf, sse_concatv4sf, vec_extractv4sf_0): New.
+ (vec_setv4sf, vec_setv2df): Use ix86_expand_vector_set.
+ (vec_extractv4sf, vec_extractv2df): Use ix86_expand_vector_extract.
+ (sse3_movddup): Rename with '*'.
+ (sse3_movddup splitter): Use gen_rtx_REG instead of gen_lowpart.
+ (sse2_loadsd): Remove.
+ (vec_dupv2df_sse3): Rename from sse3_loadddup.
+ (vec_dupv2df, vec_concatv2df_sse3, vec_concatv2df): New.
+ (sse2_pinsrw): Fix argument ordering.
+ (sse2_loadld, sse2_loadq): Add sse1 alternatives.
+ (sse2_stored): Remove 'r' destination.
+ (vec_dupv4si, vec_dupv2di, sse2_concatv2si, sse1_concatv2si,
+ vec_concatv4si_1, vec_concatv2di, vec_setv2di, vec_extractv2di,
+ vec_initv2di, vec_setv4si, vec_extractv4si, vec_initv4si,
+ vec_setv8hi, vec_extractv8hi, vec_initv8hi, vec_setv16qi,
+ vec_extractv16qi, vec_initv16qi): New.
+
+ * config/i386/emmintrin.h (__m128i, __m128d): Use typedef, not define.
+ (_mm_set_sd, _mm_set1_pd, _mm_setzero_pd, _mm_set_epi64x,
+ _mm_set_epi32, _mm_set_epi16, _mm_set_epi8, _mm_setzero_si128): Use
+ constructor form.
+ (_mm_load_pd, _mm_store_pd): Use plain dereference.
+ (_mm_load_si128, _mm_store_si128): Likewise.
+ (_mm_load1_pd): Use _mm_set1_pd.
+ (_mm_load_sd): Use _mm_set_sd.
+ (_mm_store_sd, _mm_storeh_pd): Use __builtin_ia32_vec_ext_v2df.
+ (_mm_store1_pd, _mm_storer_pd): Use _mm_store_pd.
+ (_mm_set_epi64): Use _mm_set_epi64x.
+ (_mm_set1_epi64x, _mm_set1_epi64, _mm_set1_epi32, _mm_set_epi16,
+ _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
+ _mm_setr_epi8): Use _mm_set_foo form.
+ (_mm_loadl_epi64, _mm_movpi64_epi64, _mm_move_epi64): Use _mm_set_epi64.
+ (_mm_storel_epi64, _mm_movepi64_pi64): Use __builtin_ia32_vec_ext_v2di.
+ (_mm_extract_epi16): Use __builtin_ia32_vec_ext_v8hi.
+ (_mm_insert_epi16): Use __builtin_ia32_vec_set_v8hi.
+ * config/i386/mmintrin.h (_mm_setzero_si64): Use plain cast.
+ (_mm_set_pi32): Use __builtin_ia32_vec_init_v2si.
+ (_mm_set_pi16): Use __builtin_ia32_vec_init_v4hi.
+ (_mm_set_pi8): Use __builtin_ia32_vec_init_v8qi.
+ (_mm_set1_pi16, _mm_set1_pi8): Use _mm_set_piN variant.
+ * config/i386/pmmintrin.h (_mm_loaddup_pd): Use _mm_load1_pd.
+ (_mm_movedup_pd): Use _mm_shuffle_pd.
+ * config/i386/xmmintrin.h (_mm_setzero_ps, _mm_set_ss,
+ _mm_set1_ps, _mm_set_ps, _mm_setr_ps): Use constructor form.
+ (_mm_cvtpi16_ps, _mm_cvtpu16_ps, _mm_cvtpi8_ps, _mm_cvtpu8_ps,
+ _mm_cvtps_pi8, _mm_cvtpi32x2_ps): Avoid __builtin_ia32_mmx_zero;
+ Use _mm_setzero_ps.
+ (_mm_load_ss, _mm_load1_ps): Use _mm_set* form.
+ (_mm_load_ps, _mm_loadr_ps): Use raw dereference.
+ (_mm_store_ss): Use __builtin_ia32_vec_ext_v4sf.
+ (_mm_store_ps): Use raw dereference.
+ (_mm_store1_ps): Use _mm_storeu_ps.
+ (_mm_storer_ps): Use _mm_store_ps.
+ (_mm_extract_pi16): Use __builtin_ia32_vec_ext_v4hi.
+ (_mm_insert_pi16): Use __builtin_ia32_vec_set_v4hi.
+
+2005-01-11 Stan Shebs <shebs@apple.com>
+
+ * config/rs6000/rs6000.c (machopic_output_stub): Issue
+ ldu instead of lwzu if 64-bit -mdynamic-no-pic.
+
+2005-01-11 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR target/18761
+ * config/rs6000/rs6000.c (rs6000_special_round_type_align):
+ Skip all DECLs except for FIELD_DECLs.
+
+2005-01-11 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.c (override_options): Return error if
+ -mbackchain, -mpacked-stack and -mhard-float are used together.
+ (s390_va_start): Remove the backchain && packed-stack special case.
+ (s390_gimplify_va_arg): Likewise.
+ * doc/invoke.texi: Remove the ABI incompatibility note.
+
+2005-01-11 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.c (struct s390_frame_layout): Remove
+ save_backchain_p.
+ (s390_frame_info, s390_emit_prologue): Replace occurrences of
+ save_backchain_p with TARGET_BACKCHAIN.
+
+2005-01-11 Alan Modra <amodra@bigpond.net.au>
+
+ PR target/18916
+ * builtins.c (std_gimplify_va_arg_expr): Adjust alignment of *ap.
+ * expr.h (struct locate_and_pad_arg_data): Add "boundary".
+ * function.c (locate_and_pad_parm): Set new field.
+ (assign_parm_find_stack_rtl): Use it instead of FUNCTION_ARG_BOUNDARY.
+ Tweak where_pad test to include "none". Always set mem align for
+ stack_parm.
+ (assign_parm_adjust_stack_rtl): Discard stack_parm if alignment
+ not sufficient for type.
+ (assign_parm_setup_block): If stack_parm is zero on entry, always
+ make a new stack local. Block move old stack parm if necessary
+ to new aligned stack local.
+ (assign_parm_setup_stack): Use a block move to handle
+ potentially misaligned entry_parm.
+ (assign_parms_unsplit_complex): Specify required alignment when
+ creating stack local.
+ * calls.c (compute_argument_addresses): Override alignment of stack
+ arg calculated from its type with the alignment given by
+ FUNCTION_ARG_BOUNDARY.
+ (store_one_arg): Likewise.
+
+2005-01-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/ia64/ia64.md (zero_extendsidi2): Replace zxt4 by addp4.
+ Change respective itanium_class attribute to ialu.
+ (shladdp4_internal): New.
+ * config/ia64/predicates.md (shladd_log2_operand): New.
+
+2005-01-11 Richard Henderson <rth@redhat.com>
+
+ * expr.c (store_constructor): Use rtvec_alloc instead of
+ alloca+gen_rtvec_v, and an incorrect number passed to alloca.
+
+2005-01-11 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/alpha/alpha.c, config/i386/mmx.md: Fix comment typos.
+
+2005-01-11 Alan Modra <amodra@bigpond.net.au>
+
+ * varasm.c (default_section_type_flags_1): Don't set SECTION_SMALL.
+ * config/ia64/ia64.c (TARGET_SECTION_TYPE_FLAGS): Define.
+ (TARGET_RWRELOC): Define.
+ (ia64_rwreloc_section_type_flags): Delete.
+ (ia64_section_type_flags): New function.
+ * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): Don't define.
+ (TARGET_RWRELOC): Define.
+
+2005-01-10 David Mosberger <davidm@hpl.hp.com>
+
+ PR target/18987
+ * config/ia64/ia64.c (process_set): For alloc insn, only call
+ process_epilogue is !frame_pointer_needed.
+
+2005-01-10 Roger Sayle <roger@eyesopen.com>
+
+ PR c++/19355
+ * c-common.c (c_common_truthvalue_conversion): TRUTH_NOT_EXPR is a
+ unary operator and can't be treated as a binary/comparison operator.
+
+2005-01-10 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (ix86_function_value): Use type_natural_mode.
+ (ix86_return_in_memory): Likewise.
+ (function_arg_advance): Likewise. Mirror structure in function_arg
+ for choosing register to advance.
+
+2005-01-10 Kazu Hirata <kazu@cs.umass.edu>
+
+ * tree-vectorizer.c, tree.def: Fix comment typos.
+
+2005-01-10 Mark Dettinger <dettinge@de.ibm.com>
+
+ * config/s390/s390.c (struct processor_costs): 4 new fields:
+ ddbr, ddr, debr, der.
+ (s390_rtx_costs): More precise handling of divide instructions.
+
+2005-01-10 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/t-aix43 (BOOT_LDFLAGS): Define.
+
+2005-01-10 Jan Beulich <jbeulich@novell.com>
+
+ * config/ia64/ia64.c (ia64_in_small_data_p): Also handle the section
+ names resulting from -ffunction-sections/-fdata-sections and linkonce
+ ones.
+ * varasm.c (default_section_type_flags_1): Also set SECTION_SMALL
+ based on the section name. Rearrange the section name comparison logic
+ slightly so that each section name is compared against at most once.
+
2005-01-10 Ben Elliston <bje@au.ibm.com>
* doc/invoke.texi (Code Gen Options): Add PowerPC to the list of