1. 28 Feb, 2013 1 commit
    • * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) · c7b1fc1b
      	(ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
      	(atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
      	(atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
      	(atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
      	(atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
      	(atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
      	(atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
      	(atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
      	(atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
      	(atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
      	(atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
      	(atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
      	(atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
      	(atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
      	(avrxmega6): Increase max flash segments from 5 to 6.
      	* config/avr/t-multilib: Regenerate.
      	* config/avr/avr-tables.opt: Regenerate.
      	* doc/avr-mmcu.texi: Regenerate.
      
      From-SVN: r196331
      Georg-Johann Lay committed
  2. 25 Feb, 2013 3 commits
  3. 24 Feb, 2013 1 commit
    • mips16.S: Don't build for microMIPS. · 6941b508
      libgcc/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Joseph Myers  <joseph@codesourcery.com>
      	    Chao-ying Fu  <fu@mips.com>
      
      	* config/mips/mips16.S:  Don't build for microMIPS.
      	* config/mips/linux-unwind.h: Handle microMIPS frame.
      	* config/mips/crtn.S (fini, init): New labels.
      
      gcc/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Maciej W. Rozycki  <macro@codesourcery.com>
      	    Tom de Vries  <tom@codesourcery.com>
      	    Nathan Sidwell <nathan@codesourcery.com>
      	    Iain Sandoe  <iain@codesourcery.com>
      	    Nathan Froyd  <froydnj@codesourcery.com>
      	    Chao-ying Fu <fu@mips.com>
      
      	* doc/extend.texi: (micromips, nomicromips, nocompression):
      	Document new function attributes. 
      	* doc/invoke.texi (minterlink-compressed, mmicromips,
      	m14k, m14ke, m14kec): Document new options.
      	(minterlink-mips16): Update documentation.
      	* doc/md.texi (ZC, ZD): Document new constraints.
      	* configure.ac (gcc_cv_as_micromips): Check if linker
      	supports the .set micromips directive.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* config/mips/mips-tables.opt: Regenerate.
      	* config/mips/micromips.md: New file.
      	* constraints.md (ZC, AD): New constraints.
      	* config/mips/predicates.md (movep_src_register): New predicate.
      	(movep_src_operand): New predicate.
      	(non_volatile_mem_operand): New predicate.
      	* config/mips/mips.md (multimem): New type.
      	(length): Differentiate between 17-bit and 18-bit branch offsets.
      	(MOVEP1, MOVEP2): New mode iterator.
       	(mov_<load>l): Use ZC constraint.
      	(mov_<load>r): Likewise.
      	(mov_<store>l): Likewise.
      	(mov_<store>r): Likewise.
      	(*branch_equality<mode>_inverted): Add microMIPS support.
      	(*branch_equality<mode>): Likewise.
      	(*jump_absolute): Likewise.
      	(indirect_jump_<mode>): Likewise.
      	(tablejump_<mode>): Likewise.
      	(<optab>_internal): Likewise.
      	(sibcall_internal): Likewise.
      	(sibcall_value_internal): Likewise.
      	(prefetch): Use constraint ZD.
      	* config/mips/mips.opt (minterlink-compressed): New option.
      	(minterlink-mips16): Now an alias for minterlink-compressed.
      	(mmicromips): New option.
      	* config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
      	(compare_and_swap_12): Likewise.
      	(sync_add<mode>): Likewise.
      	(sync_<optab>_12): Likewise.
      	(sync_old_<optab>_12): Likewise.
      	(sync_new_<optab>_12): Likewise.
      	(sync_nand_12): Likewise.
      	(sync_old_nand_12): Likewise.
      	(sync_new_nand_12): Likewise.
      	(sync_sub<mode>): Likewise.
      	(sync_old_add<mode>): Likewise.
      	(sync_old_sub<mode>): Likewise.
      	(sync_new_add<mode>): Likewise.
      	(sync_new_sub<mode>): Likewise.
      	(sync_<optab><mode>): Likewise.
      	(sync_old_<optab><mode>): Likewise.
      	(sync_new_<optab><mode>): Likewise.
      	(sync_nand<mode>): Likewise.
      	(sync_old_nand<mode>): Likewise.
      	(sync_new_nand<mode>): Likewise.
      	(sync_lock_test_and_set<mode>): Likewise.
      	(test_and_set_12): Likewise.
      	(atomic_compare_and_swap<mode>): Likewise.
      	(atomic_exchange<mode>_llsc): Likewise.
      	(atomic_fetch_add<mode>_llsc): Likewise.
      	* config/mips/mips-cpus.def (m14kc, m14k): New processors.
      	* config/mips/mips-protos.h (umips_output_save_restore): New prototype.
      	(umips_save_restore_pattern_p): Likewise.
      	(umips_load_store_pair_p): Likewise.
      	(umips_output_load_store_pair): Likewise.
      	(umips_movep_target_p): Likewise.
      	(umips_12bit_offset_address_p): Likewise.
      	* config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
      	(mips_base_mips16): Rename this...
      	(mips_base_compression_flags): ...to this. Update all uses.
      	(mips_attribute_table): Add micromips, nomicromips and nocompression.
      	(mips_mips16_decl_p): Delete.
      	(mips_nomips16_decl_p): Delete.
       	(mips_get_compress_on_flags): New function.
      	(mips_get_compress_off_flags): New function.
      	(mips_get_compress_mode): New function.
      	(mips_get_compress_on_name): New function.
      	(mips_get_compress_off_name): New function.
      	(mips_insert_attributes): Support multiple compression types.
      	(mips_merge_decl_attributes): Likewise.
      	(umips_12bit_offset_address_p): New function.
      	(mips_start_function_definition): Emit .set micromips directive.
      	(mips_call_may_need_jalx_p): New function.
      	(mips_function_ok_for_sibcall): Add microMIPS support.
      	(mips_print_operand_punctuation): Support short delay slots and
      	compact jumps.
      	(umips_swm_mask, umips_swm_encoding): New.
      	(umips_build_save_restore): New function.
      	(mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
      	(was_mips16_p): Remove.
      	(old_compression_mode): New.
      	(mips_set_compression_mode): New function.
      	(mips_set_current_function): Add microMIPS support.
      	(mips_option_override): Likewise.
      	(umips_save_restore_pattern_p): New function.
      	(umips_output_save_restore): New function.
      	(umips_load_store_pair_p_1): New function.
      	(umips_load_store_pair_p): New function.
      	(umips_output_load_store_pair_1): New function.
      	(umips_output_load_store_pair): New function.
      	(umips_movep_target_p) New function.
      	(mips_prepare_pch_save): Add microMIPS support.
      	* config/mips/mips.h (TARGET_COMPRESSION): New.
      	(TARGET_CPU_CPP_BUILTINS): Update macro
      	to use new compression flags and to support microMIPS.
      	(MIPS_ISA_LEVEL_SPEC): Add m14k processors.
      	(MIPS_ARCH_FLOAT_SPEC): Likewise.
      	(ISA_HAS_LWXS): Include TARGET_MICROMIPS.
      	(ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
      	(ASM_SPEC): Support mmicromips and mno-micromips.
      	(M16STORE_REG_P): New macro.
      	(MIPS_CALL): Support TARGET_MICROMIPS.
      	(MICROMIPS_J): New macro.
      	(mips_base_mips16): Rename this...
      	(mips_base_compression_flags): ...to this.
      	(UMIPS_12BIT_OFFSET_P): New macro.
      	* config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
      	(MULTILIB_DIRNAMES): Likewise.
      
      gcc/testsuite/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Richard Sandiford <rdsandiford@googlemail.com>
      
      	* gcc.target/mips/mips.exp: Add microMIPS support.
      	* gcc.target/mips/umips-movep-2.c: New test.
      	* gcc.target/mips/umips-lwp-2.c: New test.
      	* gcc.target/mips/umips-swp-5.c: New test.
      	* gcc.target/mips/umips-constraints-1.c: New test.
      	* gcc.target/mips/umips-lwp-3.c: New test.
      	* gcc.target/mips/umips-swp-6.c: New test.
      	* gcc.target/mips/umips-constraints-2.c: New test.
      	* gcc.target/mips/umips-save-restore-1.c: New test.
      	* gcc.target/mips/umips-lwp-4.c: New test.
      	* gcc.target/mips/umips-swp-7.c: New test.
      	* gcc.target/mips/umips-save-restore-2.c: New test.
      	* gcc.target/mips/umips-lwp-swp-volatile.c: New test.
      	* gcc.target/mips/umips-lwp-5.c: New test.
      	* gcc.target/mips/umips-save-restore-3.c: New test.
      	* gcc.target/mips/umips-lwp-6.c: New test.
      	* gcc.target/mips/umips-swp-1.c: New test.
      	* gcc.target/mips/umips-lwp-7.c: New test.
      	* gcc.target/mips/umips-swp-2.c: New test.
      	* gcc.target/mips/umips-lwp-8.c: New test.
      	* gcc.target/mips/umips-swp-3.c: New test.
      	* gcc.target/mips/umips-movep-1.c: New test.
      	* gcc.target/mips/umips-lwp-1.c: New test.
      	* gcc.target/mips/umips-swp-4.c: New test.
      
      
      Co-Authored-By: Chao-ying Fu <fu@mips.com>
      Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
      Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
      Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r196246
      Catherine Moore committed
  4. 21 Feb, 2013 3 commits
  5. 12 Feb, 2013 1 commit
    • extend.texi: Document Function Multiversioning and "default" parameter string to target... · f80e0faf
      	* doc/extend.texi: Document Function Multiversioning and "default"
      	parameter string to target attribute.
      	* g++.dg/ext/mv12.C: New test.
      	* g++.dg/ext/mv12.h: New file.
      	* g++.dg/ext/mv12-aux.C: New file.
      	* g++.dg/ext/mv13.C: New test.
      	* config/i386/i386.c (get_builtin_code_for_version): Return 0 if
      	target attribute parameter is "default".
      	(ix86_compare_version_priority): Remove checks for target attribute.
      	(ix86_mangle_function_version_assembler_name): Change error to sorry.
      	Remove check for target attribute equal to NULL. Add assert.
      	(ix86_generate_version_dispatcher_body): Change error to sorry.
      
      From-SVN: r195967
      Sriraman Tallam committed
  6. 05 Feb, 2013 1 commit
  7. 31 Jan, 2013 2 commits
    • lib1funcs.S: Add support for e3v5 architecture variant. · dbdbd982
      	* config/v850/lib1funcs.S: Add support for e3v5 architecture
      	variant.
      
      	* config/v850/constraints.md (Q): Define as a memory constraint.
      	* config/v850/predicates.md (label_ref_operand): New predicate.
      	(e3v5_shift_operand): New predicate.
      	(ior_operator): New predicate.
      	* config/v850/t-v850: Add e3v5 multilib.
      	* config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
      	(v850_gen_movdi): Prototype.
      	* config/v850/v850.c: Add support for e3v5 architecture.
      	Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
      	TARGET_V850E_UP.
      	(construct_save_jarl): Add e3v5 long JARL support.
      	(v850_adjust_insn_length): New function.  Adjust length of call
      	insns when using e3v5 instructions.
      	(v850_gen_movdi): New function: Generate instructions to move a
      	DImode value.
      	* config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
      	(CPP_SPEC): Define __v850e3v5__ as appropriate.
      	(TARGET_USE_FPU): Enable for e3v5.
      	(CONST_OK_FOR_W): New macro.
      	(ADJUST_INSN_LENGTH): Define.
      	* config/v850/v850.md (UNSPEC_LOOP): Define.
      	(attr cpu): Add v850e3v5.
      	Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
      	(movdi): New pattern.
      	(movdi_internal): New pattern.
      	(cbranchsf4): Conditionalize on TARGET_USE_FPU.
      	(cbranchdf4): Conditionalize on TARGET_USE_FPU.
      	(cstoresf4): Likewise.
      	(cstoredf4): Likewise.
      	(insv): New pattern.
      	(rotlso3_a): New pattern.
      	(rotlsi3_b): New pattern
      	(rotlsi3_v850e3v5): New pattern.
      	(doloop_begin): New pattern.
      	(fix_loop_counter): New pattern.
      	(doloop_end): New pattern.
      	(branch_normal): Add e3v5 long branch support.
      	(branch_invert): Likewise.
      	(branch_z_normal): Likewise.
      	(branch_z_invert): Likewise.
      	(branch_nz_normal): Likewise.
      	(branch_nz_invert): Likewise.
      	(call_internal_short): Add e3v5 register-indirect JARL support.
      	(call_internal_long): Likewise.
      	(call_value_internal_short): Likewise.
      	(call_value_internal_long): Likewise.
      	* config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
      	(mloop): New option.
      	* config.gcc: Add support for configuring v840e3v5 target.
      	* doc/invoke.texi: Document new v850 specific command line
      	options.
      
      From-SVN: r195623
      Nick Clifton committed
    • re PR middle-end/53073 (464.h264ref in SPEC CPU 2006 miscompiled) · 6e616110
      2013-01-31  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/53073
      	* common.opt (faggressive-loop-optimizations): New flag,
      	enabled by default.
      	* doc/invoke.texi (faggressive-loop-optimizations): Document.
      	* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
      	infer_loop_bounds_from_undefined by it.
      
      From-SVN: r195610
      Richard Biener committed
  8. 30 Jan, 2013 1 commit
    • re PR c++/55742 (__attribute__ in class function declaration cause "prototype… · 32887460
      re PR c++/55742 (__attribute__ in class function declaration cause "prototype does not match" errors.)
      
      	PR c++/55742
      	* config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
      	invalid args instead of ICEing on it.
      	(ix86_valid_target_attribute_tree): Return error_mark_node if
      	ix86_valid_target_attribute_inner_p failed.
      	(ix86_valid_target_attribute_p): Return false only if
      	ix86_valid_target_attribute_tree returned error_mark_node.  Allow
      	target("default") attribute.
      	(sorted_attr_string): Change argument from const char * to tree,
      	merge in all target attribute arguments rather than just one.
      	Formatting fix.  Use XNEWVEC instead of xmalloc and XDELETEVEC
      	instead of free.  Avoid using strcat.
      	(ix86_mangle_function_version_assembler_name): Mangle
      	target("default") as if no target attribute is present.  Adjust
      	sorted_attr_string caller.  Avoid leaking memory.  Use XNEWVEC
      	instead of xmalloc and XDELETEVEC instead of free.
      	(ix86_function_versions): Don't return true if one of the decls
      	doesn't have target attribute.  If they don't and one of the decls
      	is DECL_FUNCTION_VERSIONED, report an error.  Adjust
      	sorted_attr_string caller.  Use XDELETEVEC instead of free.
      	(ix86_supports_function_versions): Remove.
      	(make_name): Fix up formatting.
      	(make_dispatcher_decl): Remove resolver_name and its initialization.
      	Avoid leaking memory.
      	(is_function_default_version): Return true if there is
      	target("default") attribute rather than no target attribute at all.
      	(make_resolver_func): Avoid leaking memory.
      	(ix86_generate_version_dispatcher_body): Likewise.
      	(TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
      	* target.def (supports_function_versions): Remove.
      	* doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
      	* doc/tm.texi: Regenerated.
      
      	* c-common.c (handle_target_attribute): Revert 2012-12-26 change.
      
      	* g++.dg/mv1.C: Moved to...
      	* g++.dg/ext/mv1.C: ... here.  Adjust test.
      	* g++.dg/mv2.C: Moved to...
      	* g++.dg/ext/mv2.C: ... here.  Adjust test.
      	* g++.dg/mv3.C: Moved to...
      	* g++.dg/ext/mv3.C: ... here.
      	* g++.dg/mv4.C: Moved to...
      	* g++.dg/ext/mv4.C: ... here.
      	* g++.dg/mv5.C: Moved to...
      	* g++.dg/ext/mv5.C: ... here.  Adjust test.
      	* g++.dg/mv6.C: Moved to...
      	* g++.dg/ext/mv6.C: ... here.  Adjust test.
      	* g++.dg/ext/mv7.C: New test.
      	* g++.dg/ext/mv8.C: New test.
      	* g++.dg/ext/mv9.C: New test.
      	* g++.dg/ext/mv10.C: New test.
      	* g++.dg/ext/mv11.C: New test.
      
      From-SVN: r195584
      Jakub Jelinek committed
  9. 25 Jan, 2013 2 commits
  10. 24 Jan, 2013 2 commits
  11. 22 Jan, 2013 3 commits
  12. 19 Jan, 2013 1 commit
    • re PR target/54908 (misc regressions on emutls targets remain from dynamic… · 5af057d8
      re PR target/54908 (misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables)
      
      	PR target/54908
      c-family/
      	* c.opt (-fextern-tls-init): New.
      	* c-opts.c (c_common_post_options): Handle it.
      cp/
      	* decl2.c (get_local_tls_init_fn): New.
      	(get_tls_init_fn): Handle flag_extern_tls_init.  Don't bother
      	with aliases for internal variables.  Don't use weakrefs if
      	the variable needs destruction.
      	(generate_tls_wrapper): Mark the wrapper as const if no
      	initialization is needed.
      	(handle_tls_init): Don't require aliases.
      
      From-SVN: r195310
      Jason Merrill committed
  13. 18 Jan, 2013 1 commit
    • Add support for Marvell's PJ4 CPU · df8de9b3
      2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
      	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	* config/arm/marvell-pj4.md: New file.
      	* config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
      	* config/arm/arm.md (generic_sched): Add marvell_pj4.
      	(generic_vfp): Likewise.
      	* config/arm/arm-cores.def: Add marvell-pj4.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/arm-tables.opt: Regenerate.
      	* config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
      	* doc/invoke.texi: Document marvell-pj4.
      
      
      
      
      Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
      
      From-SVN: r195295
      Yi-Hsiu Hsu committed
  14. 16 Jan, 2013 1 commit
  15. 13 Jan, 2013 1 commit
    • Makefile.in (s-mlib): New argument MULTILIB_REUSE. · e7f49d92
      2013-01-13  Terry Guo  <terry.guo@arm.com>
      
              * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
              * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
              * gcc/gcc.c (multilib_reuse): New internal spec.
              (set_multilib_dir): Also search multilib from multilib_reuse.
              * gcc/genmultilib (tmpmultilib3): Refactor code.
              (tmpmultilib4): Ditto.
              (multilib_reuse): New multilib argument.
      
      From-SVN: r195134
      Terry Guo committed
  16. 11 Jan, 2013 2 commits
  17. 10 Jan, 2013 1 commit
  18. 07 Jan, 2013 3 commits
  19. 04 Jan, 2013 1 commit
  20. 03 Jan, 2013 1 commit
  21. 27 Dec, 2012 1 commit
    • Before this patch... · eb745e40
      Before this patch, function multiversioning determines that two functions
      are different by comparing the arch type and isa flags that are set
      after the target string is processed. This leads to cases where  the
      versions become identical when the command-line target options are
      altered.
      
      This patch modifies the function version determination to
      just compare the target string.
      
      
      2012-12-27  Sriraman Tallam  <tmsriram@google.com>
      
      	* doc/tm.texi.in (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Document
      	new target hook.
      	* doc/tm.texi: Regenerate.
      	* c-family/c-common.c (handle_target_attribute): Retain target attribute
      	for targets that support versioning.
      	* target.def (supports_function_versions): New hook.
      	* cp/class.c (add_method): Remove calls
      	to DECL_FUNCTION_SPECIFIC_TARGET.
      	* config/i386/i386.c (ix86_function_versions): Use target string
      	to check for function versions instead of target flags.
      	* (ix86_supports_function_versions): New function.
      	* (is_function_default_version): Check target string.
      	* TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS: New macro.
      
      2012-12-27  Sriraman Tallam  <tmsriram@google.com>
      
      	* testsuite/g++.dg/mv1.C: Remove target options.
      	* testsuite/g++.dg/mv2.C: Ditto.
      	* testsuite/g++.dg/mv3.C: Ditto.
      	* testsuite/g++.dg/mv4.C: Ditto.
      	* testsuite/g++.dg/mv5.C: Ditto.
      
      From-SVN: r194730
      Sriraman Tallam committed
  22. 19 Dec, 2012 1 commit
    • target.def: Define canonicalize_comparison hook. · c354951b
      2012-12-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* target.def: Define canonicalize_comparison hook.
      	* targhooks.h (default_canonicalize_comparison): New prototype.
      	* targhooks.c (default_canonicalize_comparison): New function.
      	* doc/tm.texi: Add documentation for the new target hook.
      	* doc/tm.texi.in: Likewise.
      	* combine.c (try_combine): Adjust to use the target hook.
      	* config/alpha/alpha.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/alpha/alpha.c (alpha_canonicalize_comparison): New
      	function.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/arm/arm-protos.h (arm_canonicalize_comparison): Remove
      	prototype.
      	* config/arm/arm.c (arm_canonicalize_comparison): Add new
      	parameter.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/arm/arm.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/s390/s390-protos.h (s390_canonicalize_comparison): Remove
      	prototype.
      	* config/s390/s390.c (s390_canonicalize_comparison): Add new
      	parameter.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/s390/s390.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/sh/sh-protos.h (sh_canonicalize_comparison): Remove
      	prototype.
      	* config/sh/sh.c (sh_canonicalize_comparison): Add new prototype.  New
      	function overloading the old one.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/sh/sh.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/spu/spu.c (spu_canonicalize_comparison): New function.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/spu/spu.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      
      From-SVN: r194608
      Andreas Krebbel committed
  23. 18 Dec, 2012 2 commits
  24. 12 Dec, 2012 1 commit
    • dumpfile.h (enum tree_dump_index): Remove TDI_vcg. · af9acf91
      	* dumpfile.h (enum tree_dump_index): Remove TDI_vcg.
      	* dumpfile.c (dump_files[]): Remove entry for TDI_vcg.
      	* tree-cfg.c (gimple_cfg2vcg): Remove.
      	(build_gimple_cfg): Don't call it.
      	* doc/invoke.texi (-fdump-tree-vcg): Remove documentation.
      	Correct GraphViz documentation, it does handle multiple functions
      	in a single dump.
      
      From-SVN: r194445
      Steven Bosscher committed
  25. 11 Dec, 2012 1 commit
  26. 10 Dec, 2012 1 commit
    • neon.ml (opcode): Add Vrintn, Vrinta, Vrintp, Vrintm, Vrintz to type. · 8d28afb4
      gcc/ChangeLog
      
      2012-12-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/arm/neon.ml (opcode): Add Vrintn, Vrinta, Vrintp, Vrintm,
      	Vrintz to type.
      	(type features): Add Requires_arch type constructor.
      	(ops): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz features.
      	* config/arm/neon-docgen.ml (intrinsic_groups): Define Vrintn,
      	Vrinta, Vrintp, Vrintm, Vrintz, Vrintx.
      	* config/arm/neon-testgen.ml (effective_target): Define check for 
      	Requires_arch 8.
      	* config/arm/neon-gen.ml 
      	(print_feature_test_start): Handle Requires_arch.
      	(print_feature_test_end): Likewise.
      	Add 2012 to Copyright notice.
      	* doc/arm-neon-intrinsics.texi: Regenerate.
      	* config/arm/arm_neon.h: Regenerate.
      
      gcc/testsuite/ChangeLog
      
      2012-12-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* gcc.target/arm/neon/vrndaf32.c: New test.
      	* gcc.target/arm/neon/vrndqaf32.c: Likewise.
      	* gcc.target/arm/neon/vrndf32.c: Likewise.
      	* gcc.target/arm/neon/vrndqf32.c: Likewise.
      	* gcc.target/arm/neon/vrndmf32.c: Likewise.
      	* gcc.target/arm/neon/vrndqmf32.c: Likewise.
      	* gcc.target/arm/neon/vrndnf32.c: Likewise.
      	* gcc.target/arm/neon/vrndqnf32.c: Likewise.
      	* gcc.target/arm/neon/vrndpf32.c: Likewise.
      	* gcc.target/arm/neon/vrndqpf32.c: Likewise.
      
      From-SVN: r194353
      Kyrylo Tkachov committed
  27. 06 Dec, 2012 1 commit