1. 20 Apr, 2016 1 commit
  2. 11 Apr, 2016 1 commit
    • re PR target/70381 (On powerpc, -mfloat128 is on by default for all VSX systems) · 35fbda43
      [gcc]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the
      	target attribute and pragma from changing the -mfloat128
      	and -mfloat128-hardware options.
      
      	* doc/extend.texi (Additional Floating Types): Document PowerPC
      	__float128 restrictions.
      
      [libgcc]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* configure.ac (powerpc*-*-linux*): Rework tests to build
      	__float128 emulation routines to not depend on using #pragma GCC
      	target to enable -mfloat128.
      	* configure: Regnerate.
      
      [gcc/testsuite]
      2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/70381
      	* gcc.target/powerpc/float128-1.c: New tests to make sure the
      	__float128 emulator is built and runs.
      	* gcc.target/powerpc/float128-1.c: Likewise.
      
      	* lib/target-supports.exp (check_ppc_float128_sw_available):
      	Rework tests for __float128 software and hardware
      	availability. Fix exit condition to return 0 on success.
      
      From-SVN: r234884
      Michael Meissner committed
  3. 04 Apr, 2016 1 commit
  4. 29 Mar, 2016 1 commit
    • ft32.opt (mnodiv): New. · dc2e8995
      	* config/ft32/ft32.opt (mnodiv): New.
      	* config/ft32/ft32.md (*divsi3, *modsi3): Qualify with
      	TARGET_NODIV.
      	* doc/invoke.texi (FT32 Options -mnodiv): New.
              * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
      
      From-SVN: r234516
      James Bowman committed
  5. 22 Mar, 2016 1 commit
  6. 16 Mar, 2016 1 commit
  7. 26 Feb, 2016 3 commits
  8. 25 Feb, 2016 1 commit
    • re PR driver/68463 (Offloading fails when some objects are compiled with LTO and some without) · e6861a99
      gcc/
      	PR driver/68463
      	* config/gnu-user.h (CRTOFFLOADBEGIN): Define.  Add crtoffloadbegin.o if
      	offloading is enabled and -fopenacc or -fopenmp is specified.
      	(CRTOFFLOADEND): Likewise.
      	(GNU_USER_TARGET_STARTFILE_SPEC): Add CRTOFFLOADBEGIN.
      	(GNU_USER_TARGET_ENDFILE_SPEC): Add CRTOFFLOADEND.
      	* lto-wrapper.c (offloadbegin, offloadend): Remove static vars.
      	(offload_objects_file_name): New static var.
      	(tool_cleanup): Remove offload_objects_file_name file.
      	(find_offloadbeginend): Replace with ...
      	(find_crtoffloadtable): ... this.
      	(run_gcc): Remove offload_argc and offload_argv.
      	Get offload_objects_file_name from -foffload-objects=... option.
      	Read names of object files with offload from this file, pass them to
      	compile_images_for_offload_targets.  Don't call find_offloadbeginend and
      	don't pass offloadbegin and offloadend to the linker.  Don't pass
      	offload non-LTO files to the linker, because now they're not claimed.
      libgcc/
      	PR driver/68463
      	* Makefile.in (crtoffloadtable$(objext)): New rule.
      	* configure.ac (extra_parts): Add crtoffloadtable$(objext) if
      	enable_offload_targets is not empty.
      	* configure: Regenerate.
      	* offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
      	crtoffloadtable.
      libgomp/
      	PR driver/68463
      	* testsuite/libgomp.oacc-c-c++-common/parallel-dims-2.c: Remove.
      lto-plugin/
      	PR driver/68463
      	* lto-plugin.c (struct plugin_offload_file): New.
      	(offload_files): Change type.
      	(offload_files_last, offload_files_last_obj): New.
      	(offload_files_last_lto): New.
      	(free_2): Adjust accordingly.
      	(all_symbols_read_handler): Don't add offload files to lto_arg_ptr.
      	Don't call free_1 for offload_files.  Write names of object files with
      	offloading to the temporary file.  Add new option to lto_arg_ptr.
      	(claim_file_handler): Don't claim file if it contains offload sections
      	without LTO sections.  If it contains offload sections, add to the list.
      
      From-SVN: r233712
      Ilya Verbin committed
  9. 17 Feb, 2016 1 commit
    • xtensa: fix libgcc build with --text-section-literals · 9bfcbdee
      Functions __muldf3_aux, __divdf3_aux, __mulsf3_aux and __divsf3_aux
      don't start with leaf_entry, so they need explicit .literal_position,
      otherwise libgcc build fails in the presence of --text-section-literals.
      
      2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
      libgcc/
      	* config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
      	.literal_position before the function.
      	* config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
      	Likewise.
      
      From-SVN: r233505
      Max Filippov committed
  10. 15 Feb, 2016 1 commit
    • S/390: Add -fsplit-stack support · 4cb4721f
      libgcc/ChangeLog:
      
      	* config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
      	* config/s390/morestack.S: New file.
      	* config/s390/t-stack-s390: New file.
      	* generic-morestack.c (__splitstack_find): Add s390-specific code.
      
      gcc/ChangeLog:
      
      	* common/config/s390/s390-common.c (s390_supports_split_stack):
      	New function.
      	(TARGET_SUPPORTS_SPLIT_STACK): New macro.
      	* config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
      	* config/s390/s390.c (struct machine_function): New field
      	split_stack_varargs_pointer.
      	(s390_register_info): Mark r12 as clobbered if it'll be used as temp
      	in s390_emit_prologue.
      	(s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
      	vararg pointer.
      	(morestack_ref): New global.
      	(SPLIT_STACK_AVAILABLE): New macro.
      	(s390_expand_split_stack_prologue): New function.
      	(s390_live_on_entry): New function.
      	(s390_va_start): Use split-stack vararg pointer if appropriate.
      	(s390_asm_file_end): Emit the split-stack note sections.
      	(TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
      	* config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
      	(UNSPECV_SPLIT_STACK_CALL): New unspec.
      	(UNSPECV_SPLIT_STACK_DATA): New unspec.
      	(split_stack_prologue): New expand.
      	(split_stack_space_check): New expand.
      	(split_stack_data): New insn.
      	(split_stack_call): New expand.
      	(split_stack_call_*): New insn.
      	(split_stack_cond_call): New expand.
      	(split_stack_cond_call_*): New insn.
      
      From-SVN: r233421
      Marcin Kościelnicki committed
  11. 12 Feb, 2016 1 commit
  12. 10 Feb, 2016 1 commit
  13. 03 Feb, 2016 1 commit
  14. 25 Jan, 2016 1 commit
  15. 21 Jan, 2016 2 commits
    • Add missing file · e271cba1
      From-SVN: r232695
      Michael Meissner committed
    • float128-sed: New files to convert TF names to KF names for PowerPC IEEE 128-bit floating... · a71c0334
      2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
      	    Steven Munroe <munroesj@linux.vnet.ibm.com>
      	    Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
      
      	* config/rs6000/float128-sed: New files to convert TF names to KF
      	names for PowerPC IEEE 128-bit floating point support.
      	* config/rs6000/float128-sed-hw: Likewise.
      
      	* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
      	floating point hardware support.
      
      	* config/rs6000/float128-ifunc.c: New file to pick either IEEE
      	128-bit floating point software emulation or use ISA 3.0 hardware
      	support if it is available.
      
      	* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
      	floating point.
      
      	* config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
      	floating point to IBM extended double.
      
      	* config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
      	double to IEEE 128-bit floating point.
      
      	* config/rs6000/t-float128: New Makefile fragments to enable
      	building __float128 emulation support.
      	* config/rs6000/t-float128-hw: Likewise.
      
      	* config/rs6000/sfp-exceptions.c: New file to provide exception
      	support for IEEE 128-bit floating point.
      
      	* config/rs6000/floattikf.c: New files for converting between IEEE
      	128-bit floating point and signed/unsigned 128-bit integers.
      	* config/rs6000/fixunskfti.c: Likewise.
      	* config/rs6000/fixkfti.c: Likewise.
      	* config/rs6000/floatuntikf.c: Likewise.
      
      	* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
      	when building on 64-bit systems, or when VSX is enabled.
      	(_FP_W_TYPE): Likewise.
      	(_FP_WS_TYPE): Likewise.
      	(_FP_I_TYPE): Likewise.
      	(TItype): Define on 64-bit systems.
      	(UTItype): Likewise.
      	(TI_BITS): Likewise.
      	(_FP_MUL_MEAT_D): Add support for using 64-bit types.
      	(_FP_MUL_MEAT_Q): Likewise.
      	(_FP_DIV_MEAT_D): Likewise.
      	(_FP_DIV_MEAT_Q): Likewise.
      	(_FP_NANFRAC_D): Likewise.
      	(_FP_NANFRAC_Q): Likewise.
      	(ISA_BIT): Add exception support if we are being compiled on a
      	machine with hardware floating point support to build the IEEE
      	128-bit emulation functions.
      	(FP_EX_INVALID): Likewise.
      	(FP_EX_OVERFLOW): Likewise.
      	(FP_EX_UNDERFLOW): Likewise.
      	(FP_EX_DIVZERO): Likewise.
      	(FP_EX_INEXACT): Likewise.
      	(FP_EX_ALL): Likewise.
      	(__sfp_handle_exceptions): Likewise.
      	(FP_HANDLE_EXCEPTIONS): Likewise.
      	(FP_RND_NEAREST): Likewise.
      	(FP_RND_ZERO): Likewise.
      	(FP_RND_PINF): Likewise.
      	(FP_RND_MINF): Likewise.
      	(FP_RND_MASK): Likewise.
      	(_FP_DECL_EX): Likewise.
      	(FP_INIT_ROUNDMODE): Likewise.
      	(FP_ROUNDMODE): Likewise.
      
      	* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
      	VSX code, enable IEEE 128-bit floating point.  If the compiler can
      	compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
      	floating point hardware instructions and it supports declaring
      	functions with the ifunc attribute, enable ifunc functions to
      	switch between software and hardware support.
      	* configure.ac (powerpc*-*-linux*): Likewise.
      	* configure: Regenerate.
      
      
      
      Co-Authored-By: Steven Munroe <munroesj@linux.vnet.ibm.com>
      Co-Authored-By: Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
      
      From-SVN: r232685
      Michael Meissner committed
  16. 15 Jan, 2016 1 commit
  17. 14 Jan, 2016 1 commit
  18. 13 Jan, 2016 1 commit
    • rs6000-builtin.def (BU_FLOAT128_2): Add support for pack/unpack functions for __ibm128. · 29176d57
      [gcc]
      2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
      	for pack/unpack functions for __ibm128.
      	(PACK_IF): Likewise.
      	(UNPACK_IF): Likewise.
      
      	* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
      	support for __ibm128 pack/unpack functions.
      	(rs6000_invalid_builtin): Likewise.
      	(rs6000_init_builtins): Likewise.
      	(rs6000_opt_masks): Likewise.
      
      	* config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
      	(RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
      	functions
      	(RS6000_BTM_COMMON): Likewise.
      
      	* config/rs6000/rs6000.md (f128_vsx): New mode attribute.
      	(unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
      	disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
      	128-bit floating point.  Add support for the double values to be
      	in Altivec registers for TF/IF packing and unpacking, but restrict
      	TD packing sub-fields to be FPR registers.  Don't allow overlapped
      	register support for packing.  Allow pack inputs to be memory
      	locations.  Don't build generator functions for unpack<mode>_dm
      	and unpack<mode>_nodm.
      	(unpack<mode>_dm): Likewise.
      	(unpack<mode>_nodm): Likewise.
      	(pack<mode>): Likewise.
      
      	* config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
      	built-in functions to pack/unpack explicit __ibm128 values.
      	(__builtin_unpack_ibm128): Likewise.
      
      	* doc/extend.texi (PowerPC Built-in Functions): Document
      	__builtin_pack_ibm128 and __builtin_unpack_ibm128.
      
      [libgcc]
      2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
      	    Steven Munroe <munroesj@linux.vnet.ibm.com>
      	    Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
      
      	* config/rs6000/sfp-exceptions.c: New file to provide exception
      	support for IEEE 128-bit floating point.
      
      	* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
      	floating point hardware support.
      
      	* config/rs6000/floattikf.c: New files for IEEE 128-bit floating
      	point conversions.
      	* config/rs6000/fixunskfti.c: Likewise.
      	* config/rs6000/fixkfti.c: Likewise.
      	* config/rs6000/floatuntikf.c: Likewise.
      	* config/rs6000/extendkftf2-sw.c: Likewise.
      	* config/rs6000/trunctfkf2-sw.c: Likewise.
      
      	* config/rs6000/float128-ifunc.c: New file to pick either IEEE
      	128-bit floating point software emulation or use ISA 3.0 hardware
      	support if it is available.
      
      	* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
      	floating point.
      
      	* config/rs6000/t-float128: New Makefile fragments to enable
      	building __float128 emulation support.
      	* config/rs6000/t-float128-hw: Likewise.
      
      	* config/rs6000/float128-sed: New file to convert TF names to KF
      	names for PowerPC IEEE 128-bit floating point support.
      
      	* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
      	when building on 64-bit systems, or when VSX is enabled.
      	(_FP_W_TYPE): Likewise.
      	(_FP_WS_TYPE): Likewise.
      	(_FP_I_TYPE): Likewise.
      	(TItype): Define on 64-bit systems.
      	(UTItype): Likewise.
      	(TI_BITS): Likewise.
      	(_FP_MUL_MEAT_D): Add support for using 64-bit types.
      	(_FP_MUL_MEAT_Q): Likewise.
      	(_FP_DIV_MEAT_D): Likewise.
      	(_FP_DIV_MEAT_Q): Likewise.
      	(_FP_NANFRAC_D): Likewise.
      	(_FP_NANFRAC_Q): Likewise.
      	(ISA_BIT): Add exception support if we are being compiled on a
      	machine with hardware floating point support to build the IEEE
      	128-bit emulation functions.
      	(FP_EX_INVALID): Likewise.
      	(FP_EX_OVERFLOW): Likewise.
      	(FP_EX_UNDERFLOW): Likewise.
      	(FP_EX_DIVZERO): Likewise.
      	(FP_EX_INEXACT): Likewise.
      	(FP_EX_ALL): Likewise.
      	(__sfp_handle_exceptions): Likewise.
      	(FP_HANDLE_EXCEPTIONS): Likewise.
      	(FP_RND_NEAREST): Likewise.
      	(FP_RND_ZERO): Likewise.
      	(FP_RND_PINF): Likewise.
      	(FP_RND_MINF): Likewise.
      	(FP_RND_MASK): Likewise.
      	(_FP_DECL_EX): Likewise.
      	(FP_INIT_ROUNDMODE): Likewise.
      	(FP_ROUNDMODE): Likewise.
      
      	* configure.ac (powerpc*-*-linux*): Check whether the PowerPC
      	compiler can do __float128.
      	* configure: Regenerate.
      
      	* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
      	VSX code, enable IEEE 128-bit floating point.
      
      From-SVN: r232346
      Michael Meissner committed
  19. 05 Jan, 2016 1 commit
  20. 04 Jan, 2016 1 commit
  21. 18 Dec, 2015 1 commit
  22. 16 Dec, 2015 1 commit
  23. 10 Dec, 2015 1 commit
  24. 04 Dec, 2015 1 commit
    • gcc * config.gcc (extra_gcc_objs): Define for MSP430. · 04a9ae28
              * common/config/msp430/msp430-common.c (msp430_handle_option):
      	Pass both -mmcu and -mcpu on to the back end if they are both
      	defined.
      	* config/msp430/msp430.c (hwmult_name): New function.
              (msp430_option_override): If an unrecognised MCU name is
      	detected only warn if the user has not provided suitable
              -mhwmult and -mcpu options.  Use msp430_warn_mcu to control
      	warning messages.  Generate warnings about conflicts between
      	-mmcu and -mcpu and -mhwmult options. 
      	If neither -mcpu nor -mmcu have been specified but -mhwmult=
      	f5series has the select the 430X isa.
      	(msp430_no_hwmult): If -mmcu has not been specified and
      	msp430_hwmult_type is AUTO then return true.
      	* config/msp430/msp430.h (EXTRA_SPEC_FUNCTIONS): Define.
      	(LIB_SPEC): Add hardware multiply library selection.
      	* config/msp430/t-msp430: Delete hardware multiply multilibs.
      	Add rule to build driver-msp430.o
      	* config/msp430/driver-msp430.c: New file.
      	* config/msp430/msp430.opt (warn-mcu): New option.
      	* doc/invoke.texi: Update description of -mhwmult=auto.
              Document -mwarn-mcu option.
      
      tests	* gcc.target/msp430/msp_abi_div_funcs.c: New test.
      	* gcc.target/msp430/mul_main.h: New test support file.
      	* gcc.target/msp430/mul_none.c: New test.
      	* gcc.target/msp430/mul_16bit.c: New test.
      	* gcc.target/msp430/mul_32bit.c: New test.
      	* gcc.target/msp430/mul_f5.c: New test.
      
      libgcc	* config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
      	Allow for the second argument being negative.
      	* config.host (extra_parts): Define for MSP430.  Create separate
      	libraries for each of the hardware multiply formats.
      	* config/msp430/lib2hw_mul.S: Build only the multiply routines
      	that are needed.
      	* config/msp430/lib2mul.c: Likewise.
      	* config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
      	Add rules to build hardware multiply libraries.
      	* config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
      	__mspabi_divul function.
      	(__mspabi_divllu): New stub function.
      
      From-SVN: r231286
      Nick Clifton committed
  25. 01 Dec, 2015 1 commit
  26. 25 Nov, 2015 1 commit
    • Port libvtv to Solaris · e5ef217c
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use
      	-Wl,-R in VTV_CXXLINKFLAGS.
      	* configure: Regenerate.
      
      	* testsuite/18_support/bad_exception/23591_thread-1.c: Use
      	-fvtable-verify=none on Solaris 12+.
      
      	libgcc:
      	* Makefile.in (VTV_CFLAGS): New variable.
      	(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
      	(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
      	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
      	Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
      	to extra_parts if $enable_vtable_verify = yes.
      
      	libvtv:
      	* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
      	* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
      	<*-*-solaris2*>: Check for init priority support.
      	Check for getexecname, __fortify_fail, _obstack_begin.
      	(VTV_NO_OBSTACK): New conditional.
      	* configure: Regenerate.
      	* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
      	Create empty config.h
      	* Makefile.in: Regenerate.
      
      	* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
      	variable.
      	(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
      	(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
      
      	(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
      	[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
      
      	(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
      	(iterate_modules): Fix typo.
      	Use VTV_PAGE_SIZE.
      	(dl_iterate_phdr_callback): Fix typo.
      	Use VTV_PAGE_SIZE.
      	(__VLTChangePermission): Fix typos.
      
      	include:
      	* vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
      	__sparc__]: Define.
      
      	gcc:
      	* config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up.
      	(STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define.
      	(STARTFILE_SPEC): Use %(startfile_vtv).
      	(ENDFILE_SPEC): Use %(endfile_vtv).
      	(SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC,
      	ENDFILE_VTV_SPEC.
      
      	* gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}.
      
      From-SVN: r230865
      Rainer Orth committed
  27. 23 Nov, 2015 1 commit
  28. 20 Nov, 2015 1 commit
  29. 18 Nov, 2015 1 commit
    • nvptx.c (global_lock_var): New. · 33f47f42
      	gcc/
      	* config/nvptx/nvptx.c (global_lock_var): New.
      	(nvptx_global_lock_addr): New.
      	(nvptx_lockless_update): Recomment and adjust for clarity.
      	(nvptx_lockfull_update): New.
      	(nvptx_reduction_update): New.
      	(nvptx_goacc_reduction_fini): Call it.
      
      	libgcc/
      	* config/nvptx/reduction.c: New.
      	* config/nvptx/t-nvptx (LIB2ADD): Add it.
      
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Add
      	worker & gang cases.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise.
      
      From-SVN: r230545
      Nathan Sidwell committed
  30. 15 Nov, 2015 1 commit
  31. 11 Nov, 2015 1 commit
    • dp-hack.h: Add support for ARCHS. · c0ab1970
      2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/dp-hack.h: Add support for ARCHS.
      	* config/arc/ieee-754/divdf3.S: Likewise.
      	* config/arc/ieee-754/divsf3-stdmul.S: Likewise.
      	* config/arc/ieee-754/muldf3.S: Likewise.
      	* config/arc/ieee-754/mulsf3.S: Likewise
      	* config/arc/lib1funcs.S: Likewise
      	* config/arc/gmon/dcache_linesz.S: Don't read the build register
      	for ARCv2 cores.
      	* config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
      	for ARCv2 cores.
      	* config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
      	* config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
      	cores.
      
      From-SVN: r230151
      Claudiu Zissulescu committed
  32. 09 Nov, 2015 1 commit
    • Support init priority on Solaris · e6b6bf09
      	libgcc:
      	* config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
      	value.
      	* config/ia64/crtend.S: Likewise.
      
      	gcc:
      	* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Allow for differences in
      	assembler syntax.
      	Support Solaris ld.
      	Define HAVE_INITFINI_ARRAY_SUPPORT as 0/1.
      
      	* config/sol2.h (SUPPORTS_INIT_PRIORITY): Define to
      	HAVE_INITFINI_ARRAY_SUPPORT.
      	* config/initfini-array.h: Check HAVE_INITFINI_ARRAY_SUPPORT
      	value.
      
      	* configure.ac (gcc_cv_as_sparc_nobits): Remove.
      	* config/sparc/sparc.c (sparc_solaris_elf_asm_named_section):
      	Don't check HAVE_AS_SPARC_NOBITS.
      	Heed SECTION_NOTYPE.
      
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      From-SVN: r230013
      Rainer Orth committed
  33. 07 Nov, 2015 2 commits
    • replace BITS_PER_UNIT with __CHAR_BIT__ in target libs · a153644f
      libgcc/ChangeLog:
      
      2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/visium/lib2funcs.c (__set_trampoline_parity): Use
      	__CHAR_BIT__ instead of BITS_PER_UNIT.
      	* fixed-bit.h: Likewise.
      	* fp-bit.h: Likewise.
      	* libgcc2.c (__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	* libgcc2.h: Likewise.
      	* libgcov.h: Likewise.
      
      libobjc/ChangeLog:
      
      2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* encoding.c (_darwin_rs6000_special_round_type_align): Use
      	__CHAR_BIT__ instead of BITS_PER_UNIT.
      	(objc_sizeof_type): Likewise.
      	(objc_layout_structure): Likewise.
      	(objc_layout_structure_next_member): Likewise.
      	(objc_layout_finish_structure): Likewise.
      	(objc_layout_structure_get_info): Likewise.
      
      From-SVN: r229936
      Trevor Saunders committed
    • atexit.c: New file. · 3dee689d
      * config/rs6000/atexit.c: New file.
      * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
      * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
      * config/rs6000/cxa_finalize.c
      (catomic_compare_and_exchange_bool_acq): Negate return value.
      
      From-SVN: r229932
      David Edelsohn committed
  34. 30 Oct, 2015 1 commit
    • libgcc changes for AMD znver1. · 2ef543e4
      2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
      
      	* config/i386/i386.c (get_builtin_code_for_version): Set priority
      	for PROCESSOR_ZNVER1.
      	(enum processor_model): Add M_AMDFAM17H_znver1.
      	(struct arch_names_table): Likewise.
      	* doc/extend.texi: ADD znver1.
      
      2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
      
      	* config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
      	(processor_subtypes): Add znver1.
      	(get_amd_cpu): Detect znver1.
      
      From-SVN: r229575
      Venkataramanan Kumar committed
  35. 29 Oct, 2015 1 commit
  36. 23 Oct, 2015 1 commit