1. 23 Aug, 2007 16 commits
    • re PR target/17390 (missing floating point compare optimization) · 1406ee90
      	PR target/17390
      	* config/i386/i386.c (ix86_expand_fp_compare): Expand fp comparison to
      	fake fcomi i387 instruction for !TARGET_CMOVE.
      	(ix86_expand_branch): Expand natural sequence with one jump for
      	all targets, not only TARGET_CMOVE.
      	* config/i386/i386.md (*cmpfp_0_cc): New define_insn_and_split
      	pattern to implement fake fcomi sequence.  Split instruction after
      	reload to correct compare sequences.
      	(*cmpfp_xf_cc): Ditto.
      	(*cmpfp_<mode>_cc): Ditto.
      	(*cmpfp_u_cc): Ditto.
      	(*cmpfp_<mode>_cc): Ditto.
      
      testsuite/ChangeLog:
      
      	PR target/17390
      	* gcc.target/i386/pr17390.c: New test.
      
      From-SVN: r127742
      Uros Bizjak committed
    • tree-pretty-print.c (dump_generic_node): Annotate GIMPLE_MODIFY_STMTs with volatile ops with "{v}". · 9f7b7ba4
      2007-08-23  Richard Guenther  <rguenther@suse.de>
      
      	* tree-pretty-print.c (dump_generic_node): Annotate
      	GIMPLE_MODIFY_STMTs with volatile ops with "{v}".
      
      	* gcc.dg/tree-ssa/fprinf-1.c: Adjust patterns.
      	* gcc.dg/tree-ssa/fprinf-chk-1.c: Likewise.
      	* gcc.dg/tree-ssa/prinf-1.c: Likewise.
      	* gcc.dg/tree-ssa/prinf-chk-1.c: Likewise.
      	* gcc.dg/tree-ssa/vfprinf-chk-1.c: Likewise.
      	* gcc.dg/tree-ssa/vfprinf-chk-1.c: Likewise.
      	* gcc.dg/tree-ssa/vprinf-chk-1.c: Likewise.
      	* gcc.dg/tree-ssa/vprinf-chk-1.c: Likewise.
      
      From-SVN: r127741
      Richard Guenther committed
    • builtins.c (expand_builtin_mathfn): Wrap argument in save_expr directly instead… · 5799f732
      builtins.c (expand_builtin_mathfn): Wrap argument in save_expr directly instead of re-building the call.
      
      2007-08-23  Richard Guenther  <rguenther@suse.de>
      
      	* builtins.c (expand_builtin_mathfn): Wrap argument in
      	save_expr directly instead of re-building the call.
      	(expand_builtin_mathfn_2): Likewise.
      	(expand_builtin_mathfn_3): Likewise.
      	(expand_builtin_interclass_mathfn): Likewise.
      	(expand_builtin_int_roundingfn): Set arg.
      	(expand_builtin_int_roundingfn_2): Likewise.
      
      From-SVN: r127740
      Richard Guenther committed
    • re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly) · db8092dc
      	PR libfortran/23138
      	* acinclude.m4 (LIBGFOR_CHECK_MINGW_SNPRINTF): New check.
      	* configure.ac: Use LIBGFOR_CHECK_MINGW_SNPRINTF.
      	* libgfortran.h: If HAVE_MINGW_SNPRINTF is true, use __mingw_snprintf
      	instead of snprintf.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r127739
      Francois-Xavier Coudert committed
    • s390: New directory. · b73aff36
      	* gcc.target/s390: New directory.
      	* gcc.target/s390/s390.exp: New file.
      	* gcc.dg/20020926-1.c, gcc.dg/20030123-1.c, gcc.dg/20030129-1.c,
      	gcc.dg/20040305-1.c, gcc.dg/20041109-1.c, gcc.dg/20041216-1.c,
      	gcc.dg/20050409-1.c, gcc.dg/20050524-1.c, gcc.dg/20050824-1.c,
      	gcc.dg/pr20927.c, gcc.dg/pr24624.c, gcc.dg/pr27661.c: Move to
      	gcc.target/s390 directory.
      
      From-SVN: r127738
      Uros Bizjak committed
    • gcc_update: Handle different URL paths and tags. · 0cb58062
      2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc_update: Handle different URL paths and tags.
      
      From-SVN: r127737
      H.J. Lu committed
    • re PR tree-optimization/32328 (-fstrict-aliasing causes skipped code) · f3b45ab7
      2007-08-23  Richard Guenther  <rguenther@suse.de>
      
              PR tree-optimization/32328
              * testsuite/gcc.dg/pr32328.c: New testcase.
      
      From-SVN: r127736
      Richard Guenther committed
    • gcc: · 35f3782f
      2007-08-23  Paolo Bonzini  <bonzini@gnu.org>
      
      	* config/i386/sse.md (*sse_and<mode>3, *sse_ior<mode>3,
      	*sse_nand<mode>3, *sse_xor<mode>3): New.
      
      gcc/testsuite:
      2007-08-23  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.target/i386/xorps-sse.c: New.
      	* gcc.target/i386/xorps-sse2.c: New.
      
      From-SVN: r127735
      Paolo Bonzini committed
    • simd-4.x: Only run when stdint.h types are available. · d97ac71d
      	* gcc.c-torture/execute/simd-4.x: Only run when stdint.h types are
      	  available.
      
      From-SVN: r127734
      Rask Ingemann Lambertsen committed
    • re PR fortran/33095 (MAX with optional arguments gives run-time error) · 7af6648c
      	PR fortran/33095
      
      	* trans-intrinsic.c (gfc_conv_intrinsic_minmax): Remove
      	runtime error checking.
      
      	* gfortran.dg/min_max_optional_5.f90: New test.
      	* gfortran.dg/min_max_optional_2.f90: Remove.
      	* gfortran.dg/min_max_optional_3.f90: Remove.
      	* gfortran.dg/min_max_optional_4.f90: Remove.
      
      From-SVN: r127732
      Francois-Xavier Coudert committed
    • cmov3.c: Fix scan-assembler. · e3a47fe4
      2007-08-23  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.target/i386/cmov3.c: Fix scan-assembler.
      	* gcc.target/i386/cmov4.c: Fix scan-assembler.
      	* gcc.target/i386/xchg-2.c: Fix scan-assembler.
      
      From-SVN: r127731
      Paolo Bonzini committed
    • i386.h (PRINT_OPERAND_PUNCT_VALID_P): Add ';' code. · c9d259cb
      	* config/i386/i386.h (PRINT_OPERAND_PUNCT_VALID_P): Add ';' code.
      	* config/i386/i386.c (print_operand): Handle ';' code.  Output
      	semicolon for TARGET_MACHO.
      	* config/i386/sync.md (*sync_compare_and_swap<mode>): Use '%;' to
      	emit semicolon after 'lock' prefix.
      	(sync_double_compare_and_swap<mode>): Ditto.
      	(*sync_double_compare_and_swapdi_pic): Ditto.
      	(*sync_compare_and_swap_cc<mode>): Ditto.
      	(sync_double_compare_and_swap_cc<mode>): Ditto.
      	(*sync_double_compare_and_swap_ccdi_pic): Ditto.
      	(sync_old_add<mode>): Ditto.
      	(sync_add<mode>): Ditto.
      	(sync_sub<mode>): Ditto.
      	(sync_ior<mode>): Ditto.
      	(sync_and<mode>): Ditto.
      	(sync_xor<mode>): Ditto.
      
      From-SVN: r127728
      Uros Bizjak committed
    • match.c (intrinsic_operators): Delete. · f4d8e0d1
      2007-08-22  Roger Sayle  <roger@eyesopen.com>
      	    Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
      
      	* match.c (intrinsic_operators): Delete.
      	(gfc_match_intrinsic_op): Rewrite matcher to avoid calling
      	gfc_match_strings.
      
      
      Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
      
      From-SVN: r127727
      Roger Sayle committed
    • MAINTAINERS (Write After Approval): Added myself. · 4bbed405
      2007-08-22  Bud Davis   <jmdavis@link.com>
      
      	* MAINTAINERS (Write After Approval): Added myself.
      	* MAINTAINERS (Reviewers): Removed myself.
      
      From-SVN: r127726
      Bud Davis committed
    • rtl.c (rtx_code_size): Check CONST_FIXED to calcualte correct sizes in DEF_RTL_EXPR. · 091a3ac7
      	* rtl.c (rtx_code_size): Check CONST_FIXED to calcualte correct sizes
      	in DEF_RTL_EXPR.
      	(copy_rtx): Handle CONST_FIXED.
      	(rtx_equal_p): Likewise.
      	* rtl.h (fixed_value.h): New include.
      	(rtx_def): Add a new field of fixed_value to u.
      	(XCNMPFV): Define for accessing fixed_value.
      	(CONST_FIXED_VALUE, CONST_FIXED_VALUE_HIGH, CONST_FIXED_VALUE_LOW):
      	Define.
      	* rtl.def (CONST_FIXED): New constant.
      	(SS_MULT, US_MULT, SS_DIV, US_DIV, FRACT_CONVERT,
      	UNSIGNED_FRACT_CONVERT, SAT_FRACT, UNSIGNED_SAT_FRACT, US_NEG,
      	US_ASHIFT): New codes.
      	* doc/rtl.texi (Expressions): Document const_fixed, us_neg, ss_mult,
      	us_mult, ss_div, us_div, us_ashift, fract_convert, sat_fract,
      	unsigned_fract_convert, unsigned_sat_fract): Document them.
      	* varasm.c (assemble_integer): Extend to support fixed-point constants
      	by using different machine classes.
      	(decode_addr_const): Handle FIXED_CST.
      	(const_hash_1): Likewise.
      	(compare_constant): Likewise.
      	(copy_constant): Likewise.
      	(const_rtx_hash_1): Handle CONST_FIXED.
      	(output_constant_pool_2): Handle MODE_FRACT, MODE_UFRACT, MODE_ACCUM,
      	MODE_UACCUM, MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM,
      	MODE_VECTOR_UACCUM.
      	(initializer_constant_valid_p): Handle FIXED_CST.
      	(output_constant): Support FIXED_POINT_TYPE.
      	* gengenrtl.c (excluded_rtx): Check CONST_FIXED to exclude.
      	* cse.c (hash_rtx): Support CONST_FIXED.
      	(exp_equiv_p): Likewise.
      	(cannon_reg): Likewise.
      	(fold_rtx): Likewise.
      	(equiv_constant): Likewise.
      	(cse_process_notes_1): Likewise.
      	(count_reg_usage): Likewise.
      	* cselib.c (entry_and_rtx_equal_p): Check CONST_FIXED.
      	(rtx_equal_for_cselib_p): Handle CONST_FIXED.
      	(wrap_constant): Check CONST_FIXED.
      	(cselib_hash_rtx): Support CONST_FIXED.
      	(cselib_subst_to_values): Likewise.
      	* df-scan.c (df_uses_record): Likewise.
      	* gcse.c (want_to_gcse_p): Likewise.
      	(oprs_unchanged_p): Likewise.
      	(oprs_not_set_p): Likewise.
      	(compute_transp): Likewise.
      	(extract_mentioned_regs_helper): Likewise.
      	* genemit.c (gen_exp): Likewise.
      	* local-alloc.c (equiv_init_varies_p): Likewise.
      	(contains_replace_regs): Likewise.
      	(memref_referenced_p): Likewise.
      	* loop-invariant.c (check_maybe_invariant): Likewise.
      	(hash_invariant_expr_1): Likewise.
      	(invariant_expr_equal_p): Likewise.
      	* postreload-gcse.c (oprs_unchanged_p): Likewise.
      	* regclass.c (reg_scan_mark_refs): Likewise.
      	* regrename.c (scan_rtx): Likewise.
      	* resource.c (mark_referenced_resources): Likewise.
      	(mark_set_resources): Likewise.
      	* rtlanal.c (rtx_unstable_p): Likewise.
      	(rtx_varies_p): Likewise.
      	(count_occurrences): Likewise.
      	(reg_mentioned_p): Likewise.
      	(modified_between_p): Likewise.
      	(modified_in_p): Likewise.
      	(volatile_insn_p): Likewise.
      	(volatile_refs_p): Likewise.
      	(side_effects_p): Likewise.
      	(may_trap_p_1): Likewise.
      	(inequality_comparisons_p): Likewise.
      	(computed_jump_p_1): Likewise.
      	(commutative_operand_precedence): Likewise.
      	* sched-deps.c (sched_analyze_2): Likewise.
      	* sched-vis.c (print_value): Likewise.
      	* reload.c (operands_match_p): Likewise.
      	(subst_reg_equivs): Likewise.
      	* reload1.c (eliminate_regs_1): Likewise.
      	(elimination_effects): Likewise.
      	(scan_paradoxical_subregs): Likewise.
      	* alias.c (rtx_equal_for_memref_p): Likewise.
      	* Makefile.in (RTL_BASE_H): Add fixed-value.h.
      	* emit-rtl.c (const_fixed_htab): New hash table.
      	(const_fixed_htab_hash, const_fixed_htab_eq, lookup_const_fixed):
      	Declare.
      	(const_fixed_htab_hash, const_fixed_htab_eq, lookup_const_fixed,
      	const_fixed_from_fixed_value): New functions.
      	(verify_rtx_sharing): Handle CONST_FIXED.
      	(copy_rtx_if_shared_1): Likewise.
      	(reset_used_flags): Likewise.
      	(set_used_flags): Likewise.
      	(copy_insn_1): Likewise.
      	(init_emit_once): Create const_fixed_htab.
      	Store fixed-point scalar and vector zero and one to const_tiny_rtx.
      
      From-SVN: r127725
      Chao-ying Fu committed
    • Daily bump. · 98510050
      From-SVN: r127723
      GCC Administrator committed
  2. 22 Aug, 2007 24 commits