1. 10 Jun, 2010 1 commit
  2. 05 Jun, 2010 2 commits
  3. 03 Jun, 2010 1 commit
  4. 26 May, 2010 1 commit
  5. 25 May, 2010 1 commit
  6. 24 May, 2010 1 commit
    • neon-testgen.ml: Use dg-add-options arm_neon. · 0c422e74
      2010-05-24  Daniel Jacobowitz  <dan@codesourcery.com>
      	    Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* config/arm/neon-testgen.ml: Use dg-add-options arm_neon.
      	* doc/sourcebuild.texi (Effective-Target Keywords): Update arm_neon_ok
      	description.  Add arm_neon_fp16_ok.
      	(Add Options): Add arm_neon and arm_neon_fp16.
      
      	gcc/testsuite/
      	* gcc.target/arm/neon/: Regenerated test cases.
      
      	* gcc.target/arm/neon/polytypes.c,
      	gcc.target/arm/neon-vmla-1.c, gcc.target/arm/neon-vmls-1.c,
      	gcc.target/arm/neon-cond-1.c, gcc.target/arm/neon/vfp-shift-a2t2.c,
      	gcc.target/arm/neon-thumb2-move.c, gcc.dg/torture/arm-fp16-ops-8.c, 
      	gcc.dg/torture/arm-fp16-ops-7.c, g++.dg/ext/arm-fp16/arm-fp16-ops-7.C,
      	g++.dg/ext/arm-fp16/arm-fp16-ops-8.C, g++.dg/abi/mangle-neon.C: Use
      	dg-add-options arm_neon.
      
      	* gcc.target/arm/fp16-compile-vcvt.c, gcc.dg/torture/arm-fp16-ops-5.c,
      	gcc.dg/torture/arm-fp16-ops-6.c, g++.dg/ext/arm-fp16/arm-fp16-ops-5.C,
      	g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: Use dg-add-options arm_neon_fp16
      	and arm_neon_fp16_ok.
      
      	* gcc.dg/vect/vect.exp, g++.dg/vect/vect.exp,
      	gfortran.dg/vect/vect.exp: Use add_options_for_arm_neon.
      
      	* lib/target-supports.exp (add_options_for_arm_neon): New.
      	(check_effective_target_arm_neon_ok_nocache): New, from
      	check_effective_target_arm_neon_ok.  Check multiple possibilities.
      	(check_effective_target_arm_neon_ok): Use
      	check_effective_target_arm_neon_ok_nocache.
      	(add_options_for_arm_neon_fp16)
      	(check_effective_target_arm_neon_fp16_ok)
      	check_effective_target_arm_neon_fp16_ok_nocache): New.
      	(check_effective_target_arm_neon_hw): Use add_options_for_arm_neon.
      
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r159794
      Daniel Jacobowitz committed
  7. 18 May, 2010 1 commit
    • add lto to powerpc-*darwin and enable for 32bit darwin · 02540df4
      Steven Bosscher  <steven@gcc.gnu.org>
      ChangeLog:
      	* configure.ac (--enable-lto): All *-apple-darwin* now support LTO.
      	* configure: Regenerate.
      
      gcc/ChangeLog:
      	* config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add
      	lto-macho as lto_binary_reader.
      
      	* darwin.c (darwin_asm_named_section): Do not add assembler comment
      	after .section directive; just print it before the directive instead.
      
      
      
      M    gcc/config.gcc
      M    gcc/config/darwin.c
      M    ChangeLog
      M    gcc/ChangeLog
      
      From-SVN: r159527
      Steven Bosscher committed
  8. 12 May, 2010 1 commit
  9. 07 May, 2010 1 commit
    • configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. · c082f9f3
      ChangeLog:
      	* configure.ac (--enable-lto): Add x86_64-apple-darwin* as
      	a platform that supports LTO.
      	* configure: Regenerate.
      
      gcc/ChangeLog:
      	* config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add
      	lto-macho as lto_binary_reader.
      	* target.h (struct gcc_target): New hooks lto_start and	lto_end.
      	* target-def.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Define.
      	* cgraphunit.c (ipa_passes): Wrap LTO assembler output generation
      	in lto_start and lto_end calls.
      	(is_elf_or_coff): Rename to maybe_lto_object_file.  Add Mach-O
      	magic numbers.
      	(scan_prog_file): Update is_elf_or_coff call.
      	* doc/tm.text (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Document.
      
      	* collect2.c (main): Fix enum comparison.
      
      	* config/darwin-protos.h (darwin_asm_lto_start, darwin_asm_lto_end):
      	Add prototypes.
      	* darwin9.h (LINK_COMMAND_SPEC): Pass -flto and -fwhopr to the linker.
      	* darwin.h (LINK_COMMAND_SPEC): Likewise.  Define TARGET_ASM_LTO_START
      	and TARGET_ASM_LTO_END.
      	* darwin.c: Include obstack.h and lto-streamer.h.
      	(lto_section_names_offset, lto_section_names_obstack,
      	lto_asm_out_file, lto_asm_out_name, saved_asm_out_file): New static
      	global variables.
      	(LTO_SEGMENT_NAME, LTO_NAMES_SECTION): New defines.
      	(darwin_asm_lto_start): New function.  Redirect output to asm_out_file
      	to a temporary file.
      	(darwin_asm_lto_end): New function.  Restore asm_out_file.
      	(darwin_asm_named_section): For LTO sections, replace the name with
      	the offset of the section name in a string table, and build this
      	table.
      	(darwin_file_start): Initialize global vars for LTO support.
      	(darwin_file_end): If output to asm_out_file was redirected, append it
      	to the proper asm_out_file here.  Add the section names section.
      
      lto/ChangeLog:
      	* lto.h (struct lto_file_struct): Document offset member.
      	* lto-endian.h: New file.
      	* lto-macho.h: New file.
      	* lto-macho.c: New file.
      	* Make-lang.in: Add rule for lto-macho.o.
      
      From-SVN: r159173
      Steven Bosscher committed
  10. 06 May, 2010 1 commit
  11. 27 Apr, 2010 2 commits
    • configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold… · 38e3d868
      configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld.
      
              * configure.ac (--enable-gold): Support both, both/gold and
              both/bfd to add gold to configdirs without removing ld.
              * configure: Regenerated.
      
              * Makefile.def: Add install-gold dependency to install-ld.
              * Makefile.in: Regenerated.
      
      Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
      
      From-SVN: r158786
      Roland McGrath committed
    • re PR lto/42776 (LTO doesn't work on non-ELF platforms.) · 3bec79c5
      ChangeLog:
      
      	PR lto/42776
      	* configure.ac (--enable-lto): Refactor handling so libelf tests
      	are only performed inside then-clause of ACX_ELF_TARGET_IFELSE,
      	and allow LTO to be explicitly enabled on non-ELF platforms that
      	are known to support it inside else-clause.
      	* configure: Regenerate.
      
      gcc/ChangeLog:
      
      	PR lto/42776
      	* configure.ac (gcc_cv_as_section_has_align): Set if installed
      	binutils supports extended .section directive needed by LTO, or
      	warn if older binutils found.
      	(LTO_BINARY_READER): New AC_SUBST'd variable.
      	(LTO_USE_LIBELF): Likewise.
      	* gcc/config.gcc (lto_binary_reader): New target-specific configure
      	variable.
      	* gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var.
      	(LTO_USE_LIBELF): Likewise.
      	* configure: Regenerate.
      
      	* collect2.c (is_elf): Rename from this ...
      	(is_elf_or_coff): ... to this, and recognize and allow i386 COFF
      	 object files in addition to ELF-formatted ones.
      	(scan_prog_file): Caller updated.  Also allow for LTO info marker
      	symbol to be prefixed or not by an extra underscore.
      
      	* config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H.
      	* config/i386/winnt.c: Also #include lto-streamer.h
      	(i386_pe_asm_named_section): Specify 1-byte section alignment for
      	LTO named sections.
      	(i386_pe_asm_output_aligned_decl_common): Add comment.
      	(i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL.
      
      gcc/lto/ChangeLog:
      
      	PR lto/42776
      	* Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of
      	hardcoding 'lto-elf.o'.
      	($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'.
      
      	* lto-coff.h: New file.
      	* lto-coff.c: Likewise.
      
      gcc/testsuite/ChangeLog:
      
      	PR lto/42776
      	* lib/lto.exp (lto_prune_vis_warns): New function.
      	(lto-link-and-maybe-run): Call it.
      
      From-SVN: r158762
      Dave Korn committed
  12. 20 Apr, 2010 1 commit
  13. 17 Apr, 2010 1 commit
  14. 16 Apr, 2010 2 commits
  15. 14 Apr, 2010 1 commit
  16. 13 Apr, 2010 1 commit
  17. 06 Apr, 2010 1 commit
  18. 02 Apr, 2010 1 commit
  19. 01 Apr, 2010 2 commits
  20. 31 Mar, 2010 3 commits
  21. 29 Mar, 2010 1 commit
  22. 23 Mar, 2010 2 commits
  23. 19 Mar, 2010 1 commit
  24. 18 Mar, 2010 1 commit
  25. 17 Mar, 2010 2 commits
  26. 16 Mar, 2010 4 commits
  27. 15 Mar, 2010 1 commit
  28. 09 Mar, 2010 1 commit
  29. 01 Mar, 2010 1 commit