159ca986a3
o cosmetic change CONFIG_COMMON o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
Jeff Hill2011-08-16 18:32:41 -06:00
b5f1a94fc9
o cosmetic change CONFIG_COMMON o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
Jeff HillandAndrew Johnson2011-08-16 18:32:41 -06:00
baaaa3a313
fixed missing missing locked func and broken func proto
Jeff Hill2011-08-15 17:59:43 -06:00
b9900b8682
o no longer need to define OSD_ATOMIC_GCC o removed function epicsAtomicTestAndSetUIntT o added new functions epicsAtomicSetPtrT epicsAtomicGetPtrT epicsAtomicCmpAndSwapUIntT epicsAtomicCmpAndSwapPtrT o changed msvc intrinsics to define memory fence o fixed mutex synchronized version so that its slow, but correct if the c++ compiler doesnt synchronized local scope static initialization o changed most of the set/get methods to use memory barriers instead of some other primitive o added additional tests
Jeff Hill2011-08-15 17:00:01 -06:00
bd1b1479f4
o no longer need to define OSD_ATOMIC_GCC o removed function epicsAtomicTestAndSetUIntT o added new functions epicsAtomicSetPtrT epicsAtomicGetPtrT epicsAtomicCmpAndSwapUIntT epicsAtomicCmpAndSwapPtrT o changed msvc intrinsics to define memory fence o fixed mutex synchronized version so that its slow, but correct if the c++ compiler doesnt synchronized local scope static initialization o changed most of the set/get methods to use memory barriers instead of some other primitive o added additional tests
Jeff HillandAndrew Johnson2011-08-15 17:00:01 -06:00
a50482a0c9
added epicsAtomicGetUIntT for completeness
Jeff Hill2011-08-12 10:06:09 -06:00
049e070b3a
o removed "-march=i586" from configure/os/CONFIG.Common.cygwin-x86 configure/os/CONFIG.Common.linux-x86 configure/os/CONFIG.Common.win32-x86-cygwin configure/os/CONFIG.Common.win32-x86-mingw
Jeff Hill2011-08-11 09:49:09 -06:00
1f7f09e818
o removed "-march=i586" from configure/os/CONFIG.Common.cygwin-x86 configure/os/CONFIG.Common.linux-x86 configure/os/CONFIG.Common.win32-x86-cygwin configure/os/CONFIG.Common.win32-x86-mingw
Jeff HillandAndrew Johnson2011-08-11 09:49:09 -06:00
bd2bccf982
fixed test for earlier gcc supporting intel instrinsic atomic operations
Jeff Hill2011-08-10 13:15:51 -06:00
275df0471d
fixed test for earlier gcc supporting intel instrinsic atomic operations
Jeff HillandAndrew Johnson2011-08-10 13:15:51 -06:00
ca78732dac
fixed solaris 64 compiler error (I dont have that version of solaris here)
Jeff Hill2011-08-09 12:26:40 -06:00
6f7ac559be
fixed solaris 64 compiler error (I dont have that version of solaris here)
Jeff HillandAndrew Johnson2011-08-09 12:26:40 -06:00
04c30aee0e
redo change reversed by merge
Jeff Hill2011-08-08 18:38:39 -06:00
e8bcfbe2c1
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris to test) o fixed darwin compile errors (I dont have access to darwin)
Jeff Hill2011-08-08 17:54:43 -06:00
092e161485
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris to test) o fixed darwin compile errors (I dont have access to darwin)
Jeff HillandAndrew Johnson2011-08-08 17:54:43 -06:00
eefc3b34e0
o moved -march=i586 from CONFIG.arch.arch to CONFIG.Common.arch {cygwin-x86,win32-x86-cygwin,win32-x86-mingw o removed -march=i586 from CONFIG.linux-x86.linux-x86 o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris for initial testing here)
Jeff Hill2011-08-08 17:33:19 -06:00
76b8265dfd
o moved -march=i586 from CONFIG.arch.arch to CONFIG.Common.arch {cygwin-x86,win32-x86-cygwin,win32-x86-mingw o removed -march=i586 from CONFIG.linux-x86.linux-x86 o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris for initial testing here)
Jeff HillandAndrew Johnson2011-08-08 17:33:19 -06:00
921df1dd5c
fixed epicsAtomicTestAndSetUIntT for solaris
Jeff Hill2011-08-05 17:32:06 -06:00
a05a836295
enable gcc atomic intrinsics on certain older gcc that does not advertize its atomics when targeting intel
Jeff Hill2011-08-05 10:50:25 -06:00
e1e3ec6c22
enable gcc atomic intrinsics on certain older gcc that does not advertize its atomics when targeting intel
Jeff HillandAndrew Johnson2011-08-05 10:50:25 -06:00
100c79b88b
o added epicsAtomic implementation including compiler and os specific files o added functionality and performance testing
Jeff Hill2011-08-05 09:13:38 -06:00
747a59fd7f
o added epicsAtomic implementation including compiler and os specific files o added functionality and performance testing
Jeff HillandAndrew Johnson2011-08-05 09:13:38 -06:00
ee2e367dad
o added CMPL_CLASD definition to CONFIG.gnuCommon, CONFIG.solarisCommon.solarisCommon, configure/os/CONFIG.win32-x86.win32-x86 o added CMPLR_SRC_DIRS to ALL_SRC_DIRS, and added compiler/$CMPLR_CLASS) to INSTALL_INCLUDES in CONFIG_COMMON o added additional compiler specific rule deciding where things are installed to in CONFIG_COMMON o added compiler specific include install to RULES_BUILD o changed configure/os/CONFIG.linux-x86.linux-x86 to specify minimum arch is 586 (pentium circa 1995) o changed configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin to specify minimum arch is 586 (pentium circa 1995) o added epicsAtoimic facility to libCom/Makefile o added testing and performance measurement to libCom/test/Makefile
Jeff Hill2011-08-05 08:57:15 -06:00
fa55316272
o added CMPL_CLASD definition to CONFIG.gnuCommon, CONFIG.solarisCommon.solarisCommon, configure/os/CONFIG.win32-x86.win32-x86 o added CMPLR_SRC_DIRS to ALL_SRC_DIRS, and added compiler/$CMPLR_CLASS) to INSTALL_INCLUDES in CONFIG_COMMON o added additional compiler specific rule deciding where things are installed to in CONFIG_COMMON o added compiler specific include install to RULES_BUILD o changed configure/os/CONFIG.linux-x86.linux-x86 to specify minimum arch is 586 (pentium circa 1995) o changed configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin to specify minimum arch is 586 (pentium circa 1995) o added epicsAtoimic facility to libCom/Makefile o added testing and performance measurement to libCom/test/Makefile
Jeff HillandAndrew Johnson2011-08-05 08:57:15 -06:00
dbaa045afc
Merged compiler-specific include files branch.
Andrew Johnson2011-09-01 11:42:37 -05:00
2def6a3d80
Move default macros to compilerDependencies.h Added check in gcc-specific header to error if __clang__ defined Some versions of clang don't support __has_attribute()
Andrew Johnson2011-08-31 17:35:18 -05:00
1862b33328
configure: Adjust instructions for switching to clang
Andrew Johnson2011-08-31 17:32:32 -05:00
5a0364b74a
iocLogPrefix does not let you change the prefix if the prefix has already been set. Display the prefix as part of iocLogShow.
Murali Shankar2011-08-23 11:51:19 -07:00
be1c21fc51
o changed the build system so that we can implement functionality which is compiler specific in a separate file for each compiler. This will avoid accumulating MxN ifdef's where M is the number of OS and N is the number of comilers (worst case). This will make it easier to find code that is compiler specific centralizing all of it under libCom/osi/compiler. That should make it mush easier to port EPICS to run on a new compiler. o refactored compilerDependencies.h into code that is compiler specific (one libCom/osi/compiler/xxx/compilerDependent.h for each comiler) and code that isnt libCom/osi/compilerDependencies.h (this is a new location and is no longer in libCom/misc).
Jeff Hill2011-08-17 13:57:46 -06:00
c49db7c176
Added commented changes from Eric Norum to build with CLANG
Janet Anderson2011-07-27 16:10:56 -05:00
7783f0044b
Added commented changes from Eric Norum to build with CLANG
Janet Anderson2011-07-27 16:08:02 -05:00
1b9ca756cc
Changed repeaterTimerNotify interface implementation into a nested class of udpiiu so that we dont use multiple inheritance, and therefore hopefully avoid code generation problems with certain versions of g++ on MacOSX (I cant reproduce this problem on any ofthe machines here)
Jeff Hill2011-07-26 16:23:34 -06:00
f9f8d1150c
fixed spelling and formatting nits
Jeff Hill2011-07-26 10:40:37 -06:00
e71785edf6
libCom/devLib: Make unsolicitedHandlerEPICS() visible
Andrew Johnson2011-07-21 16:10:50 -05:00