Skip to content
Snippets Groups Projects
  1. Jan 31, 2011
  2. Jan 25, 2011
    • Jakub Jelinek's avatar
      cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog. · 6be7b668
      Jakub Jelinek authored
      	* config/cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.
      	* configure.ac: If with_ppl is no, move setting with_cloog=no
      	after CLOOG_REQUESTED check.
      	* configure: Regenerated.
      
      From-SVN: r169249
      6be7b668
    • Sebastian Pop's avatar
      Fail when PPL 0.11 is not present and CLooG has been requested. · ab4173cf
      Sebastian Pop authored
      2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
      	CLooG has been requested.
      	* configure: Regenerated.
      
      From-SVN: r169215
      ab4173cf
    • Sebastian Pop's avatar
      Expect at least the version 0.11 of PPL. · 0deada9e
      Sebastian Pop authored
      2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
      
      toplev/
      	* configure: Regenerated.
      	* configure.ac: Check for version 0.11 (or later revision) of PPL.
      
      toplev/gcc/
      	* doc/install.texi: Update the expected version number of PPL to 0.11.
      	* graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
      	#if PPL_VERSION_MINOR < 11.
      
      From-SVN: r169207
      0deada9e
    • Tobias Grosser's avatar
      Update required cloog to 0.16.1. · 27b9aa80
      Tobias Grosser authored
      2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
      
      	* configure: Regenerated.
      	* configure.ac: Use CLOOG_CHECK_VERSION(0,16,1).
      
      From-SVN: r169198
      27b9aa80
  3. Jan 21, 2011
  4. Jan 18, 2011
  5. Jan 13, 2011
  6. Dec 23, 2010
  7. Dec 10, 2010
    • Ian Lance Taylor's avatar
      re PR bootstrap/46819 (libffi is always built) · d479b128
      Ian Lance Taylor authored
      	PR bootstrap/46819
      	* configure.ac: For --disable-libgcj clear libgcj_saved.
      	* configure: Rebuild.
      
      From-SVN: r167689
      d479b128
    • Tobias Burnus's avatar
      re PR fortran/46540 (libquadmath: Implement --disable-libquadmath) · 87e6d9dc
      Tobias Burnus authored
      /
      2010-12-10  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46540
              * configure.ac: Add --disable-libquadmath and
              --disable-libquadmath-support.
              * configure: Regenerate.
      gcc/
      2010-12-10  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46540
              * configure.ac: Handle --disable-libquadmath-support.
              * doc/install.texi: Document --disable-libquadmath and
              --disable-libquadmath-support
              * configure: Regenerate.
              * config.in: Regenerate.
      
      gcc/fortran/
      2010-12-10  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46540
              * trans-types.c (gfc_init_kinds): Handle
              --disable-libquadmath-support.
      
      libgfortran/
      2010-12-10  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46540
              * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Honour
              --disable-libquadmath-support.
              * configure.ac: Handle --disable-libquadmath-support.
              * configure: Regenerate.
      
      From-SVN: r167684
      87e6d9dc
  8. Dec 03, 2010
  9. Dec 02, 2010
  10. Nov 26, 2010
  11. Nov 23, 2010
  12. Nov 21, 2010
  13. Nov 20, 2010
    • Ralf Wildenhues's avatar
      PR other/46202: implement install-strip. · 455c8f48
      Ralf Wildenhues authored
      /:
      	PR other/46202
      	* configure.ac: Fix just-built in-tree STRIP name to be
      	binutils/strip-new.
      	* configure: Regenerate.
      	* Makefile.def (install-strip-gcc, install-strip-binutils)
      	(install-strip-opcodes, install-strip-ld, install-strip-itcl)
      	(install-strip-sid): Mirror dependencies on non-strip variants
      	of these targets on the respective -strip prerequisites.
      	* Makefile.tpl (install-strip, install-strip-host)
      	(install-strip-target): New targets.
      	(install-strip-[+module+], install-strip-target-[+module+]):
      	New targets.
      	* Makefile.in: Regenerate.
      
      gcc/:
      	PR other/46202
      	* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
      	variables.
      	(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
      	shell quoting.
      	(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
      	(install-strip): New target.
      	(STRIPPROG): New variable, exported if STRIP is set.
      	* doc/install.texi (Final install): Minor markup and code style
      	fixes.  Document install-strip target.
      
      fixincludes/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(all, check, install): Also mark as phony.
      
      libgcc/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      
      libiberty/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(install): Also mark as phony.
      
      gnattools/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      libada/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      From-SVN: r166980
      455c8f48
  14. Nov 19, 2010
    • Tobias Grosser's avatar
      * config/cloog.m4: Use AS_HELP_STRING and fix help formatting. · 39986460
      Tobias Grosser authored
      From-SVN: r166962
      39986460
    • Ian Lance Taylor's avatar
      configure.ac: Add target-libgo to target_libraries. · 632e2a07
      Ian Lance Taylor authored
      
      	* configure.ac: Add target-libgo to target_libraries.  Set
      	and substitute GOC_FOR_BUILD and GOC_FOR_TARGET.
      	* Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS.
      	(HOST_EXPORTS): Add GOC.
      	(BASE_TARGET_EXPORTS): Add GOC.
      	(GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables.
      	(GOCFLAGS_FOR_TARGET): New variable.
      	(EXTRA_HOST_FLAGS): Add GOC.
      	(EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS.
      	* Makefile.def (target_modules): Add libgo.
      	(flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET.
      	(dependencies): Add dependency from configure-target-libgo to
      	configure-target-libffi and all-target-libstdc++-v3.  Add
      	dependencies from all-target-libgo to all-target-libffi.
      	(languages): Add go.
      	* configure: Rebuild.
      	* Makefile.in: Rebuild.
      
      Co-Authored-By: default avatarRalf Wildenhues <Ralf.Wildenhues@gmx.de>
      
      From-SVN: r166959
      632e2a07
  15. Nov 18, 2010
  16. Nov 16, 2010
    • Francois-Xavier Coudert's avatar
      re PR fortran/32049 (Support on x86_64 also kind=16) · 1ec601bf
      Francois-Xavier Coudert authored
      
      /
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * Makefile.def: Add libquadmath; build it with language=fortran.
              * configure.ac: Add libquadmath.
              * Makefile.tpl: Handle multiple libs in check-[+language+].
              * Makefile.in: Regenerate.
              * configure: Regenerate.
      
      libquadmath/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              Initial implementation and checkin.
      
      gcc/fortran/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * gfortranspec.c (find_spec_file): New function.
              (lang_specific_driver): Try to find .spec file and use it.
              * trans-io.c (iocall): Define
              * IOCALL_X_REAL128/COMPLEX128(,write).
              (gfc_build_io_library_fndecls): Build decl for __float128 I/O.
              (transfer_expr): Call __float128 I/O functions.
              * trans-types.c (gfc_init_kinds): Allow kind-16 belonging
              to __float128.
      
      gcc/testsuite/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * gfortran.dg/quad_1.f90: New.
              * lib/gcc-defs.exp (gcc-set-multilib-library-path): Use also
              compiler arguments.
              * lib/gfortran.exp (gfortran_link_flags): Add libquadmath to
              library search path; call gcc-set-multilib-library-path with
              arguments such that libgfortran.spec is found.
              (gfortran_init): Add path for libgfortran.spec to
      GFORTRAN_UNDER_TEST.
      
      libgomp/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * configure.ac: 
              * configure: Regenerate.
      
      libgfortran/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * Makefile.am: Add missing pow_r16_i4.c, add transfer128.c,
              link libquadmath, if used.
              * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Add.
              * configure.ac: Use it, touch spec file.
              * gfortran.map: Add pow_r16_i4 and
              transfer_(real,complex)128(,write) functions.
              * intrinsics/cshift0.c (cshift0): Handle __float128 type.
              * intrinsics/erfc_scaled_inc.c: Ditto.
              * intrinsics/pack_generic.c (pack): Ditto
              * intrinsics/spread_generic.c (spread): Ditto.
              * intrinsics/unpack_generic.c (unpack1): Ditto.
              * io/read.c (convert_real): Ditto.
              * io/transfer.c: Update comments.
              * io/transfer128.c: New file.
              * io/write_float.def (write_float): Handle __float128 type.
              * libgfortran.h: #include quadmath_weak.h, define __builtin_infq
              and nanq.
              * m4/mtype.m4: Handle __float128 type.
              * runtime/in_pack_generic.c (internal_pack): Ditto.
              * runtime/in_unpack_generic.c (internal_unpack): Ditto.
              * kinds-override.h: New file.
              * libgfortran.spec.in: Ditto.
              * generated/pow_r16_i4.c: Generated.
              * Makefile.in: Regenerate.
              * configure: Regenerate.
              * config.h: Regenerate.
              * bessel_r10.c: Regenerate.
              * bessel_r16.c: Regenerate.
              * bessel_r4.c: Regenerate.
              * bessel_r8.c: Regenerate.
              * exponent_r16.c: Regenerate.
              * fraction_r16.c: Regenerate.
              * nearest_r16.c: Regenerate.
              * norm2_r10.c: Regenerate.
              * norm2_r16.c: Regenerate.
              * norm2_r4.c: Regenerate.
              * norm2_r8.c: Regenerate.
              * rrspacing_r16.c: Regenerate.
              * set_exponent_r16.c: Regenerate.
              * spacing_r16.c: Regenerate.
      
      
      Co-Authored-By: default avatarTobias Burnus <burnus@net-b.de>
      
      From-SVN: r166825
      1ec601bf
  17. Nov 15, 2010
  18. Nov 13, 2010
  19. Nov 12, 2010
    • Tobias Grosser's avatar
      Add -enable-cloog-backend. · f16e2237
      Tobias Grosser authored
      	* config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to
      	define the cloog backend to use. Furthermore, only pass the ppllibs
      	to the configure checks, if necessary.
      	*configure: Regenerate.
      
      From-SVN: r166684
      f16e2237
    • Tobias Grosser's avatar
      Improve check for CLooG PPL Legacy. · 0bb52d68
      Tobias Grosser authored
      	* config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
      	* configure: regenerate
      
      From-SVN: r166682
      0bb52d68
    • Tobias Grosser's avatar
      Fix typo · aba2b02e
      Tobias Grosser authored
      	* config/cloog.m4: Fix typo.  verison -> version.
      	* configure: Regenerate.
      
      From-SVN: r166670
      aba2b02e
    • Tobias Grosser's avatar
      Pass PPL libraries to CLooG version check · 27882098
      Tobias Grosser authored
      	* config/cloog.m4: Pass ppl libraries to the CLooG version check.
      	* configure: Regenerate.
      
      From-SVN: r166669
      27882098
  20. Nov 11, 2010
    • Andreas Simbuerger's avatar
      Support official CLooG.org versions. · d32ef397
      Andreas Simbuerger authored
      2010-11-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
      
      	* configure.ac: Support official CLooG.org versions.
      	* configure: Regenerate.
      	* config/cloog.m4: New.
      
      From-SVN: r166622
      d32ef397
  21. Nov 04, 2010
    • Iain Sandoe's avatar
      enable mdynamic-no-pic bootstrap for x86 Darwin · d8ed14ce
      Iain Sandoe authored
      	* configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants.
      	* configure: Regenerate.
      	* config/mh-ppc-darwin: Rename to mh-darwin.
      
      gcc:
      
      	* gcc/configure.ac: Filter -mdynamic-no-pic from CFLAGS when testing for
      	plugin capabilities.
      	* gcc/configure: Regenerate.
      
      gcc/testsuite:
      
      	* lib/plugin-support.exp (plugin-test-execute): Filter -mdynamic-no-pic from
      	plugin build flags on Darwin targets.
      
      From-SVN: r166302
      d8ed14ce
  22. Nov 03, 2010
    • Dave Korn's avatar
      re PR lto/46273 (Failed to bootstrap) · 48215350
      Dave Korn authored
      ChangeLog:
      
      2010-11-03  Ian Lance Taylor  <iant@google.com>
      	    Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR lto/46273
      	* configure.ac: Remove libelf tests.  Build lto-plugin on ELF always
      	and on other supported platforms whenever LTO is enabled.
      	* configure: Rebuild.
      
      gcc/ChangeLog:
      
      2010-11-03  Ian Lance Taylor  <iant@google.com>
      
      	PR lto/46273
      	* gcc/config.gcc: Don't set lto_binary_reader.
      	* doc/install.texi (Prerequisites): Remove libelf paragraphs.
      	(Configuration): Mention --disable-lto.  Remove --with-libelf
      	paragraph.
      
      lto-plugin/ChangeLog:
      
      2010-11-03  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR lto/46273
      	* lto-plugin.h: Delete.
      	* lto-plugin-elf.c: Likewise.
      	* lto-plugin-coff.c: Likewise.
      	* configure.ac: Don't use libelf, don't source config.gcc.
      	(LIBELFLIBS): Delete.
      	(LIBELFINC): Delete.
      	(LTO_FORMAT): Delete.
      	(SYM_STYLE): Add AC_DEFINE var, set based on $target.
      	(config.h): Add AC_CONFIG_HEADERS directive.
      	* Makefile.am (LIBELFLIBS): Delete.
      	(LIBELFINC): Delete.
      	(LTO_FORMAT): Delete.
      	(DEFS): Import.
      	(AM_CPPFLAGS): Use it.  Don't use LIBELFINC.
      	(liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
      	any object-format-specific source file in the link.
      	(liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
      	* config.h.in: Generate.
      	* configure: Regenerate.
      	* Makefile.in: Likewise.
      	* lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
      	(LTO_SEGMENT_NAME): New definition.
      	(LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
      	(LTO_SECTION_PREFIX_LEN): New definition.
      	(struct sym_aux): Struct definition moved here from lto-plugin.h.
      	(struct plugin_symtab): Likewise.
      	(struct plugin_objfile): Likewise.
      	(struct plugin_objfile): New struct def.
      	(enum symbol_style): New enum type.
      	(add_symbols): Make static.
      	(claimed_files): Likewise.
      	(num_claimed_files): Likewise.
      	(sym_style): New global.
      	(check): Make static.
      	(parse_table_entry): Likewise.  Respect sym_style when extracting
      	symbol from symtab entry.
      	(translate): Make static.
      	(resolve_conflicts): Likewise.
      	(process_symtab): New function, per-section callback version of
      	old object-format-specific handling from deleted lto-plugin-elf.c.
      	(claim_file_handler): Convert ELF-specific version from deleted
      	lto-plugin-elf.c to simple_object interface and move here.
      	(process_options): Allow new '-sym-style=' option.
      	(onload): Don't call deleted onload_format_checks hook.
      
      From-SVN: r166233
      48215350
  23. Nov 02, 2010
  24. Oct 07, 2010
    • Dave Korn's avatar
      configure.ac (build_lto_plugin): New shell variable. · 1cd0b716
      Dave Korn authored
      ChangeLog:
      
      2010-10-07  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	* configure.ac (build_lto_plugin): New shell variable.
      	(--enable-lto): Turn on by default for all non-ELF platforms that
      	have had LTO support added so far.  Set build_lto_plugin appropriately
      	for both ELF and non-ELF.
      	(configdirs): Add lto-plugin or not based on build_lto_plugin.
      	* configure: Regenerate.
      
      gcc/ChangeLog:
      
      2010-10-07  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	* config.host (host_lto_plugin_soname): New shell variable.
      	* configure.ac (LTOPLUGINSONAME): Add an AC_DEFINE for the above.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* gcc.c (main): Use LTOPLUGINSONAME instead of hard-coding name of
      	LTO plugin shared library.
      
      lto-plugin/ChangeLog:
      
      2010-10-07  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	* configure.ac: Source config.gcc to determine lto_binary_reader.
      	(LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
      	* Makefile.am (LTO_FORMAT): Import.
      	(liblto_plugin_la_SOURCES): Add object format dependent module
      	defined by LTO_FORMAT.
      	(liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
      	and work around libtool warning.
      	* configure: Regenerate.
      	* Makefile.in: Likewise.
      	* lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
      	(struct sym_aux): Likewise.
      	(struct plugin_symtab): Likewise.
      	(struct plugin_file_info): Likewise.
      	(LTO_SECTION_PREFIX): Likewise.
      	(add_symbols):  Make non-static.
      	(claimed_files): Likewise.
      	(num_claimed_files): Likewise.
      	(check): Likewise.
      	(parse_table_entry): Likewise.
      	(translate): Likewise.
      	(resolve_conflicts): Likewise.
      	(process_symtab): Move to new lto-plugin-elf.c object format dependent
      	source file.
      	(claim_file_handler): Likewise, and make non-static.
      	(onload): Call new onload_format_checks function.
      	* lto-plugin.h: New file.
      	(LTO_SECTION_PREFIX): Move here.
      	(struct sym_aux): Likewise.
      	(struct plugin_symtab): Likewise.
      	(struct plugin_file_info): Likewise.
      	(claim_file_handler): Add new function prototype.
      	(onload_format_checks): Likewise.
      	(check): Declare extern.
      	(translate): Likewise.
      	(parse_table_entry): Likewise.
      	(resolve_conflicts): Likewise.
      	(add_symbols):  Likewise.
      	(claimed_files): Likewise.
      	(num_claimed_files): Likewise.
      	* lto-plugin-elf.c (process_symtab): Move here.
      	(claim_file_handler): Likewise, and make non-static.
      	(onload_format_checks): New function factored out from onload.
      	* lto-plugin-coff.c (claim_file_handler): New function stub.
      	(onload_format_checks): Likewise.
      
      From-SVN: r165133
      1cd0b716
    • Ralf Wildenhues's avatar
      Fixup botched sync of toplevel configure from src. · d4c1abb3
      Ralf Wildenhues authored
      /:
      	Sync from src:
      	* configure.ac (v850 support): Remove target-libgloss from
      	noconfigdirs.
      	* configure: Regenerate.
      
      From-SVN: r165130
      d4c1abb3
  25. Oct 02, 2010
    • Ralf Wildenhues's avatar
      Allow to pass separate configure arguments for build, host and target. · ffedf511
      Ralf Wildenhues authored
      /:
      	PR bootstrap/45326
      	PR bootstrap/45174
      	* configure.ac: Honor initial values of $build_configargs,
      	$host_configargs, $target_configargs.  Mark the precious, so
      	environment settings get recorded.
      	* configure: Regenerate.
      
      gcc/:
      	* doc/install.texi (Configuration): Document build_configargs,
      	host_configargs, target_configargs.
      
      From-SVN: r164904
      ffedf511
  26. Sep 30, 2010
  27. Sep 27, 2010
    • Ralf Wildenhues's avatar
      Fix unportable shell quoting. · 86dfbd58
      Ralf Wildenhues authored
      /:
      	PR bootstrap/44621
      	* configure.ac: Fix unportable shell quoting.
      	* configure: Regenerate.
      
      config/:
      	* po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.
      
      contrib/reghunt/:
      	* bin/gcc-svn-ids: Fix unportable shell quoting.
      	* date_based/reg_periodic: Likewise.
      	* date_based/reg_search: Likewise.
      
      intl/:
      	PR bootstrap/44621
      	* configure: Regenerate.
      
      From-SVN: r164668
      86dfbd58
  28. Sep 21, 2010
  29. Sep 03, 2010
  30. Jul 26, 2010
    • Naveen.H.S's avatar
      configure.ac: Support all v850 targets. · 223a9d64
      Naveen.H.S authored
              * configure.ac: Support all v850 targets.
              * configure: Regenerate.
      
              * config/v850/lib1funcs.asm (save_r2_r31, return_r2_r31,
              save_r20_r31, return_r20_r31, save_r21_r31, return_r21_r31,
              save_r22_r31, return_r22_r31, save_r23_r31, return_r23_r31,
              save_r24_r31, return_r24_r31, save_r25_r31, return_r25_r31,
              save_r26_r31, return_r26_r31, save_r27_r31, return_r27_r31,
              save_r28_r31, return_r28_r31, save_r29_r31, return_r29_r31,
              save_r31, return_r31, save_interrupt, return_interrupt,
              save_all_interrupt, return_all_interrupt, L_save_r2_r31,
              L_return_interrupt, callt_return_interrupt, L_restore_all_interrupt,
              L_save_##START##_r31c, L_callt_save_r31c: Updated as per the
              new ABI requirements.
              save_r6_r9, L_callt_save_r6_r9: Remove.
              * config/v850/predicates.md (even_reg_operand, disp23_operand,
              const_float_1_operand const_float_0_operand): New Predicates.
              (pattern_is_ok_for_prepare, pattern_is_ok_for_prologue,
              pattern_is_ok_for_epilogue): Update as per the ABI requirements.
              * config/v850/t-v850: Update multilibs for new target variants.
              (save_varargs, callt_save_varargs, callt_save_r6_r9): Remove.
              * config/v850/t-v850e: Likewise.
              * config/v850/v850.c (v850_issue_rate): New.
              (v850_strict_argument_naming): New.
              (function_arg): Modify to generate a different ABI.
              (print_operand): Update case 'z' to support float modes.
              (output_move_single): Modify to generate appropriate and better
              assembly.
              (v850_float_z_comparison_operator, v850_select_cc_mode,
              v850_float_nz_comparison_operator,  v850_gen_float_compare,
              v850_gen_compare): New functions to support comparison of
              float values.
              (ep_memory_offset): Add support for V850E2 targets.
              (INTERRUPT_FIXED_NUM, INTERRUPT_ALL_SAVE_NUM): Update.
              (INTERRUPT_REGPARM_NUM): Remove.
              (compute_register_save_size): Add extra case to save/restore
              long call.
              (use_prolog_function): New function to support prologue.
              (expand_prologue): Add support for V850E2 targets and modified
              as per the current ABI requirements.
              (expand_epilogue): Likewise.
              (construct_restore_jr): Modify based on TARGET_LONG_CALLS.
              (construct_save_jarl): Likewise.
              (construct_dispose_instruction): Update as per the current ABI
              requirements.
              (construct_prepare_instruction): Likewise.
              * config/v850/v850.h(TARGET_CPU_DEFAULT): Add target predefines.
              (TARGET_CPU_v850e2, TARGET_CPU_v850e2v3): Define
              (CPP_SPEC): Updated to support v850e2 targets.
              (STRICT_ALIGNMENT): Modified.
              (FIRST_PSEUDO_REGISTER): Updated to add even registers.
              (FIXED_REGISTERS): Likewise.
              (CALL_USED_REGISTERS): Likewise.
              (CONDITIONAL_REGISTER_USAGE): Updated.
              (HARD_REGNO_MODE_OK): Updated.
              (reg_class): Updated to add even registers.
              (REG_CLASS_NAMES): Likewise.
              (REG_CLASS_CONTENTS): Likewise.
              (REGNO_REG_CLASS): Updated for CC registers.
              (REG_CLASS_FROM_LETTER): Added support for even registers.
              (REGNO_OK_FOR_BASE_P): Updated for CC registers.
              (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, LINK_POINTER_REGNUM,
              ARG_POINTER_REGNUM): Updated.
              (FUNCTION_ARG_ADVANCE): Define.
              (REG_PARM_STACK_SPACE): Update as per the current ABI requirements.
              (OUTGOING_REG_PARM_STACK_SPACE): Remove.
              (EXTRA_CONSTRAINT): Add new constraint 'W' for 23-bit displacement.
              (GO_IF_LEGITIMATE_ADDRESS): Updated.
              (SELECT_CC_MODE): Define.
              (REGISTER_NAMES): Updated to add psw and fcc registers.
              (ADDITIONAL_REGISTER_NAMES): Updated.
              (ASM_OUTPUT_ADDR_DIFF_ELT): Updated to support new targets.
              (JUMP_TABLES_IN_TEXT_SECTION): Updated.
              * config/v850/v850.md (define_constants): Define new constants.
              (type): Update store,bit1,macc,div,fpu and single attributes.
              (cpu): New attribute.
              (cc): Add set_z attribute.
              (unsign23byte_load, sign23byte_load, unsign23hword_load,
              sign23hword_load, 23word_load, 23byte_store, 23hword_store,
              23word_store): New instructions for 23-bit displacement load and
              store.
              (movqi_internal, movhi_internal): Update the attributes.
              (movsi, movsi_internal_v850e): Updated to support v850e2 targets.
              (movsi_internal_v850e, movsi_internal, movsf_internal): Update
              the attributes.
              (v850_tst1): Modified using CC_REGNUM.
              (tstsi): Remove.
              (cmpsi): Modified as define_expand from define_insn.
              (cmpsi_insn, cmpsf, cmpdf): New instructions.
              (addsi3, subsi3, negsi2, divmodsi4, udivmodsi4, divmodhi4,
              udivmodhi4, v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3,
              v850_set1_1, v850_set1_3, iorsi3, v850_not1_1, v850_not1_3, xorsi3,
              one_cmplsi2): Clobber the CC_REGNUM register.
              (v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1,
              v850_set1_2, v850_set1_3, iorsi3, v850_not1_1, v850_not1_2,
              v850_not1_3, xorsi3, one_cmplsi2): Update the attributes
              accordingly.
              (setf_insn, set_z_insn, set_nz_insn): New instructions for
              v850e2v3 target.
              (movsicc_normal_cc, movsicc_reversed_cc): New instructions.
              (movsicc, movsicc_normal, movsicc_reversed): Add support for V850E2
              targets.
              (sasf_1, sasf_2): Remove.
              (sasf): New instruction.
              (rotlhi3, rotlhi3_8, rotlsi3, rotlsi3_16): Update to support V850E2
              targets. CC_REGNUM register is clobbered and attributes are
              updated.
              (branch_z_normal, branch_z_invert, branch_nz_normal,
              branch_nz_invert): New branch related instructions.
              (jump): Updated the attributes.
              (switch): Update to support new targets. CC_REGNUM register is
              clobbered and attributes are updated.
              (call_internal_short, call_internal_long, call_value_internal_short,
              call_value_internal_long): Updated the attributes.
              (zero_extendhisi2, zero_extendqisi2): CC_REGNUM register is
              clobbered and attributes are updated.
              (extendhisi_insn, extendhisi2, extendqisi_insn, extendqisi2):
              Update to support new targets. CC_REGNUM register is clobbered.
              (ashlsi3_v850e2, lshrsi3_v850e2, ashrsi3_v850e2): New shift
              instructions.
              (lshrsi3, ashrsi3): CC_REGNUM register is clobbered and attributes
              are updated.
              (ffssi2, addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, divsf3,
              divdf3, minsf3, mindf3, maxsf3, maxdf3, abssf2, absdf2, negsf2,
              negdf2, sqrtsf2, sqrtdf2, truncsfsi2, truncdfsi2, floatsisf2,
              floatsidf2, extendsfdf2, extenddfsf2, recipsf2, recipdf2,
              rsqrtsf2, rsqrtdf2, maddsf4, msubsf4, nmaddsf4, nmsubsf4,
              cmpsf_le_insn, cmpsf_lt_insn, cmpsf_ge_insn, cmpsf_gt_insn,
              cmpsf_eq_insn, cmpsf_ne_insn, cmpdf_le_insn, cmpdf_lt_insn,
              cmpdf_ge_insn, cmpdf_gt_insn, cmpdf_eq_insn, cmpdf_ne_insn, trfsr,
              movsfcc, movdfcc, movsfcc_z_insn, movsfcc_nz_insn, movdfcc_z_insn,
              movdfcc_nz_insn, movedfcc_z_zero, movedfcc_nz_zero): New floating
              point instructions defined for V850e2v3 target.
              (callt_save_interrupt, callt_return_interrupt, return_interrupt):
              Add support for V850E2 targets and CC_REGNUM register is clobbered.
              (callt_save_all_interrupt, callt_restore_all_interrupt): Add
              support for new targets.
              * config/v850/v850-modes.def: New file.
              * config/v850/v850.opt(mstrict-align): Remove.
              (mno-strict-align, mjump-tables-in-data-section, mv850e2,
              mv850e2v3): New command line options for V850.
              * config.gcc: Update the newly added files.
              * doc/invoke.texi: Update the newly added command line options for
              V850 target.
      
      From-SVN: r162530
      223a9d64
Loading