Commit Graph
12479 Commits
Author SHA1 Message Date
Jeff HillandAndrew Johnson 4bea8cbb0a committed merge 2011-08-16 18:34:36 -06:00
Jeff HillandAndrew Johnson b5f1a94fc9 o cosmetic change CONFIG_COMMON
o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
2011-08-16 18:32:41 -06:00
Jeff HillandAndrew Johnson e929857ac8 fixed missing missing locked func and broken func proto 2011-08-15 17:59:43 -06:00
Jeff HillandAndrew Johnson 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
2011-08-15 17:00:01 -06:00
Jeff HillandAndrew Johnson c872c44668 added epicsAtomicGetUIntT for completeness 2011-08-12 10:06:09 -06:00
Jeff HillandAndrew Johnson 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

added commented out "-march=i586" to
configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86
configure/os/CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin

added "-march=i586" to (I know that this compiler currently defaults to 386)
configure/os/CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
2011-08-11 09:49:09 -06:00
Jeff HillandAndrew Johnson 275df0471d fixed test for earlier gcc supporting intel instrinsic atomic operations 2011-08-10 13:15:51 -06:00
Jeff HillandAndrew Johnson 6f7ac559be fixed solaris 64 compiler error (I dont have that version of solaris here) 2011-08-09 12:26:40 -06:00
Jeff HillandAndrew Johnson 9e60e923e7 redo change reversed by merge 2011-08-08 18:38:39 -06:00
Jeff HillandAndrew Johnson d522200295 make the default minimum arch for 32 bit linux pentium 2011-08-08 18:31:42 -06:00
Jeff HillandAndrew Johnson c3e1f2030a merged changes from launchpad 2011-08-08 18:03:11 -06:00
Jeff HillandAndrew Johnson 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)
2011-08-08 17:54:43 -06:00
Jeff HillandAndrew Johnson 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)
2011-08-08 17:33:19 -06:00
Jeff HillandAndrew Johnson 33c40b23a1 fixed epicsAtomicTestAndSetUIntT for solaris 2011-08-05 17:32:06 -06:00
Jeff HillandAndrew Johnson 094072a93e fixed modern vxWorks atomics 2011-08-05 17:12:33 -06:00
Jeff HillandAndrew Johnson ed6ad62cf7 fixed test names 2011-08-05 17:11:29 -06:00
Jeff HillandAndrew Johnson fc4a4d9024 o fixed include guard to match file names
o fixed legacy vxWorks support
2011-08-05 16:23:50 -06:00
Jeff HillandAndrew Johnson b051875f22 changed test iterations to accomodate old systems 2011-08-05 11:14:37 -06:00
Jeff HillandAndrew Johnson e1e3ec6c22 enable gcc atomic intrinsics on certain older gcc that does not advertize its atomics when targeting intel 2011-08-05 10:50:25 -06:00
Jeff HillandAndrew Johnson cedcddd0e8 track name changes 2011-08-05 09:51:05 -06:00
Jeff HillandAndrew Johnson 747a59fd7f o added epicsAtomic implementation including compiler and os specific files
o added functionality and performance testing
2011-08-05 09:13:38 -06:00
Jeff HillandAndrew Johnson 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
2011-08-05 08:57:15 -06:00
Andrew Johnson 098f7ce850 Update FLEX rules.
Use the '-t' option to flex to generate a unique output filename.
Needed for parallel builds when multiple lexers are built in
the same object directory.
2011-09-01 11:46:54 -05:00
Andrew Johnson dbaa045afc Merged compiler-specific include files branch. 2011-09-01 11:42:37 -05:00
Andrew Johnson 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()
2011-08-31 17:35:18 -05:00
Andrew Johnson 1862b33328 configure: Adjust instructions for switching to clang 2011-08-31 17:32:32 -05:00
Michael DavidsaverandAndrew Johnson 2714ff703b Fix source reorg issues from Windows
* fix libCom exports for things which used to be built differently
* logserver needs winsock
* errlog prefix: fix warnings on win32
* fix dll imports in ioc/db
2011-08-30 18:09:11 -05:00
Andrew Johnson c5212ea23c libCom: epicsVersion.h changes
Make version numbers easier to compare.
2011-08-30 17:50:53 -05:00
Andrew Johnson 86c373370f configure: Show how to switch to clang on Linux. 2011-08-26 16:49:36 -05:00
Andrew Johnson 239e1487e1 std: Build in std/test, into libdbRecStd 2011-08-26 13:41:25 -05:00
Andrew Johnson e15e42cff3 Merged Murali Shankar's iocLogPrefix changes.
Adjusted a few things during the merge.
2011-08-25 18:17:09 -05:00
Murali Shankar 95eb4790f1 Added iocLogPrefix to the release notes 2011-08-24 11:25:37 -07:00
Murali Shankar c12f6808f1 Added a couple of units tests for iocLogPrefix 2011-08-24 11:25:06 -07:00
Murali Shankar 0a4daefee3 Added the iocLogPrefix to the header so that we can use it in the unit test 2011-08-24 11:24:26 -07:00
Andrew Johnson 712bb052ef Merged the epicsEvent-api branch.
Modified epicsEventTest.cpp to use the new names.
2011-08-23 18:19:55 -05:00
Andrew Johnson ee64e249ad Merged modified version of Michael Davidsaver's reorg-src branch. 2011-08-23 17:43:12 -05:00
Andrew Johnson 8ff3dcdf2d libCom: cleanup after rebase
remove empty src/libCom/tools dir
include as/RULES, lost during rebase
2011-08-23 17:28:20 -05:00
Murali Shankar 5a0364b74a iocLogPrefix does not let you change the prefix if the prefix has already been set. Display the prefix as
part of iocLogShow.
2011-08-23 11:51:19 -07:00
Murali Shankar 0cb7c9aafe Added support for iocLogPrefix
Refactored logClientSend in libCom/logClient/logClient.c; took the code between the mutex operations and
moved it to a private method - sendLogMessageinChunks. Call this method once for the prefix (if it exists) and once
for the actual message.
Added ioCsh registration code into src/libCom/iocsh/libComRegister.c registering a command called
"iocLogPrefix" that sets this prefix.

