Commit Graph

58096 Commits

Author SHA1 Message Date
michael
abda57b3b9 * SAX example
git-svn-id: trunk@44293 -
2020-03-13 08:05:42 +00:00
Mattias Gaertner
e9ac6799a6 fcl-passrc: resolver: test helper from last unit
git-svn-id: trunk@44292 -
2020-03-12 13:33:39 +00:00
pierre
27d6dba699 Add explicit dependency of AVR specific unit avrsim on consoleio and heapmgr units
git-svn-id: trunk@44291 -
2020-03-12 10:53:56 +00:00
marco
f56e971958 * fix for bug #36722. Assigning result of compare(w)str to shortint risks overflow if length difference>=128.
Add sign() calls to fix this.

git-svn-id: trunk@44290 -
2020-03-11 20:08:26 +00:00
marco
7b4ef925f0 * attempt at crt1 translation to get freebsd 12 running.
git-svn-id: trunk@44289 -
2020-03-08 16:37:30 +00:00
joost
db267dcb63 * Parse the keywords in fppkg-repositories
git-svn-id: trunk@44288 -
2020-03-08 15:11:31 +00:00
florian
aca9727418 + OptimizeForLoop: convert for-loops into zero-based backward for-loops if possible, for most architectures, this results in simpler code
git-svn-id: trunk@44287 -
2020-03-08 14:30:59 +00:00
michael
b1feaa9458 * Allow to get/set config items
git-svn-id: trunk@44286 -
2020-03-08 13:55:29 +00:00
michael
bc48517a36 * Add category, support tags for package
git-svn-id: trunk@44285 -
2020-03-08 13:45:41 +00:00
marco
96a712f7ff * add FreebSD to weaklinking targets.
git-svn-id: trunk@44283 -
2020-03-07 17:59:05 +00:00
michael
ce3a9ee7b2 * Fix bug #36758, patch from Marcin Wiazowski to always use writebuffer
git-svn-id: trunk@44282 -
2020-03-07 15:00:56 +00:00
michael
a9d508f117 * Allow setting compiler options in the fppkg config file
git-svn-id: trunk@44281 -
2020-03-07 14:13:51 +00:00
ondrej
c49dbb9d9c fcl-db: fix memory corruption in bufdataset. Issue #36747
git-svn-id: trunk@44280 -
2020-03-07 13:57:26 +00:00
michael
a880367b37 * Show message about creating fppkg/conf.d directory
git-svn-id: trunk@44279 -
2020-03-07 11:40:32 +00:00
marco
6a1d6ce591 * fix _win64->win64 also for jedi, mantis #36751
git-svn-id: trunk@44278 -
2020-03-06 22:29:27 +00:00
marco
af3fbcbb65 * patch by marcin mantis 36765. Avoid double free, and add some more nilling after free to avoid similar cases. S
git-svn-id: trunk@44277 -
2020-03-06 22:16:27 +00:00
marco
bead4185cd * in decompress stream use eDEcompresserror, patch by Marcin mantis #36757
git-svn-id: trunk@44276 -
2020-03-06 22:02:23 +00:00
marco
45d31dec21 * some const added, from Serbod github
git-svn-id: trunk@44275 -
2020-03-06 21:46:07 +00:00
Jeppe Johansen
c20b27ede9 Add most SSE instructions as intrinsics.
git-svn-id: trunk@44274 -
2020-03-06 21:34:22 +00:00
marco
61c405f942 * more abi numbers from test VMs
git-svn-id: trunk@44273 -
2020-03-06 17:26:06 +00:00
Jeppe Johansen
135a88c888 movhlps/movlhps only take xmm registers.
Handle spilling of SSE registers.

git-svn-id: trunk@44272 -
2020-03-06 17:19:51 +00:00
florian
6cac8cc77b * fix Peephole Optimization: Cmpcc2Testcc - condition AE/NB/NC/NO --> Always optimization
git-svn-id: trunk@44271 -
2020-03-06 16:16:38 +00:00
florian
f8339a43ea * do not do full boolean evaluation on LOC_FLAGS
git-svn-id: trunk@44270 -
2020-03-06 16:16:37 +00:00
florian
424c8a0ac0 * simple record accesses have not side effects
git-svn-id: trunk@44269 -
2020-03-06 16:16:36 +00:00
florian
8f0376c888 + JccAdd2SetccAdd optimization
* take care of C_C/C_NC in JccAdd/Inc/Dec2(Cmc)Adc/Sbb

