1. 16 Mar, 2008 1 commit
  2. 15 Mar, 2008 2 commits
    • mmx.md ("sse2_umulv1siv2di3"): Rename from "sse2_umulsidi3". · ab555a5b
              * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from
              "sse2_umulsidi3".  Use V1DI mode for operand 0.
              ("mmx_psadbw"): Use V1DI mode for operand 0.
              * config/i386/i386-modes.def (V1SI): New vector mode.
              * config/i386/i386.c (struct builtin_description)
              [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3.
              (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi.
              (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si.
              (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use
              v1di_ftype_v8qi_v8qi type.
              [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type.
      
      From-SVN: r133243
      Uros Bizjak committed
    • invoke.texi (Option Summary, [...]): Document -mserialize-volatile and… · 66e58b33
      invoke.texi (Option Summary, [...]): Document -mserialize-volatile and -mno-serialize-volatile Xtensa options.
      
              * doc/invoke.texi (Option Summary, Xtensa Options): Document
              -mserialize-volatile and -mno-serialize-volatile Xtensa options.
              * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions
              unless TARGET_SERIALIZE_VOLATILE is enabled.
              * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
              * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE.
              * config/xtensa/xtensa.opt (mserialize_volatile): New option.
      
      From-SVN: r133234
      Bob Wilson committed
  3. 14 Mar, 2008 1 commit
  4. 13 Mar, 2008 3 commits
  5. 10 Mar, 2008 1 commit
  6. 09 Mar, 2008 1 commit
    • c.opt (Wsynth): Deprecate. · 802e3f8c
      gcc/
      
      	* c.opt (Wsynth): Deprecate.
      	* doc/invoke.texi (Option Summary, Warning Options): Document
      	-Wno-format-contains-nul.
      
      gcc/fortran/
      
      	* invoke.texi (Error and Warning Options): Document
      	-Wline-truncation.
      
      contrib/
      
      	* check_warning_flags.sh: Instead of invoke.texi, take the path
      	to the doc directory as argument.  Check that warnings listed in
      	'gcc --help' are accepted by the compiler, and listed in the
      	manuals.
      
      From-SVN: r133059
      Ralf Wildenhues committed
  7. 08 Mar, 2008 1 commit
    • re PR target/22152 (Poor loop optimization when using mmx builtins) · 10a97ae6
      2008-03-08  Uros Bizjak  <ubizjak@gmail.com>
      
              PR target/22152
              * config/i386/i386-modes.def (V1DI): New vector mode.
              * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode.
              * config/i386/mmx.md (MMXMODEI8): New mode iterator.
              (MMXMODE248): Ditto.
              (MMXMODE): Add V1DI mode.
              (mmxvecsize): Change DI mode to V1DI mode.
              ("mov<mode>): Use MMXMODEI8 mode iterator.
              ("*mov<mode>_internal_rex64"): Ditto.
              ("*mov<mode>_internal"): Ditto.
              ("mmx_add<mode>3"): Ditto.  Handle V1DImode for TARGET_SSE2.
              ("mmx_sub<mode>3"): Ditto.
              ("mmx_adddi3"): Remove insn pattern.
              ("mmx_subdi3"): Ditto.
              ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2.
              ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator.
              ("mmx_ashl<mode>3"): Ditto.
              ("mmx_lshrdi3"): Remove insn pattern.
              ("mmx_ashldi3"): Ditto.
              * config/i386/i386.c (classify_argument): Handle V1DImode.
              (function_arg_advance_32): Ditto.
              (function_arg_32): Ditto.
              (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use
              mmx_addv1di3 insn pattern.
              [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern.
              [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?,
              IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I,
              IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]:
              Remove definitions of built-in functions.
              (V1DI_type_node): New node.
              (v1di_ftype_v1di_int): Ditto.
              (v1di_ftype_v1di_v1di): Ditto.
              (v2si_ftype_v2si_si): Ditto.
              (v4hi_ftype_v4hi_di): Remove node.
              (v2si_ftype_v2si_di): Ditto.
              (ix86_init_mmx_sse_builtins): Handle V1DImode.
              (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?):
              Redefine builtins using def_builtin_const with *_ftype_*_int node.
              (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i):
              Add new builtins using def_builtin_const.
              (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?,
              IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I,
              IX86_BUILTIN_PSRA?I]: Handle builtin definitions.
              * config/i386/mmintrin.h (__v1di): New typedef.
              (_mm_add_si64): Cast arguments to __v1di type.
              (_mm_sub_si64): Ditto.
              (_mm_sll_pi16): Cast __count to __v4hi type.
              (_mm_sll_pi32): Cast __count to __v2si type.
              (_mm_sll_si64): Cast arguments to __v1di type.
              (_mm_srl_pi16): Cast __count to __v4hi type.
              (_mm_srl_pi32): Cast __count to __v2si type.
              (_mm_srl_si64): Cast arguments to __v1di type.
              (_mm_sra_pi16): Cast __count to __v4hi type.
              (_mm_sra_pi32): Cast __count to __v2si type.
              (_mm_slli_pi16): Use __builtin_ia32_psllwi.
              (_mm_slli_pi32): Use __builtin_ia32_pslldi.
              (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type.
              (_mm_srli_pi16): Use __builtin_ia32_psrlwi.
              (_mm_srli_pi32): Use __builtin_ia32_psrldi.
              (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type.
              (_mm_srai_pi16): Use __builtin_ia32_psrawi.
              (_mm_srai_pi32): Use __builtin_ia32_psradi.
              * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition.
              * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
              __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
              __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins.
      
      From-SVN: r133023
      Uros Bizjak committed
  8. 07 Mar, 2008 1 commit
  9. 06 Mar, 2008 1 commit
    • MAINTAINERS: Update for treelang deletion. · e8645a40
      .	* MAINTAINERS: Update for treelang deletion.
      gcc
      2008-03-05  Tom Tromey  <tromey@redhat.com>
      
      	* treelang: Delete.
      	* doc/standards.texi (Standards): Don't mention treelang.
      	* doc/invoke.texi (Overall Options): Don't mention treelang.
      	* doc/install.texi (Prerequisites): Don't mention bison or
      	treelang.
      	(Configuration): Don't mention treelang.
      	(Building): Likewise.
      	* doc/frontends.texi (G++ and GCC): Don't mention treelang.
      gcc/testsuite
      	* lib/treelang-dg.exp, lib/treelang.exp: Delete.
      	* treelang: Delete.
      gcc/testsuite/treelang
      Removed
      gcc/treelang
      Removed
      
      From-SVN: r132976
      Tom Tromey committed
  10. 05 Mar, 2008 1 commit
  11. 03 Mar, 2008 1 commit
    • config.gcc: Add arm/t-arm-softfp and soft-fp/t-softfp to arm configs. · bf98ec6c
      2008-03-03  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config.gcc: Add arm/t-arm-softfp and soft-fp/t-softfp to arm
      	configs.  Add new --with-arch options.
      	* config/arm/t-arm-softfp: New file.
      	* config/arm/elf.h: Disable soft-fp routines on everything except
      	ARMv6-M.
      	* config/arm/ieee754-df.S: Rename L_* to L_arm_*.
      	* config/arm/ieee754-sf.S: Ditto.
      	* config/arm/t-arm-elf: Ditto.
      	* config/arm/arm.c (FL_FOR_ARCH6M): Define.
      	(all_architectures): Add armv6-m.
      	(arm_output_mi_thunk): Add TARGET_THUMB1_ONLY thunks.
      	* config/arm/lib1funcs.asm: Add __ARM_ARCH_6M__ conditionals.
      	Include bpabi-v6m.S.
      	* config/arm/arm.h (TARGET_THUMB1_ONLY): Define.
      	(ARM_DECLARE_FUNCTION_NAME): Handle Thumb-1 only thunks.
      	* config/arm/sfp-machine.h: New file.
      	* config/arm/bpabi-v6m.S: New file.
      	* config/arm/arm-cores.def: Add cortex-m1.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/libunwind.S: Add ARMv6-M implementation.
      	* config/arm/bpabi.h: Add renames for soft-float routines.
      	* doc/invoke.texi: Document -mcpu=cortex-m1 and -march=armv6-m.
      
      From-SVN: r132837
      Paul Brook committed
  12. 28 Feb, 2008 1 commit
    • invoke.texi: Document -ftree-loop-distribution. · dea61d92
      	* doc/invoke.texi: Document -ftree-loop-distribution.
      	* tree-loop-distribution.c: New.
      	* tree-pass.h (pass_loop_distribution): New.
      	* graphds.h (struct graph): Add htab_t indices.
      	* timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
      	* tree-vectorizer.c (rename_variables_in_loop): Extern.
      	(slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
      	* tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
      	* tree-data-ref.c (debug_data_dependence_relations): New.
      	(dump_data_dependence_relation): Also print data references.
      	(free_data_ref): Extern.
      	(same_access_functions): Moved...
      	(find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
      	(dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
      	debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
      	struct rdg_vertex_info, rdg_vertex_for_stmt): New.
      	(create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
      	(stmts_from_loop): Skip LABEL_EXPR.
      	(hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): New.
      	(build_rdg): Initialize rdg->indices htab.
      	(free_rdg, stores_from_loop, ref_base_address,
      	rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
      	have_similar_memory_accesses_1, ref_base_address_1,
      	remove_similar_memory_refs): New.
      	* tree-data-ref.h: Depend on tree-chrec.h.
      	(debug_data_dependence_relations, free_data_ref): Declared.
      	(same_access_functions): ... here.
      	(ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): New.
      	(struct rdg_vertex): Add has_mem_write and has_mem_reads.
      	(RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
      	RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
      	(dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
      	debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
      	rdg_vertex_for_stmt): Declared.
      	(struct rdg_edge): Add level.
      	(RDGE_LEVEL): New.
      	(free_rdg, stores_from_loop, remove_similar_memory_refs,
      	rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): Declared.
      	(rdg_has_similar_memory_accesses): New.
      	* tree-vect-analyze.c: Remove unused static decls.
      	* lambda.h (dependence_level): New.
      	* common.opt (ftree-loop-distribution): New.
      	* tree-flow.h (mark_virtual_ops_in_bb, 
      	slpeel_tree_duplicate_loop_to_edge_cfg,
      	rename_variables_in_loop): Declared.
      	* Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
      	(OBJS-common): Add tree-loop-distribution.o.
      	(tree-loop-distribution.o): New rule.
      	* tree-cfg.c (mark_virtual_ops_in_bb): New.
      	(mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
      	* passes.c (init_optimization_passes): Schedule pass_loop_distribution.
      
      	* testsuite/gcc.dg/tree-ssa/ldist-{1..12}.c: New.
      
      From-SVN: r132745
      Sebastian Pop committed
  13. 26 Feb, 2008 3 commits
  14. 25 Feb, 2008 2 commits
  15. 23 Feb, 2008 1 commit
  16. 20 Feb, 2008 2 commits
    • invoke.texi (Warning Options): Add new option -Wframe-larger-than=. · a214518f
      gcc/ChangeLog:
      
      2008-02-20  Seongbae Park <seongbae.park@gmail.com>
      
      	* doc/invoke.texi (Warning Options): Add new option
      	-Wframe-larger-than=.
      	(-Wframe-larger-than): Document.
      
      	* flags.h (warn_frame_larger_than, frame_larger_than_size):
      	Add declarations for new option variables.
      
      	* final.c (final_start_function): Check the frame size
      	before emission and issue a Wframe-larger-than warning.
      
      	* opts.c (warn_frame_larger_than, frame_larger_than_size):
      	Add definitions for new option variables.
      	(common_handle_option): Handle new option OPT_Wframe_larger_than_.
      
      	* common.opt (Wframe-larger-than=): New option.
      
      gcc/testsuite/ChangeLog:
      
      2008-02-20  Seongbae Park <seongbae.park@gmail.com>
      
      	* gcc.dg/Wframe-larger-than.c: New option test.
      
      From-SVN: r132496
      Seongbae Park committed
    • re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) · 1c8bd6a3
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
              PR bootstrap/32161
      
              * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
              * configure: Regenerate.
      
              * Makefile.def: Define stage_libcflags for all bootstrap stages.
              * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
              STAGE4_LIBCFLAGS): New.
              (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
              $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
              (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
              (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
              (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
              for target modules.  Don't export LIBCFLAGS.
              (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
              $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
              the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
              (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
              $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
              * Makefile.in: Regenerate.
      
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
      
              * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
      		
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              * doc/install.texi: Correct references to CFLAGS, replacing them
              with BOOT_CFLAGS.  Document flags used during bootstrap for
              target libraries.
      
      From-SVN: r132479
      Paolo Bonzini committed
  17. 17 Feb, 2008 1 commit
    • c-tree.texi: Use @dots{} and @enddots{} where appropriate. · 923158be
      * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
      * doc/cfg.texi: Likewise.
      * doc/extend.texi: Likewise.
      * doc/gty.texi: Likewise.
      * doc/invoke.texi: Likewise.
      * doc/loop.texi: Likewise.
      * doc/md.texi: Likewise.
      * doc/passes.texi: Likewise.
      * doc/rtl.texi: Likewise.
      * doc/sourcebuild.texi: Likewise.
      * doc/tm.texi: Likewise.
      * doc/tree-ssa.texi: Likewise.
      
      From-SVN: r132381
      Ralf Wildenhues committed
  18. 16 Feb, 2008 2 commits
  19. 14 Feb, 2008 2 commits
    • bugreport.texi: Update copyright years. · 346341a4
      * doc/bugreport.texi: Update copyright years.
      * doc/c-tree.texi: Likewise.
      * doc/cfg.texi: Likewise.
      * doc/cpp.texi: Likewise.
      * doc/cppinternals.texi: Likewise.
      * doc/fragments.texi: Likewise.
      * doc/frontends.texi: Likewise.
      * doc/gcc.texi: Likewise.
      * doc/gty.texi: Likewise.
      * doc/hostconfig.texi: Likewise.
      * doc/implement-c.texi: Likewise.
      * doc/libgcc.texi: Likewise.
      * doc/loop.texi: Likewise.
      * doc/makefile.texi: Likewise.
      * doc/options.texi: Likewise.
      * doc/passes.texi: Likewise.
      * doc/rtl.texi: Likewise.
      * doc/sourcebuild.texi: Likewise.
      * doc/standards.texi: Likewise.
      * doc/tree-ssa.texi: Likewise.
      * doc/trouble.texi: Likewise.
      
      From-SVN: r132313
      Ralf Wildenhues committed
    • extend.texi: Use @: or add comma where appropriate. · 021efafc
      * doc/extend.texi: Use @: or add comma where appropriate.
      * doc/invoke.texi: Likewise.
      * doc/tm.texi: Likewise.
      
      From-SVN: r132312
      Ralf Wildenhues committed
  20. 13 Feb, 2008 2 commits
  21. 08 Feb, 2008 2 commits
  22. 07 Feb, 2008 1 commit
  23. 05 Feb, 2008 2 commits
  24. 04 Feb, 2008 1 commit
  25. 02 Feb, 2008 1 commit
  26. 01 Feb, 2008 2 commits
  27. 31 Jan, 2008 1 commit
    • c-tree.texi (Types): Fix grammar. · dc9a511d
      	* doc/c-tree.texi (Types): Fix grammar.
      	(Expression trees): Ditto.
      	* doc/passes.texi (Tree-SSA passes): Ditto.
      
      	* doc/configterms.texi (Configure Terms): Fix typo.
      	* doc/cpp.texi (Common Predefined Macros): Ditto.
      	* doc/md.texi (Machine Constraints): Ditto.
      
      	* doc/makefile.texi (Makefile): Add comma.
      
      From-SVN: r131987
      Tom Browder committed