1. 27 Sep, 2011 4 commits
    • Improve code generation for edge and pixel-compare... · cb8bbba8
      Improve code generation for edge and pixel-compare, specifically avoid
      sign and zero extensions on 64-bit and allow such instructions to be
      placed in delay slots.
      
      gcc/
      
      	* config/sparc/sparc.md (edge{8,16,32}{,l}): Return Pmode.
      	(fcmp{le,ne,gt,eq}{16,32}): Likewise.
      	* config/sparc/visintrin.h: Update edge and pixel-compare
      	intrinsics to return 'long' instead of 'int'.
      	* doc/extend.texi: Update documentation to match.
      	* config/sparc/sparc.c (eligible_for_return_delay): When leaf or
      	flat, allow any instruction.  Otherwise, when V9 allow parallels
      	which consist only of sets to registers outside of %o0 to %o5.
      	(sparc_vis_init_builtins): Update VIS builtin types for edge
      	and pixel-compare.
      
      gcc/testsuite/
      
      	* gcc.target/sparc/edge.c: Update for new return types.
      	* gcc.target/sparc/fcmp.c: Likewise.
      
      From-SVN: r179227
      David S. Miller committed
    • re PR c++/45487 (Request to change comma to semicolon in error message) · ca17c07b
      /cp
      2011-09-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/45487
      	* error.c (dump_template_bindings): Separate bindings with semicolons
      	instead of commas.
      
      /testsuite
      2011-09-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/45487
      	* g++.dg/diagnostic/bindings1.C: New.
      	* g++.old-deja/g++.pt/memtemp77.C: Adjust.
      
      From-SVN: r179226
      Paolo Carlini committed
    • Daily bump. · ab02e565
      From-SVN: r179225
      GCC Administrator committed
    • re PR libstdc++/48698 (gnu-versioned-namespace problems) · 2799d972
      2011-09-26  Benjamin Kosnik  <bkoz@redhat.com
                  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	PR libstdc++/48698
      	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Set libtool_VERSION here.
      	* configure.ac: Move AC_SUBST of libtool_VERSION past call to
      	GLIBCXX_ENABLE_SYMVERS.
      	* configure: Regenerate.
      	* include/bits/c++config: Use __7 as versioned namespace name.
      	* config/abi/pre/gnu-versioned-namespace.ver: Change mangling as
      	per above.
      	* include/c_global/cwchar: Adjust nested namespaces.
      	* testsuite/20_util/bind/48698.cc: Add test case.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Change line number.
      
      From-SVN: r179221
      Benjamin Kosnik committed
  2. 26 Sep, 2011 34 commits
  3. 25 Sep, 2011 2 commits
    • Add support for floating-point fused multiply-add on Sparc. · e8b141b5
      	* configure.ac: Add feature check to make sure the assembler
      	supports the FMAF, HPC, and VIS 3.0 instructions found on
      	Niagara-3 and later cpus.
      	* configure: Rebuild.
      	* config.in: Likewise.
      	* config/sparc/sparc.opt: New option '-mfmaf'.
      	* config/sparc/sparc.md: Add float fused multiply-add patterns.
      	* config/sparc/sparc.h (AS_NIAGARA3_FLAG): New macro.
      	(ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC): Use it, as needed.
      	* config/sparc/sol2.h (ASM_CPU32_DEFAULT_SPEC,
      	ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC): Likewise.
      	* config/sparc/sparc.c (sparc_option_override): Turn MASK_FMAF on
      	by default for Niagara-3 and later.  Turn it off if TARGET_FPU is
      	disabled.
      	(sparc_rtx_costs): Handle 'FMA'.
      	* doc/invoke.texi: Document -mfmaf.
      
      From-SVN: r179174
      David S. Miller committed
    • Generate 'fone' and 'fones' sparc instructions when possible. · 7cbcf85b
      	* config/sparc/constraints.md (C, P, Z): New constraints for
      	const_doube, const_int, and const_vector "all ones" values.
      	Make unused constraint letters comment match reality.
      	* config/sparc/predicates.md (const_all_ones_operand,
      	register_or_zero_or_all_ones_operand): New predicates.
      	* config/sparc/sparc.c (sparc_expand_move): Allow all ones
      	as well as zero constants when VIS.
      	(sparc_legitimate_constant_p): Likewise.
      	* config/sparc/sparc.md (movsi_insn): Add fones alternative.
      	(movsf_insn): Likewise
      	(movdi_insn_sp64): Add fone alternative.
      	(movdf_insn_sp32_v9): Likewise.
      	(movdf_insn_sp64): Likewise.
      
      From-SVN: r179173
      David S. Miller committed