Károly Balogh
4179e8812d
AROS: initial RTL, based on the work by Marcus Sackrow. this is enough to have a working native compiler. contains duplicated code from the Amiga and MorphOS RTLs, but the three Amiga variants will be merged soon, and then it will go away.
...
git-svn-id: trunk@28445 -
2014-08-18 16:42:02 +00:00
Károly Balogh
8627cc3ddb
AROS: added remark about collect-aros issue, fixed ld name for x86_64 target
...
git-svn-id: trunk@28444 -
2014-08-18 16:17:06 +00:00
Károly Balogh
2f086129e1
AROS: use collect-aros to link. also support binutils prefixes.
...
git-svn-id: trunk@28443 -
2014-08-18 14:55:02 +00:00
nickysn
7958466ef9
* on i8086-msdos, in the compact and large memory models, set the end of heap to
...
be the end of the current program's MCB, instead of 16 bytes earlier
git-svn-id: trunk@28442 -
2014-08-18 13:54:20 +00:00
Károly Balogh
6062f96ca1
AROS: enable some basic set of Packages to build with AROS
...
git-svn-id: trunk@28441 -
2014-08-18 13:01:46 +00:00
Károly Balogh
b5d559dce1
Amiga: fixed FileNameCasePreserving flag to true
...
git-svn-id: trunk@28440 -
2014-08-18 12:26:43 +00:00
Károly Balogh
74581a07af
AROS: assembler fixes
...
git-svn-id: trunk@28439 -
2014-08-18 11:25:55 +00:00
Károly Balogh
da7efb8607
AROS: regenerated Makefiles to support i386-aros
...
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
nickysn
9979aa702f
+ added the TP7-compatible pointer variables HeapOrg and HeapEnd, indicating,
...
respectively, the start and end of the tiny heap. Eventually they are also
going to be used for catching attempts to free memory that is outside the
heap.
git-svn-id: trunk@28437 -
2014-08-17 22:42:44 +00:00
Károly Balogh
e6017bceed
AROS: regenerated fpcmake.inc
...
git-svn-id: trunk@28434 -
2014-08-17 19:19:18 +00:00
Károly Balogh
1410838aa7
AROS: and also add the system info/target units which were forgotten in the previous commit
...
git-svn-id: trunk@28433 -
2014-08-17 18:36:57 +00:00
Károly Balogh
4431ba2c08
merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run.
...
git-svn-id: trunk@28432 -
2014-08-17 18:18:07 +00:00
pierre
4ffd60879a
Avoid error in html checker about non-encoded ampersand
...
git-svn-id: trunk@28430 -
2014-08-17 10:25:48 +00:00
pierre
fad718c6a6
Add 2.6.4 and 2.6.5 branches and fix fisplay of boolean test source options
...
git-svn-id: trunk@28429 -
2014-08-17 10:19:34 +00:00
nickysn
7986d0c2ca
* simplify RegisterTinyHeapBlock by calling InternalTinyFreeMem directly,
...
instead of FreeMem. We already do the alignments correctly, so going through
FreeMem is no longer necessary.
git-svn-id: trunk@28428 -
2014-08-16 22:51:06 +00:00
Károly Balogh
d72e46f199
Amiga: deprecated PasToC unit and added some lengthy comments about the reasons.
...
git-svn-id: trunk@28424 -
2014-08-16 17:39:01 +00:00
Károly Balogh
ccc9bc0941
m68k: plain 68000 also needs extra handling for large offsets
...
git-svn-id: trunk@28423 -
2014-08-16 15:14:34 +00:00
Károly Balogh
9b0bf91076
m68k: do not generate CLR instructions to memory references on plain 68k. there this instruction also causes reads from the address, which is slow and can have side effects.
...
git-svn-id: trunk@28422 -
2014-08-16 13:03:03 +00:00
Jonas Maebe
6a3907dfd6
- disabled i386 assembler implementations of md5/sha1 on Darwin, they fail
...
there
git-svn-id: trunk@28421 -
2014-08-16 12:43:59 +00:00
nickysn
2e0c40d33b
* TinyHeapAllocGranularity changed to SizeOf(TTinyHeapBlock). This fixes a bug
...
where the free blocks may become fragmented, even though all the memory has
been freed, following certain allocation patterns.
git-svn-id: trunk@28419 -
2014-08-15 22:13:23 +00:00
nickysn
902c25fafa
+ RegisterTinyHeapBlock: align the start address and size according to
...
TinyHeapAllocGranularity
git-svn-id: trunk@28418 -
2014-08-15 16:10:22 +00:00
nickysn
815bfe0dcf
+ tiny heap alloc granularity moved to a constant TinyHeapAllocGranularity
...
git-svn-id: trunk@28417 -
2014-08-15 15:22:51 +00:00
nickysn
14057ef438
* rm EndAddr from the TTinyHeapBlock structure. This:
...
1) fixes a bug, which causes the next TTinyHeapBlock to be overwritten after
freeing a memory block, allocated by GetMem(sizeof(pointer)). This bug was
exposed after r28391, but was present before that; this commit only made
the damage worse and, therefore, more visible.
2) brings the internal heap structure closer to the TP7 heap.
git-svn-id: trunk@28416 -
2014-08-15 00:33:33 +00:00
michael
7ceda16e13
* True and false differ on PG
...
git-svn-id: trunk@28408 -
2014-08-14 16:56:11 +00:00
michael
504da18b57
* Fix use of "
...
git-svn-id: trunk@28407 -
2014-08-14 16:53:51 +00:00
michael
10ed2e7838
* Fix use of "
...
git-svn-id: trunk@28406 -
2014-08-14 16:47:37 +00:00
michael
1d3aa63620
* Create transaction
...
git-svn-id: trunk@28405 -
2014-08-14 16:32:36 +00:00
marco
4aced18d94
* Patch by Bart Broersma to fix breakage over the years. Though this file is mostly obsolete. Mants #26575
...
git-svn-id: trunk@28402 -
2014-08-13 12:53:40 +00:00
nickysn
21246e973a
* TinyHeapMinBlock defined as sizeof(TTinyHeapBlock), as that's the smallest
...
free block actually supported
git-svn-id: trunk@28401 -
2014-08-13 08:44:53 +00:00
nickysn
e8c1a44068
* swapped the order of the Next and Size fields in TTinyHeapBlock, because that
...
brings it closer (but still not equal) to the TP7 heap's internal structure
git-svn-id: trunk@28391 -
2014-08-12 20:38:08 +00:00
Jonas Maebe
5e280b3131
* don't convert movs into (the non-existing) ldrs in do_spill_replace()
...
git-svn-id: trunk@28390 -
2014-08-12 20:14:24 +00:00
marco
d37a2e65ec
* *result_cint -> *result_int. Mantis #26583 Probably leftover of some int to cint replace.
...
git-svn-id: trunk@28385 -
2014-08-12 09:13:23 +00:00
marco
a03c9fbe8f
* remove strutils from the buildunit mantis #26582
...
git-svn-id: trunk@28384 -
2014-08-12 08:56:13 +00:00
lacak
56e83ce5dd
fcl-db: interbase: fix cases when client library is not loaded dynamically but link statically
...
git-svn-id: trunk@28383 -
2014-08-12 05:13:14 +00:00
florian
499dd078e3
+ automatically insert fma inlines into floating point code if possible and fastmath is activated
...
git-svn-id: trunk@28382 -
2014-08-11 20:50:21 +00:00
sergei
482e61dafa
* MIPS, TCpuAsmOptimizer.GetNextInstructionUsingReg: test that returned item is actually an instruction, because GetNextInstruction can sometimes stop on labels.
...
+ Try to eliminate register move after instructions that load from memory.
git-svn-id: trunk@28380 -
2014-08-10 21:31:13 +00:00
sergei
f1d1fd4f24
* Inserted explicit typecasts in order to prevent range check errors at some places where signed and unsigned types are assigned to each other (mostly MIPS-specific, but one was necessary in generic code).
...
git-svn-id: trunk@28379 -
2014-08-10 21:26:14 +00:00
michael
d368032132
* Test removed
...
git-svn-id: trunk@28362 -
2014-08-10 16:12:56 +00:00
michael
7f5bdbbf2f
* Test
...
git-svn-id: trunk@28361 -
2014-08-10 16:12:45 +00:00
masta
96915b3f0c
16bit Thumb is not able to use tst with an immediate value
...
r28315 introduced an arm optimization which requires
tst rX, #imm
to work. This is not available on 16bit thumb, I've disabled that
optimization on thumb for now.
git-svn-id: trunk@28360 -
2014-08-10 15:30:44 +00:00
michael
32f74d23f1
* Move to postgresql
...
git-svn-id: trunk@28359 -
2014-08-10 14:58:11 +00:00
nickysn
a61c775d29
+ enabled the huge (>64kb) heap support in the compact and large memory models
...
git-svn-id: trunk@28349 -
2014-08-08 23:32:12 +00:00
nickysn
b1144508a7
* fixed the far/huge data ifdefs in InitDosHeap
...
git-svn-id: trunk@28348 -
2014-08-08 21:44:19 +00:00
nickysn
5edbd1cd03
* fixed i8086 ifdef (should be ifdef cpui8086, not i8086, because that's the
...
rtl, not the compiler)
git-svn-id: trunk@28347 -
2014-08-08 21:37:17 +00:00
sergei
ee8fcc8bdb
* softfpu.pp: reverted r28318 and replaced it with a improved solution:
...
* Moved handling of 64-bit values > high(int64) to qword_to_float64, so that normalizeRoundAndPackFloat64 procedure stays unmodified compared to C source.
* Using "jamming" right shift instead of regular one, so the least significant bit is not dropped but participates in rounding.
* Take a shortcut for values with <= 53 significant bits, which are convertible into float64 exactly and do not need rounding.
git-svn-id: trunk@28346 -
2014-08-08 20:47:52 +00:00
marco
cb470da8d9
* alias some types to system.
...
git-svn-id: trunk@28345 -
2014-08-08 18:28:48 +00:00
masta
7e22bd53b6
Changed ARMs StrLdr2StrMov peephole optimizer look further ahead
...
StrLdr2StrMov now uses GetNextInstructionUsingRef to find an instruction
which uses the same Reference. In one of our internal testcases it
speeded up a function by 15% as fpc generated a lot of spilling.
git-svn-id: trunk@28344 -
2014-08-08 15:31:10 +00:00
masta
bfa85218fa
Introduce TCpuAsmOptimizer.GetNextInstructionUsingRef
...
It's the counterpart to GetNextInstructionUsingReg and finds the next
instruction to use the same reference. By default it stops searching
when hitting a store instructions to avoid aliasing issues.
git-svn-id: trunk@28343 -
2014-08-08 15:31:06 +00:00
masta
d1c5f89976
Make Next an Out-parameter in ARMs GetNextInstructionUsingReg
...
The input to Next is not used, reflect that properly.
git-svn-id: trunk@28342 -
2014-08-08 15:31:01 +00:00
reiniero
24b406aed7
+ fcl-db: SQlite3: accept more date/time formats:
...
YYYY-MM-DDTHH:MM
YYYY-MM-DDTHH:MM:SS
YYYY-MM-DDTHH:MM:SS.SSS
as defined in http://www.sqlite.org/lang_datefunc.html
Fixes mantis issue #26551
git-svn-id: trunk@28337 -
2014-08-08 11:24:17 +00:00