git-svn-id: trunk@44268 -
2020-03-06 15:47:18 +00:00
florian
bc3131688a * fix precedence of IS operator, resolves #35909
git-svn-id: trunk@44266 -
2020-03-06 10:10:58 +00:00
marco
fc49266749 * comment with FreeBSD11 tag value
git-svn-id: trunk@44265 -
2020-03-06 09:44:02 +00:00
florian
cea7723080 * more use of RemoveCurrentP(p)
git-svn-id: trunk@44264 -
2020-03-05 21:49:36 +00:00
joost
113ed4f0e7 * Missing file added to fpmake.pp
git-svn-id: trunk@44262 -
2020-03-03 22:54:57 +00:00
florian
9819df6fe1 * calculate complexity of an rtti node correctly
git-svn-id: trunk@44261 -
2020-03-03 21:29:52 +00:00
marco
d74abf8575 * let win64 also define _win32. Some function prototypes are under that
ifdef, and the only ifdef _win64 is first.

git-svn-id: trunk@44260 -
2020-03-03 11:10:29 +00:00
marco
1b1df0c026 * _win64 fixes. Commctrl still has it but has now the correct define.
This was because commctrl was mostly developed using a specific
     converter that was continously updated and rerun.
 * nb30 simply replaced by "win64"

git-svn-id: trunk@44259 -
2020-03-03 11:08:27 +00:00
marco
cf0bf230c5 * ifdef _win64 -> win64. Patch by Marcin. Possibly headers converted
when windows 64-bit existed, but without direct usage knowledge.
   Should be in final 3.2.0

git-svn-id: trunk@44258 -
2020-03-03 11:04:54 +00:00
svenbarth
97c8464b11 * fix for Mantis #36738: when copying a record using its copy operator we assume that we've copied the whole record; this way managed records inside non-managed records are handled correctly
+ added (adjusted) test

git-svn-id: trunk@44257 -
2020-03-02 22:04:45 +00:00
svenbarth
9c088bda6a * fix for Mantis #36706: only link a library against the dynamic loader if we're not linking against the C library anyway
Note: I did not yet find a case where we *do* need to link a library against the loader; this will have to be investigated further, but for 3.2.0 this is safest

git-svn-id: trunk@44256 -
2020-03-02 22:04:36 +00:00
florian
6f825baa6f * second patch by Evgeniy Shtrenyov for #36737 to improve backward compatibility
git-svn-id: trunk@44255 -
2020-03-02 21:06:18 +00:00
florian
f42b0bf6f5 * fixed JccAdd/Inc/Dec2*Adc/Sbb optimizations
git-svn-id: trunk@44254 -
2020-03-01 21:21:18 +00:00
florian
34be9e4643 * CallRet2* optimization may not misalign the stack, reported by C Western on fpc-devel
git-svn-id: trunk@44253 -
2020-03-01 09:37:09 +00:00
florian
ac974c9ab7 * improve is_loop_invariant for load nodes
git-svn-id: trunk@44252 -
2020-02-29 21:15:15 +00:00
florian
507fc9c1ff + take care of addn and subn in is_loop_invariant
git-svn-id: trunk@44251 -
2020-02-28 20:42:54 +00:00
svenbarth
3cecec0b24 * fix compilation of simpleserver on non-Unix systems
git-svn-id: trunk@44250 -
2020-02-28 16:29:16 +00:00
svenbarth
8003f675c5 + add test for already fixed Mantis #24283
git-svn-id: trunk@44249 -
2020-02-28 16:29:14 +00:00
florian
9d7d146ddc * patch by Evgeniy to overcome fp.ini line length limit for help files, resolves #36737
git-svn-id: trunk@44248 -
2020-02-27 20:48:54 +00:00
pierre
fb8f4ceca5 * Fix sourcezip make target, correcting mixed case input file names.
git-svn-id: trunk@44246 -
2020-02-27 07:32:00 +00:00
florian
80c0fc3c92 * several fixes to get better reg. allocations in the arm assembler optimizer
git-svn-id: trunk@44245 -
2020-02-26 20:59:35 +00:00
florian
62129db44c * ARM: look further ahead when optimizing mov rX, yyyy
* ARM: fix Mov0 and MovMLA2MUL optimizations

git-svn-id: trunk@44244 -
2020-02-25 21:28:53 +00:00
florian
9132b54b3b + ARM: MovMLA2MUL optimization
git-svn-id: trunk@44243 -
2020-02-25 21:28:52 +00:00
florian
684ef3008f * ARM: optimize mov rX,#0 .... mul/mla/umull ...,rX,...
git-svn-id: trunk@44242 -
2020-02-24 21:10:55 +00:00
florian
9bdfbc2473 + GetNextInstructionUsingRegTrackingUse
* better MovAnd2Mov optimization
  + TOptsToCheck to track expensive optimizations, needs more work

git-svn-id: trunk@44241 -
2020-02-23 21:47:47 +00:00
florian
a357359971 * LeaCallLeaRet2Jmp is done in TX86AsmOptimizer.PostPeepholeOptLea
git-svn-id: trunk@44240 -
2020-02-23 21:21:40 +00:00