sergei
d7c863185f
* Added plain calls for semaphore-related functionality, this removes need to maintain a second copy of thread manager in unis/tthread.inc.
...
git-svn-id: trunk@27665 -
2014-04-26 13:58:35 +00:00
sergei
471ffb017c
- Removed call to FlushThread, it is redundant since r17798. SysFlushStdio is called from DoneThreads, which is in turn called after exiting from ThreadFunc.
...
git-svn-id: trunk@27663 -
2014-04-26 13:46:10 +00:00
sergei
b16c6f8ced
* i386 and x86_64 changes for Delphi compatibility:
...
* 'mxcsr' variable made public and renamed to DefaultMXCSR.
* GetSSECSR and SetSSECSR renamed to GetMXCSR and SetMXCSR, respectively. Previous names continue to exist as deprecated aliases.
git-svn-id: trunk@27656 -
2014-04-25 15:10:12 +00:00
nickysn
ec75c5dfa0
+ added an asm implementation of FillDWord for i8086
...
git-svn-id: trunk@27650 -
2014-04-25 09:18:43 +00:00
sergei
f767d9017c
* Fixed sin(-0.0) to return -0.0 (was returning 0.0)
...
* Fixed lnxp1(-1.0) to return -Inf (was returning NaN)
git-svn-id: trunk@27639 -
2014-04-23 10:03:18 +00:00
sergei
65f75791ea
* rem_pio2: Return NaN for infinite or NaN arguments, so it is propagated into return values of sin(),cos() and other (not yet existing) callers.
...
git-svn-id: trunk@27625 -
2014-04-21 18:32:17 +00:00
pierre
034c440d84
Fix big mistake in previous commit, packed must be disabled if FPC_REQUIRES_PROPER_AIGNMENT is set
...
git-svn-id: trunk@27614 -
2014-04-20 17:36:24 +00:00
pierre
8193aff81d
Fix cycle starting for 2.6.4 release for powerpc64-linux
...
git-svn-id: trunk@27610 -
2014-04-20 16:28:52 +00:00
Jonas Maebe
4fa69488bc
* fixed compilation of AIX rtl with -Cr
...
git-svn-id: trunk@27603 -
2014-04-19 18:48:57 +00:00
Jonas Maebe
d627880942
+ added unicode units for AIX
...
git-svn-id: trunk@27601 -
2014-04-19 18:48:45 +00:00
Jonas Maebe
36e61086de
- removed file coming from Novell NDK, whose licensing agreement forbids
...
(a.o.) creating software that "substantially duplicate the capabilities
or compete with the Derivative Software or the Software". Including
a verbatim copy of one of the NDK files seems to "substantially duplicate
the capabalities" (mantis #26041 )
git-svn-id: trunk@27596 -
2014-04-19 17:04:18 +00:00
Jonas Maebe
f105f3f667
* compile uuchar unit for aix
...
git-svn-id: trunk@27594 -
2014-04-18 14:32:15 +00:00
Károly Balogh
8a83037883
amiga: added some hacks to support the ancient code in amunits package. most of this will be gone after amunits package cleanup, but at least amunits package builds now
...
git-svn-id: trunk@27578 -
2014-04-13 23:39:59 +00:00
florian
d88d644925
+ support for FMA intrinsic: if there is no hardware support, the compiler throws an error.
...
Currently it is implemented only for x86-CPUs supporting the FMA extension. While it would
be possible to implement it in software or simulate fma(<single>,<single>,<single>) using
double operations, it makes no sense in my opinion to do so.
git-svn-id: trunk@27564 -
2014-04-13 19:21:54 +00:00
sergei
6810d643c4
* Fixed exp() result for +-Inf input, must be +Inf or 0, not NaN. This is mathematically correct and consistent with generic implementation of this function.
...
git-svn-id: trunk@27553 -
2014-04-12 21:18:57 +00:00
sergei
57c762c8d2
+ Inserted license header for AMath routines.
...
git-svn-id: trunk@27552 -
2014-04-12 20:45:44 +00:00
nickysn
e1716c097d
* set the vmtParent constant according to sizeof(SizeInt) instead of
...
SizeOf(ptruint), because the +size and -size fields are of type SizeInt and
not ptruint or pointer.
git-svn-id: trunk@27540 -
2014-04-11 23:10:04 +00:00
sergei
bd58adfcc9
+ Added credits for functions reused from AMath/DAMath libraries.
...
git-svn-id: trunk@27518 -
2014-04-10 20:29:49 +00:00
pierre
29a7f75d1d
Complete previous commit: add EXECPPAS to ALL explicit rules
...
git-svn-id: trunk@27514 -
2014-04-10 16:14:58 +00:00
pierre
2f5fcf775c
Add EXECPPAS on explicit roules
...
git-svn-id: trunk@27513 -
2014-04-10 16:00:32 +00:00
pierre
3d34a8a3b0
Makefiles updated with fpcmake rev 27428
...
git-svn-id: trunk@27508 -
2014-04-10 09:58:17 +00:00
pierre
f188dec303
Add missing unixtype unit dependencies
...
git-svn-id: trunk@27507 -
2014-04-10 09:54:26 +00:00
pierre
63363b6d8f
Remove objects and matrix units now in rtl-extra package
...
git-svn-id: trunk@27506 -
2014-04-10 09:52:52 +00:00
pierre
efa80632ed
Remove varutils, variants and dateutils units which are now in rtl-objpas package
...
git-svn-id: trunk@27505 -
2014-04-10 09:50:59 +00:00
pierre
ae8679ec60
Remove varutils and variants units which are now in rtl-objpas package
...
git-svn-id: trunk@27504 -
2014-04-10 09:48:38 +00:00
sergei
217bac7a0b
- Removed fpc_pi_real compilerproc, it is no longer used. At least two releases (2.6.2 and 2.6.4) emit Pi directly as a constant.
...
git-svn-id: trunk@27500 -
2014-04-07 09:16:24 +00:00
sergei
2981f73aaa
- Removed redundant functions "power", they were neither used nor accessible through interface. The actual function "power" is located in Math unit.
...
git-svn-id: trunk@27499 -
2014-04-07 09:04:13 +00:00
nickysn
626000e50d
+ added System.SelectorInc to the msdos rtl (BP7 compatibility)
...
git-svn-id: trunk@27497 -
2014-04-07 08:26:53 +00:00
michael
d45ced0221
* Added DegNormalize
...
git-svn-id: trunk@27492 -
2014-04-06 16:37:43 +00:00
nickysn
f31d7e665b
* fix for i8086 far data memory models in dos.getintvec
...
git-svn-id: trunk@27468 -
2014-04-04 17:03:18 +00:00
nickysn
8efd857d76
* i8086 far data memory model fixes in unit msmouse
...
git-svn-id: trunk@27462 -
2014-04-04 08:57:14 +00:00
nickysn
34e8e5a0dc
* handle zero length strings correctly in DebugWrite/DebugWriteLn
...
git-svn-id: trunk@27459 -
2014-04-03 21:47:42 +00:00
michael
f61e27ec8e
* clock_gettime uses timespec, not timeval
...
git-svn-id: trunk@27446 -
2014-04-02 08:25:03 +00:00
michael
a92056d219
* Use clock_gettime when available
...
git-svn-id: trunk@27444 -
2014-04-02 07:06:32 +00:00
pierre
fcc7dc82fc
Fix typo error in previous fpcmake.ini change
...
git-svn-id: trunk@27428 -
2014-04-01 15:38:27 +00:00
pierre
2161b5e2e4
Fix syntax error in previous fpcmake.ini change
...
git-svn-id: trunk@27426 -
2014-04-01 15:31:12 +00:00
pierre
7b28fb4c0e
Makefile update to suppport use of -sh option
...
git-svn-id: trunk@27425 -
2014-04-01 15:26:28 +00:00
pierre
8f9268d808
Add missing EXECPPAS for explicit COMPILER calls, needed for -sh option
...
git-svn-id: trunk@27422 -
2014-04-01 15:12:30 +00:00
nickysn
e4d4dd9d81
* replaced tabs with spaces, fixes identation
...
git-svn-id: trunk@27419 -
2014-04-01 12:46:46 +00:00
nickysn
85c6ffa102
* setup a true far data memory layout in the compact and large models with
...
stack, heap and static data being all in different segments
git-svn-id: trunk@27418 -
2014-03-31 22:03:48 +00:00
sergei
7f9c65d4c1
* x86_64-linux: include startup units into build.
...
git-svn-id: trunk@27415 -
2014-03-31 15:58:22 +00:00
sergei
eb30da60a6
* x86_64-linux: fixed existing Pascal startup code (syntax only, operation not tested yet) and added missing files.
...
git-svn-id: trunk@27414 -
2014-03-31 15:57:11 +00:00
nickysn
c0cb3643f8
+ support i8086 far data memory models in fpc_longJmp
...
git-svn-id: trunk@27413 -
2014-03-31 15:53:12 +00:00
sergei
1643c175f2
+ .so startup code for sparc-linux.
...
git-svn-id: trunk@27412 -
2014-03-31 15:45:16 +00:00
nickysn
d24cfbcc8e
+ implemented InterLockedCompareExchange for i8086
...
git-svn-id: trunk@27410 -
2014-03-31 13:36:30 +00:00
marco
796be2656c
* removed printer
...
git-svn-id: trunk@27409 -
2014-03-31 11:07:55 +00:00
sergei
fff45fa1d3
- Don't compile fpc_abs_real and fpc_sqr_real if they are already defined (Mantis #25342 ).
...
git-svn-id: trunk@27408 -
2014-03-31 10:10:04 +00:00
nickysn
6cac29e1b5
+ implemented InterLockedExchangeAdd for i8086
...
git-svn-id: trunk@27406 -
2014-03-31 09:49:37 +00:00
nickysn
5b71ad3e3b
+ i8086 InterLockedExchange reimplemented in asm, added locking with cli
...
git-svn-id: trunk@27404 -
2014-03-31 09:24:23 +00:00
nickysn
3b2cc1baf5
- rm unused local vars from SysInitFPU and SysResetFPU
...
git-svn-id: trunk@27403 -
2014-03-30 23:03:51 +00:00