Unit tested with and without prefixes.
Performance tested with and without prefixes - without prefix is approx the same. With prefix is about
twice the time (reflecting the two calls to sendLogMessageinChunks I think)
2011-08-23 11:04:09 -07:00
Janet Anderson e76dc17dfb Move linux-x86 GNU compiler tune c flag setting to CONFIG_SITE file. 2011-08-22 09:31:26 -05:00
Janet Anderson 4a18db9f99 Initial version 2011-08-19 16:20:53 -05:00
Janet Anderson 71c232afc3 Initial version 2011-08-19 16:20:36 -05:00
Janet Anderson 5f1378971d Initial version 2011-08-19 16:20:19 -05:00
Janet Anderson 7b53bd5265 Initial version 2011-08-19 16:19:51 -05:00
Janet Anderson f48c625cb1 Added -mtune=generic cflag. Changed -m32 to OP_SYS flags. 2011-08-19 15:57:06 -05:00
Janet Anderson 3c83a35d9d Added comment about specifying specific machine type and/or cpu type 2011-08-19 15:56:48 -05:00
Janet Anderson 061b654f03 Changed += to = to become ARCH_DEP_CFLAGS override. 2011-08-19 15:54:10 -05:00
Jeff Hill a05348d63e merged andrews merge to R3.15 2011-08-19 14:43:35 -06:00
Andrew Johnson 2802744f7c db/test: Adjust and simplify libraries. 2011-08-18 12:37:59 -05:00
Andrew Johnson d25ee10b71 Merge 3.14 changes from 2011-06-06 to 2011-08-17 2011-08-17 16:36:38 -05:00