1. 15 Dec, 2011 4 commits
  2. 14 Dec, 2011 20 commits
  3. 13 Dec, 2011 16 commits
    • syscall: Don't build wait status functions on RTEMS. · de05aad6
      From-SVN: r182313
      Ian Lance Taylor committed
    • lto-streamer-out.c (write_symbol): Use proper 64-bit host type. · 4ad9a9de
      	* lto-streamer-out.c (write_symbol): Use proper 64-bit host type.
      	* lto-cgraph.c (input_cgraph_opt_section): Use 'int' for offsets.
      	* lto-streamer-in.c (lto_read_body): Likewise.
      	(lto_input_toplevel_asms): Likewise.
      	* lto-section-in.c (lto_create_simple_input_block): Likewise.
      	* ipa-inline-analysis.c (inline_read_section): Likewise.
      	* ipa-prop.c (ipa_prop_read_section): Likewise.
      
      	* df.h (DF_NOTE): Fix typo in comment.
      lto/
      	* lto.h (lto_parse_hex): Delete.
      	* lto.c (lto_read_decls): Use 'int' for offsets.
      	(lto_parse_hex): Make static and return proper 64-bit host type.
      	(lto_resolution_read): Use proper 64-bit host type.
      
      From-SVN: r182310
      Eric Botcazou committed
    • runtime: RTEMS build fixes. · 03eee7f7
      From Joel Sherrill.
      
      From-SVN: r182309
      Ian Lance Taylor committed
    • revert an unattended change about access declaration · 091d2222
      From-SVN: r182308
      Fabien Chêne committed
    • trans-mem.c (ipa_tm_create_version_alias): Set DECL_CONTEXT and DECL_LANG_SPECIFIC. · 54c39478
              * trans-mem.c (ipa_tm_create_version_alias): Set DECL_CONTEXT and
              DECL_LANG_SPECIFIC.
      
      From-SVN: r182307
      Aldy Hernandez committed
    • regmove.c (fixup_match_2): Only access call_used_regs with hard regs. · c2db543b
      2011-12-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* regmove.c (fixup_match_2): Only access call_used_regs with hard
      	regs.
      
      From-SVN: r182306
      Andreas Krebbel committed
    • rwlock.cc (gtm_rwlock::write_lock_generic): Fix signed/unsigned comparison werror. · 5d9d05d3
              * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Fix
              signed/unsigned comparison werror.
      
      From-SVN: r182302
      Richard Henderson committed
    • Revert two unintended commits · b826bea7
      From-SVN: r182301
      Richard Henderson committed
    • mips-cpus.def: Add Octeon2. · 38a53a0e
      2011-12-13  Andrew Pinski  <apinski@cavium.com>
                  Adam Nemet  <anemet@caviumnetworks.com>
      
      	* config/mips/mips-cpus.def: Add Octeon2.
      	* config/mips/mips-tables.opt: Regenerate.
      	* config/mips/mips.md (define_attr "cpu"): Add Octeon2.
      	* config/mips/driver-native.c (host_detect_local_cpu): Support Octeon2 also.
      	* config/mips/octeon.md (octeon_arith): Add Octeon2.
      	(octeon_condmove): Likewise.
      	(octeon_load): Rename to ..
      	(octeon_load_o1): this.
      	(octeon_load_o2): New reserve.
      	(octeon_cop_o2): New reserve.
      	(octeon_store):  Match Octeon2 also.
      	(octeon_brj): Rename to ..
      	(octeon_brj_o1): this.
      	(octeon_brj_o2): New reserve.
      	(octeon_imul3): Rename to ...
      	(octeon_imul3_o1): this.
      	(octeon_imul3_o2): New reserve.
      	(octeon_imul): Rename to ...
      	(octeon_imul_o1): this.
      	(octeon_imul_o2): New reserve.
      	(octeon_mfhilo): Rename to ...
      	(octeon_mfhilo_o1): This.
      	(octeon_mfhilo_o2): New reserve.
      	(octeon_imadd): Rename to ...
      	(octeon_imadd_o1): this.
      	(octeon_imadd_o2): New reserve.
      	(octeon_idiv): Rename to ..
      	(octeon_idiv_o1): This.
      	(octeon_idiv_o2_si): New reserve.
      	(octeon_idiv_o2_di): Likewise.
      	(octeon_unknown): Match Octeon2 also.
      	* config/mips/mips.c (mips_rtx_cost_data): Add Octeon2 cost data.
      	(mips_issue_rate): Octeon2 can issue 2 at a time.
      	* config/mips/mips.h (TARGET_OCTEON): Match Octeon2 also.
      	(TARGET_OCTEON2): New define.
      	(TUNE_OCTEON): Match Octeon2 also.
      
      2011-12-13  Andrew Pinski  <apinski@cavium.com>
                  Adam Nemet  <anemet@caviumnetworks.com>
      
      	* gcc.target/mips/mips.exp (mips_option_groups): Fix debug.  Add
      	-fdump-* options.
      	* gcc.target/mips/octeon2-pipe-1.c: New testcase.
      	* gcc.target/mips/octeon-pipe-1.c: New testcase.
      
      
      Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com>
      
      From-SVN: r182300
      Andrew Pinski committed
    • arm: Implement vec_perm and vec_perm_const for NEON. · e9619a8a
      From-SVN: r182299
      Richard Henderson committed
    • Delete VEC_INTERLEAVE_*_EXPR. · 8c75d41b
      	* tree.def (VEC_INTERLEAVE_HIGH_EXPR, VEC_INTERLEAVE_LOW_EXPR): Remove.
      	* gimple-pretty-print.c (dump_binary_rhs): Don't handle
      	VEC_INTERLEAVE_HIGH_EXPR and VEC_INTERLEAVE_LOW_EXPR.
      	* expr.c (expand_expr_real_2): Likewise.
      	* tree-cfg.c (verify_gimple_assign_binary): Likewise.
      	* cfgexpand.c (expand_debug_expr): Likewise.
      	* tree-inline.c (estimate_operator_cost): Likewise.
      	* tree-pretty-print.c (dump_generic_node): Likewise.
      	* tree-vect-generic.c (expand_vector_operations_1): Likewise.
      	* fold-const.c (fold_binary_loc): Likewise.
      	* doc/generic.texi (VEC_INTERLEAVE_HIGH_EXPR,
      	VEC_INTERLEAVE_LOW_EXPR): Remove documentation.
      	* optabs.c (optab_for_tree_code): Don't handle
      	VEC_INTERLEAVE_HIGH_EXPR and VEC_INTERLEAVE_LOW_EXPR.
      	(expand_binop, init_optabs): Remove vec_interleave_high_optab
      	and vec_interleave_low_optab.
      	* genopinit.c (optabs): Likewise.
      	* optabs.h (OTI_vec_interleave_high, OTI_vec_interleave_low): Remove.
      	(vec_interleave_high_optab, vec_interleave_low_optab): Remove.
      	* doc/md.texi (vec_interleave_high, vec_interleave_low): Remove
      	documentation.
      	* tree-vect-stmts.c (gen_perm_mask): Renamed to...
      	(vect_gen_perm_mask): ... this.  No longer static.
      	(perm_mask_for_reverse, vectorizable_load): Adjust callers.
      	* tree-vectorizer.h (vect_gen_perm_mask): New prototype.
      	* tree-vect-data-refs.c (vect_strided_store_supported): Don't try
      	VEC_INTERLEAVE_*_EXPR, use can_vec_perm_p instead of
      	can_vec_perm_for_code_p.
      	(vect_permute_store_chain): Generate VEC_PERM_EXPR with interleaving
      	masks instead of VEC_INTERLEAVE_HIGH_EXPR and VEC_INTERLEAVE_LOW_EXPR.
      	* config/i386/i386.c (expand_vec_perm_interleave2): If
      	expand_vec_perm_interleave3 would handle it, return false.
      	(expand_vec_perm_broadcast_1): Don't use vec_interleave_*_optab.
      
      From-SVN: r182298
      Richard Henderson committed
    • sparc: Default memory model to TSO for Linux and Solaris. · 6cc7fb90
              * config/sparc/tso.h: New file.
              * config.gcc (sparc-*-linux*, sparc*-*-solaris2*): Use it.
              * config/sparc/sparc.c (sparc_option_override): Honor
              SUBTARGET_DEFAULT_MEMORY_MODEL.
              * config/sparc/sparc.h (SUBTARGET_DEFAULT_MEMORY_MODEL): New.
      
      From-SVN: r182297
      Richard Henderson committed
    • libgo: Solaris compatibility patches. · 9dadf3bf
      From Rainer Orth.
      
      From-SVN: r182296
      Ian Lance Taylor committed
    • libgo: Update to weekly.2011-12-02. · 7b1c3dd9
      From-SVN: r182295
      Ian Lance Taylor committed