1. 09 Dec, 2009 7 commits
  2. 08 Dec, 2009 14 commits
  3. 07 Dec, 2009 19 commits
    • linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch. · 1141be7e
      	* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
      	* config/sparc/linux64.h (ASM_SPEC): Likewise.
      
      From-SVN: r155065
      Eric Botcazou committed
    • re PR debug/42299 (another verify_ssa failure with -g -O2) · 74e12783
      	PR debug/42299
      	PR debug/42166
      	* tree-ssa.c (insert_debug_temp_for_var_def): Skip propagation
      	for ssa names already registered for update.
      
      From-SVN: r155063
      Richard Henderson committed
    • re PR debug/42244 (var-tracking ICE for 300.twolf) · aec4e50c
      	PR debug/42244
      	* ddg.c (add_inter_loop_mem_dep): Use ANTI_DEP if from or to
      	is a DEBUG_INSN.
      
      	* gcc.dg/debug/pr42244.c: New test.
      
      From-SVN: r155062
      Jakub Jelinek committed
    • Check cpuid LWP bit. · 8ad9d49e
      	* config/i386/driver-i386.c (host_detect_local_cpu): Add -mlwp to the
      	options when bit_LWP is set.
      
      From-SVN: r155061
      Sebastian Pop committed
    • Check cpuid ABM bit. · c3d34a78
      	* config/i386/cpuid.h (bit_ABM): New.
      	* config/i386/driver-i386.c (host_detect_local_cpu): Add -mabm to the
      	options when bit_ABM is set.
      
      From-SVN: r155060
      Sebastian Pop committed
    • Fix ABM. · 7fccdfcf
      2009-12-04  Jakub Jelinek  <jakub@redhat.com>
      
      	* config/i386/i386.c (bdesc_special_args): Move __builtin_clzs from
      	this array ...
      	(bdesc_args): ... here.
      	* config.gcc (i[34567]86-*-*): Include abmintrin.h.
      	(x86_64-*-*): Likewise.
      
      	* gcc.target/i386/sse-12.c: Add -mabm to dg-options, mention
      	abmintrin.h is also tested.
      	* gcc.target/i386/sse-13.c: Likewise.
      
      From-SVN: r155059
      Jakub Jelinek committed
    • Fix _mm_popcnt* intrinsics. · 3bccee03
      	* config.gcc (i[34567]86-*-*, x86_64-*-*): Add popcntintrin.h.
      	* config/i386/abmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
      	* config/i386/i386-c.c (__POPCNT__): Defined.
      	* config/i386/popcntintrin.h: ...here.  New file.
      	* config/i386/smmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
      	Include popcntintrin.h.
      	* config/i386/x86intrin.h: Include popcntintrin.h when __POPCNT__
      	is defined.
      
      From-SVN: r155058
      Sebastian Pop committed
    • Remove XOP splitters. · aedff010
      	* config/i386/i386-protos.h (ix86_expand_fma4_multiple_memory):
      	Removed.
      	* config/i386/i386.c (ix86_expand_fma4_multiple_memory): Removed.
      	* config/i386/sse.md: Remove all XOP splitters.
      	Allow the second and fourth operands of XOP multiply-add insns
      	to be nonimmediate.
      
      From-SVN: r155057
      Sebastian Pop committed
    • Remove all FMA4 splitters. · c7b4d948
      	* config/i386/sse.md: Remove all FMA4 splitters.
      	Allow the second operand of FMA4 insns to be a nonimmediate.
      	Fix comments punctuation.
      
      From-SVN: r155056
      Sebastian Pop committed
    • constraints.md (Ps, Pt): New constraint letters. · 85f28bf1
      	gcc/
      	* config/arm/constraints.md (Ps, Pt): New constraint letters.
      	* config/arm/thumb2.md (*thumb2_addsi_short): Tighten constraints.
      
      From-SVN: r155054
      Julian Brown committed
    • acinclude.m4: Regenerated to pick: 2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> · 9e60c2aa
      	* acinclude.m4: Regenerated to pick:
      	2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
      
      	* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
      	Ignore lines in ld.so.conf starting with 'hwcap '.
      
      	* configure: Regenerated.
      
      	2009-11-24  Peter O'Gorman  <peter@pogma.com>
      
      	Backport of libltdl changes from the 2.2.6b release.
      	* ltdl.c: Backport changes.
      
      From-SVN: r155053
      Jakub Jelinek committed
    • re PR fortran/41940 (Improve error message for allocating scalar with shape) · d59b1dcb
      gcc/fortran:
      2009-12-07  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/41940
              * match.c (gfc_match_allocate): Improved error message for
              allocatable scalars that are allocated with a shape.
      
      gcc/testsuite:
      2009-12-07  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/41940
              * gfortran.dg/allocate_scalar_with_shape.f90: New.
      
      From-SVN: r155049
      Daniel Franke committed
    • re PR other/40302 (GCC must hard-require MPC before release) · b3a00b50
      	PR other/40302
      	* configure.ac (HAVE_mpc): Don't define.
      	* config.in, configure: Regenerate.
      
      From-SVN: r155047
      Kaveh R. Ghazi committed
    • re PR other/40302 (GCC must hard-require MPC before release) · 16a19648
      	PR other/40302
      	* builtins.c: Remove HAVE_mpc* checks throughout.
      	* fold-const.c: Likewise.
      	* real.h: Likewise.
      	* toplev.c: Likewise.
      
      From-SVN: r155046
      Kaveh R. Ghazi committed
    • re PR other/40302 (GCC must hard-require MPC before release) · 197eb5a1
      	PR other/40302
      	* gcc.dg/torture/builtin-math-6.c: Assume we have MPC.
      	* gcc.dg/torture/builtin-math-7.c: Likewise.
      	* gfortran.dg/complex_intrinsic_7.f90: Likewise.
      	* gfortran.dg/complex_intrinsic_8.f90: Likewise.
      	* gfortran.dg/integer_exponentiation_4.f90: Re-enable some tests.
      	* lib/target-supports.exp (check_effective_target_mpc,
      	check_effective_target_mpc_pow, check_effective_target_mpc_arc):
      	Delete.
      
      From-SVN: r155045
      Kaveh R. Ghazi committed
    • config.gcc (cpu_is_64bit): Add new core e500mc64. · b17f98b1
      2009-12-07  Edmar Wienskoski  <edmar@freescale.com>
      
              * config.gcc (cpu_is_64bit): Add new core e500mc64.
              (powerpc*-*-*): Add new core e500mc64.
              * config/rs6000/e500mc64.md: New file.
              * config/rs6000/rs6000.c (processor_costs): Add new costs for
              e500mc64.
              (rs6000_override_options): Add e500mc64 case to
              processor_target_table. Altivec and Spe options not allowed with
              e500mc64. Disable string instructions for e500mc64. Enable branch
              targets alignment for both e500mc and e500mc64. Initialize
              rs6000_cost for e500mc64.
              (rs6000_emit_sISEL): New function.
              (rs6000_emit_sCOND): Call rs6000_emit_sISEL for isel targets.
              (rs6000_emit_int_cmove): Fix mode of 64 bit isel pattern
              generation.
              (rs6000_issue_rate): Set issue rate for e500mc64.
              (rs6000_rtx_costs): Set more accurate cost for mfcr instruction
              on architectures with isel.
              * config/rs6000/rs6000-protos.h (rs6000_emit_sISEL): Declare.
              * config/rs6000/rs6000.h (processor_type): Add
              PROCESSOR_PPCE500MC64.
              (ASM_CPU_SPEC): Add e500mc64.
              * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce500mc64.
              Include e500mc64.md.
              (abssi2_isel): Expand pattern to handle DImode.
              (nabs<mode>2_isel): New pattern.
              (absdi2): Change pattern to handle 64 bit isel targets.
              (absdi2_internal): Exclude ISEL targets.
              (nabsdi2): Exclude ISEL targets.
              * doc/invoke.texi: Add e500mc64 to list of cpus.
      
      From-SVN: r155044
      Edmar Wienskoski committed
    • re PR other/40302 (GCC must hard-require MPC before release) · d0d92baf
      	PR other/40302
      	* arith.c: Remove HAVE_mpc* checks throughout.
      	* expr.c: Likewise.
      	* gfortran.h: Likewise.
      	* resolve.c: Likewise.
      	* simplify.c: Likewise.
      	* target-memory.c: Likewise.
      	* target-memory.h: Likewise.
      
      From-SVN: r155043
      Kaveh R. Ghazi committed
    • ppc-eq0-1.c: Adjust testcase for isel targets. · 2330bfb3
      2009-12-07  Edmar Wienskoski  <edmar@freescale.com>
      
              * gcc.target/powerpc/ppc-eq0-1.c: Adjust testcase for isel
              targets.
      
      From-SVN: r155042
      Edmar Wienskoski committed
    • i386.md (any_or): New code iterator. · c8427064
      	* config/i386/i386.md (any_or): New code iterator.
      	(any_logic): Rename from plogic code iterator.
      	(logicprefix): Rename from plogicprefix code attribute.
      	(<code><mode>3): Macroize expander from {ior,xor}<mode>3 using
      	any_or code iterator.
      	(*<code><mode>_1): Macroize insn from *{ior,xor}<mode>_1 using
      	any_or code iterator.
      	(*<code><mode>_2): Ditto from *{ior,xor}<mode>_2.
      	(*<code><mode>_3): Ditto from *{ior,xor}<mode>_3.
      	(ior and xor splitters): Ditto.
      	* config/i386/mmx.md: Updated for rename.
      	* config/i386/sse.md: Ditto.
      
      From-SVN: r155037
      Uros Bizjak committed