aboutsummaryrefslogtreecommitdiff
path: root/libcilkrts
AgeCommit message (Collapse)AuthorFilesLines
2015-01-26configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.Matthias Klose3-53/+60
2015-01-26 Matthias Klose <doko@ubuntu.com> * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. * configure: Regenerate. From-SVN: r220141
2014-11-21Always use PIC option with -shared in libtoolH.J. Lu2-3/+8
Libtool needs to pass PIC option -shared when creating shared object to link regular object files with slim-lto archive. PR bootstrap/63784 * libtool.m4: Add $pic_flag with -shared. boehm-gc/ PR bootstrap/63784 * configure: Regenerated. gcc/ PR bootstrap/63784 * configure: Regenerated. libatomic/ PR bootstrap/63784 * configure: Regenerated. libbacktrace/ PR bootstrap/63784 * configure: Regenerated. libcc1/ PR bootstrap/63784 * configure: Regenerated. libcilkrts/ PR bootstrap/63784 * configure: Regenerated. libffi/ PR bootstrap/63784 * configure: Regenerated. libgfortran/ PR bootstrap/63784 * configure: Regenerated. libgomp/ PR bootstrap/63784 * configure: Regenerated. libitm/ PR bootstrap/63784 * configure: Regenerated. libjava/ PR bootstrap/63784 * configure: Regenerated. libjava/classpath/ PR bootstrap/63784 * configure: Regenerated. libobjc/ PR bootstrap/63784 * configure: Regenerated. libquadmath/ PR bootstrap/63784 * configure: Regenerated. libsanitizer/ PR bootstrap/63784 * configure: Regenerated. libssp/ PR bootstrap/63784 * configure: Regenerated. libstdc++-v3/ PR bootstrap/63784 * configure: Regenerated. libvtv/ PR bootstrap/63784 * configure: Regenerated. lto-plugin/ PR bootstrap/63784 * configure: Regenerated. From-SVN: r217937
2014-11-13[PATCH 2/4] OpenMP 4.0 offloading to Intel MIC: liboffloadmic.Kirill Yukhin2-16/+5
* Makefile.def: Add liboffloadmic to target_modules. Make liboffloadmic depend on libgomp's configure, libstdc++ and libgcc. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Add liboffloadmic to target binaries. Restrict liboffloadmic for POSIX and i*86, and x86_64 architectures. Add liboffloadmic to noconfig list when C++ is not supported. config/ * target-posix: New file. libcilkrts/ * configure.tgt: Use config/target-posix. liboffloadmic/ Initial commit. Imported from upstream: https://www.openmprtl.org/sites/default/files/liboffload_oss.tgz * Makefile.am: New file. * Makefile.in: New file, generated by automake. * aclocal.m4: New file, generated by aclocal. * configure: New file, generated by autoconf. * configure.ac: New file. * configure.tgt: Ditto. * doc/doxygen/config: Ditto. * doc/doxygen/header.tex: Ditto. * include/coi/common/COIEngine_common.h: Ditto. * include/coi/common/COIMacros_common.h: Ditto. * include/coi/common/COIPerf_common.h : Ditto. * include/coi/common/COIResult_common.h : Ditto. * include/coi/common/COITypes_common.h: Ditto. * include/coi/sink/COIBuffer_sink.h: Ditto. * include/coi/sink/COIPipeline_sink.h: Ditto. * include/coi/sink/COIProcess_sink.h: Ditto. * include/coi/source/COIBuffer_source.h: Ditto. * include/coi/source/COIEngine_source.h: Ditto. * include/coi/source/COIEvent_source.h: Ditto. * include/coi/source/COIPipeline_source.h: Ditto. * include/coi/source/COIProcess_source.h: Ditto. * include/myo/myo.h: Ditto. * include/myo/myoimpl.h: Ditto. * include/myo/myotypes.h: Ditto. * liboffloadmic_host.spec.in: Ditto. * liboffloadmic_target.spec.in: Ditto. * runtime/cean_util.cpp: Ditto. * runtime/cean_util.h: Ditto. * runtime/coi/coi_client.cpp: Ditto. * runtime/coi/coi_client.h: Ditto. * runtime/coi/coi_server.cpp: Ditto. * runtime/coi/coi_server.h: Ditto. * runtime/compiler_if_host.cpp: Ditto. * runtime/compiler_if_host.h: Ditto. * runtime/compiler_if_target.cpp: Ditto. * runtime/compiler_if_target.h: Ditto. * runtime/dv_util.cpp: Ditto. * runtime/dv_util.h: Ditto. * runtime/emulator/coi_common.h: Ditto. * runtime/emulator/coi_device.cpp: Ditto. * runtime/emulator/coi_device.h: Ditto. * runtime/emulator/coi_host.cpp: Ditto. * runtime/emulator/coi_host.h: Ditto. * runtime/emulator/coi_version_asm.h: Ditto. * runtime/emulator/coi_version_linker_script.map: Ditto. * runtime/emulator/myo_client.cpp: Ditto. * runtime/emulator/myo_service.cpp: Ditto. * runtime/emulator/myo_service.h: Ditto. * runtime/emulator/myo_version_asm.h: Ditto. * runtime/emulator/myo_version_linker_script.map: Ditto. * runtime/liboffload_error.c: Ditto. * runtime/liboffload_error_codes.h: Ditto. * runtime/liboffload_msg.c: Ditto. * runtime/liboffload_msg.h: Ditto. * runtime/mic_lib.f90: Ditto. * runtime/offload.h: Ditto. * runtime/offload_common.cpp: Ditto. * runtime/offload_common.h: Ditto. * runtime/offload_engine.cpp: Ditto. * runtime/offload_engine.h: Ditto. * runtime/offload_env.cpp: Ditto. * runtime/offload_env.h: Ditto. * runtime/offload_host.cpp: Ditto. * runtime/offload_host.h: Ditto. * runtime/offload_myo_host.cpp: Ditto. * runtime/offload_myo_host.h: Ditto. * runtime/offload_myo_target.cpp: Ditto. * runtime/offload_myo_target.h: Ditto. * runtime/offload_omp_host.cpp: Ditto. * runtime/offload_omp_target.cpp: Ditto. * runtime/offload_orsl.cpp: Ditto. * runtime/offload_orsl.h: Ditto. * runtime/offload_table.cpp: Ditto. * runtime/offload_table.h: Ditto. * runtime/offload_target.cpp: Ditto. * runtime/offload_target.h: Ditto. * runtime/offload_target_main.cpp: Ditto. * runtime/offload_timer.h: Ditto. * runtime/offload_timer_host.cpp: Ditto. * runtime/offload_timer_target.cpp: Ditto. * runtime/offload_trace.cpp: Ditto. * runtime/offload_trace.h: Ditto. * runtime/offload_util.cpp: Ditto. * runtime/offload_util.h: Ditto. * runtime/ofldbegin.cpp: Ditto. * runtime/ofldend.cpp: Ditto. * runtime/orsl-lite/include/orsl-lite.h: Ditto. * runtime/orsl-lite/lib/orsl-lite.c: Ditto. * runtime/orsl-lite/version.txt: Ditto. * runtime/use_mpss2.txt: Ditto. From-SVN: r217498
2014-11-11re PR target/63610 (Fixing the libtool bug for Yosemite (darwin14))Francois-Xavier Coudert2-1/+6
toplevel: 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * libtool.m4: Fix globbing of darwin versions. boehm-gc/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. gcc/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libatomic/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libbacktrace/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libcc1/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libcilkrts/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libffi/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libgfortran/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libgomp/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libitm/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libobjc/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libquadmath/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libsanitizer/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libssp/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libstdc++-v3/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libvtv/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. lto-plugin/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libjava/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. libjava/classpath/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. zlib/ 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR target/63610 * configure: Regenerate. From-SVN: r217366
2014-08-12configure.ac: Move pthread affinity test to the place where '-pthread' ↵Alexander Ivchenko5-60/+118
passed to CFLAGS. libcilkrts/ * configure.ac: Move pthread affinity test to the place where '-pthread' passed to CFLAGS. Otherwise the test always fails. (XCFLAGS): New variable for correctly passing '-pthread'. (XLDFLAGS): New variable for passing the correct pthread lib. * configure: Regenerate. * Makefile.am (AM_CFLAGS): Add $XCFLAGS. (AM_LDFLAGS): Add $XLDFLAGS. * Makefile.in: Regenerate. From-SVN: r213854
2014-05-21config.gcc (*-*-dragonfly*): New target.John Marino2-1/+10
2014-05-21 John Marino <gnugcc@marino.st> gcc: * config.gcc (*-*-dragonfly*): New target. * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*). * configure: Regenerate. * config/dragonfly-stdint.h: New. * config/dragonfly.h: New. * config/dragonfly.opt: New. * config/i386/dragonfly.h: New. * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly. include: * liberty.h: Use basename function on DragonFly. libcilkrts: * runtime/os-unix.c (__DragonFly__): New target. libgcc: * config.host (*-*-dragonfly*): New target. * crtstuff.c: Make dl_iterate_support generic on *bsd. * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD. * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly. * config/i386/dragonfly-unwind.h: New. libitm: * configure.tgt (*-*-dragonfly*): New target. libstdc++-v3: * acinclude.m4 (*-*-dragonfly*): New target. * configure: Regenerate. * configure.host (*-*-dragonfly*): New target. * config/locale/dragonfly/c_locale.cc: New. * config/locale/dragonfly/ctype_members.cc: New. * config/os/bsd/dragonfly/ctype_base.h: New. * config/os/bsd/dragonfly/ctype_configure_char.cc: New. * config/os/bsd/dragonfly/ctype_inline.h: New. * config/os/bsd/dragonfly/os_defines.h: New. From-SVN: r210694
2014-04-11re PR bootstrap/60644 (Build of i686-pc-linux-android is broken)Barry Tannenbaum5-7/+16
Fix for PR other/60644. +2014-04-11 Barry Tannenbaum <barry.m.tannenbaum@intel.com> + + PR other/60644 + * runtime/os-unix.c: Replaced all occurrances of ANDROID with + __ANDROID__. + * runtime/bug.h: Likewise. + * include/cilk/metaprogramming.h: Likewise. + * include/cilk/reducer_min_max.h: Likewise. + From-SVN: r209324
2014-03-26Add libcilkrts/libcilkrts.spec.in, missing from r208847Tobias Burnus1-0/+3
From-SVN: r208851
2014-03-26gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.Tobias Burnus6-33/+143
gcc/ 2014-03-26 Tobias Burnus <burnus@net-b.de> * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus. (CILK_SELF_SPECS): New define. (driver_self_specs): Use it. libcilkrts/ 2014-03-26 Tobias Burnus <burnus@net-b.de> * libcilkrts.spec.in: New. * Makefile.am: Handle libcilkrts.spec. * configure.ac: Determine link options for libcilkrts.spec. * Makefile.in: Regenerate. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r208847
2014-03-20re PR other/60589 (Parallel install fails due to multiple cilk.h installs)Tobias Burnus4-41/+30
2014-03-20 Tobias Burnus <burnus@net-b.de> PR other/60589 Reverted: 2014-03-09 Tobias Burnus <burnus@net-b.de> * Makefile.am: Install cilk.h. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. From-SVN: r208736
2014-03-09Makefile.am: Install cilk.h.Tobias Burnus4-19/+47
2014-03-09 Tobias Burnus <burnus@net-b.de> * Makefile.am: Install cilk.h. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. From-SVN: r208440
2014-02-18+ * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version + to ↵Balaji V. Iyer3-6/+22
1 instead of 0. 2014-02-18 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * include/cilk/common.h (__CILKRTS_ABI_VERSION): Set the ABI version + to 1 instead of 0. + * runtime/cilk-abi-cilk-for.cpp (cilk_for_recursive): Added a fix to + initialize stack frame correctly. + From-SVN: r207870
2014-02-10re PR target/59691 (cilk-plus run failures on non-sse processors)Balaji V. Iyer2-10/+38
Fix for PR target/59691. +2014-02-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR target/59691 + * runtime/config/x86/os-unix-sysdep.c (__builtin_cpu_supports): New + function. + (restore_x86_fp_state): Added a check if the cpu supports the + instruction before emitting it. + (sysdep_save_fp_ctrl_state): Likewise. + From-SVN: r207664
2014-01-20re PR other/58996 (build failure in libcilkrts)Balaji V. Iyer4-0/+64
Fix for PR other/58996. +2014-01-20 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR other/58996 + * configure.ac: Added a check for pthread affinity support. + * runtime/os-unix.c: Likewise. + * configure: Regenerate. + From-SVN: r206846
2014-01-09Fix for PR bootstrap/59094 +2014-01-09 Balaji V.Balaji V. Iyer3-2/+11
Fix for PR bootstrap/59094 +2014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR bootstrap/59094 + * Makefile.am (cilkincludedir): Fixed a bug to store version-specific + runtime libraries in the correct place. + * Makefile.in: Regenerate. + From-SVN: r206469
2013-12-13Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts).Balaji V. Iyer4-3/+10
+2013-12-13 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * Makefile.am (GENERAL_FLAGS): Removed undefining of Cilk keywords. + * Makefile.in: Reconfigure. + * runtime/symbol_test.c: Added a #define to clear out _Cilk_for. + From-SVN: r205965
2013-11-25Remove GCC_LIBSTDCXX_RAW_CXX_FLAGSRainer Orth3-34/+7
* configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove. * configure: Regenerate. From-SVN: r205357
2013-11-22Only use visibility if supportedRainer Orth4-3/+50
* configure.ac (libcilkrts_cv_have_attribute_visibility): Check for __attribute__((visibility)). * configure: Regenerate. * include/cilk/common.h (CILK_EXPORT, CILK_EXPORT_DATA): Only use __attribute__((visibility)) if HAVE_ATTRIBUTE_VISIBILITY. From-SVN: r205254
2013-11-22Enable libcilkrts multilib build on SolarisRainer Orth3-495/+500
* configure.ac (AC_PROG_CXX): Move after AC_PROG_CC. * configure: Regenerate. From-SVN: r205253
2013-11-12Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability of ↵Balaji V. Iyer5-7/+25
"-ldl" flag. 2013-11-12 Balaji V. Iyer <balaji.v.iyer@intel.com> * Makefile.am (libcilkrts_la_LDFLAGS): Added a check for availability of "-ldl" flag. * configure.ac: Likewise. * configure: Regenerate * Makefile.in: Likewise. From-SVN: r204723
2013-11-08+2013-11-08 Balaji V.Balaji V. Iyer2-14/+33
+2013-11-08 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR c/59039 + * runtime/cilk_fiber-unix.cpp: Fixed a crash in run() function + when optimization is turned on. + From-SVN: r204592
2013-11-04fix for PR bootstrap/58951 +2013-11-04 Balaji V.Balaji V. Iyer3-2/+8
fix for PR bootstrap/58951 +2013-11-04 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR bootstrap/58951 + * Makefile.am (AM_LDFLAGS): Removed -ldl flag. + * Makefile.in: Regenerate. + From-SVN: r204381
2013-11-04os-unix.c: Include <sched.h>.Rainer Orth2-4/+13
* runtime/os-unix.c [__sun__ && __svr4__]: Include <sched.h>. (__cilkrts_hardware_cpu_count) [__sun__ && __svr4__]: Use sysconf. (__cilkrts_yield) [__sun__ && __svr4__]: Use sched_yield. From-SVN: r204347
2013-10-31Added PR number (PR bootstrap/58918) to a previous ChangeLog entry.Balaji V. Iyer1-0/+1
From-SVN: r204284
2013-10-31Fix for PR other/58925 +2013-10-31 Balaji V.Balaji V. Iyer6-5/+64
Fix for PR other/58925 +2013-10-31 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR other/58925 + * configure.ac: Added target_alias and GCC_LIBSTDCXX_RAW_CXX_FLAGS + fields. + * configure: Regenerated. + * aclocal.m4: Likewise. + * Makefile.in: Likewise. + * Makefile.am: Added gcc_version field. + From-SVN: r204280
2013-10-30configure.ac: Changed a case statement to include i386.Balaji V. Iyer3-2/+7
2013-10-30 Balaji V. Iyer <balaji.v.iyer@intel.com> * configure.ac: Changed a case statement to include i386. * configure: Regenerated. From-SVN: r204246
2013-10-30Fix for bug Bootstrap/58918.Balaji V. Iyer7-484/+733
+2013-10-30 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * configure: Reconfigured. + * configure.ac: Add AC_FUNC_ALLOCA. + * runtime/sysdep-unix.c: Added check for alloca.h before + including it. + * config/x86/cilk-abi-vla.c: Likewise. + * runtime/cilk_fiber-unix.cpp: Likewise. + From-SVN: r204232
2013-10-30gcc_update (files_and_dependencies): Add rules for libcilkrts.Tobias Burnus5-5/+89
2013-10-29 Tobias Burnus <burnus@net-b.de> * gcc_update (files_and_dependencies): Add rules for libcilkrts. 2013-10-29 Tobias Burnus <burnus@net-b.de> * configure.ac: Add AM_MAINTAINER_MODE. * aclocal.m4: Regenerate. * configure.ac: Regenerate. * Makefile.in: Regenerate. From-SVN: r204189
2013-10-29Added Cilk runtime library (libcilkrts) into GCC.Balaji V. Iyer107-0/+57858
From-SVN: r204173