Commit Graph

58472 Commits

Author SHA1 Message Date
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
florian
c7b19e2fc9 * track used register better: if a deallocation is moved/removed, the used register may not be removed from the current register used register set
git-svn-id: trunk@44239 -
2020-02-23 18:24:31 +00:00
michael
46ab234886 * renamed nodejsfs to node.js
git-svn-id: trunk@44238 -
2020-02-23 13:02:48 +00:00
florian
af1a4c06c5 * fixed generic round(...) for large values based on a comment by Alexander Hofmann on fpc-devel
* extended test

git-svn-id: trunk@44235 -
2020-02-23 10:41:18 +00:00
florian
2acc6337d8 * debug statement removed
git-svn-id: trunk@44234 -
2020-02-22 22:38:36 +00:00
florian
4dff373fef * (modified) patch by J. Gareth Moreton: processor-aware MOVZX optimisation cleanup, resolves #36687
git-svn-id: trunk@44233 -
2020-02-22 18:37:38 +00:00
Jonas Maebe
dce9a62eb4 * fixed ifdef after upgrade to 10.10 headers (patch by Hans Luijten,
mantis #36420)

git-svn-id: trunk@44231 -
2020-02-22 16:22:13 +00:00
florian
c146aecc01 * throw an error if the forward interface type and the actual interface type do not match, resolves #36720
git-svn-id: trunk@44230 -
2020-02-21 20:35:27 +00:00
florian
66aa2e1416 * fixed tests for architectures with FPC_COMP_IS_INT64 defined
git-svn-id: trunk@44222 -
2020-02-20 20:51:46 +00:00
joost
7e952bf5c1 * Fixed escaping of characters inside .tar archives.
Solves an error-message in the install.sh script

git-svn-id: trunk@44221 -
2020-02-20 16:13:31 +00:00
Mattias Gaertner
1bf392a726 pas2js: typeinfo(specialization)
git-svn-id: trunk@44220 -
2020-02-20 10:35:44 +00:00
Mattias Gaertner
b802ee6450 pas2js: not storing specialized elements
git-svn-id: trunk@44219 -
2020-02-20 09:29:10 +00:00
florian
49f789b92a * reverted accidently committed changes again
git-svn-id: trunk@44218 -
2020-02-19 21:12:23 +00:00
florian
bb6028a275 * AArch64: the PIC code needs also more registers, so use the same ifdefs as arm and sparc
git-svn-id: trunk@44217 -
2020-02-19 21:10:20 +00:00
florian
95e8992e2f + AArch64: profiler support for aarch64-linux
git-svn-id: trunk@44216 -
2020-02-19 21:10:19 +00:00
pierre
346118187b Fix linking error, in which libc.so.6 is not found on aarch64-linux when libdl.so is loaded, by adding appropriate directory
git-svn-id: trunk@44215 -
2020-02-19 15:33:11 +00:00
florian
200de64085 * aarch64 suffers also from the limited tan precision of the softfpu
git-svn-id: trunk@44212 -
2020-02-18 21:37:06 +00:00
marco
5d0c9cee9d * fix mantis #36708, take care of high word buttons variable.
git-svn-id: trunk@44210 -
2020-02-18 15:01:07 +00:00
Mattias Gaertner
5ef735ca11 fcl-passrc: resolver: check proc args procedural type by signature in mode objfpc
git-svn-id: trunk@44208 -
2020-02-18 10:16:03 +00:00
Mattias Gaertner
06a6bfd981 fcl-passrc: on incompatible procedural arg types write params
git-svn-id: trunk@44207 -
2020-02-18 09:50:47 +00:00
florian
2214677656 * tests need -CE
git-svn-id: trunk@44206 -
2020-02-17 20:36:35 +00:00
florian
3099e10f41 * revert accidently committed code
git-svn-id: trunk@44205 -
2020-02-17 20:12:53 +00:00
florian
e50c4f6373 + AAarch64: optimize divisions by constant
git-svn-id: trunk@44204 -
2020-02-17 20:11:32 +00:00
Mattias Gaertner
f05b51d7d8 fcl-passrc: forbid type reference to TGeneric.Something
git-svn-id: trunk@44203 -
2020-02-17 12:15:56 +00:00
Mattias Gaertner
40a975b803 fcl-passrc: fixed alias type of member type
git-svn-id: trunk@44202 -
2020-02-17 11:40:50 +00:00
Mattias Gaertner
8013a778f9 fcl-passrc: resolver: show params of incompatible procedural types
git-svn-id: trunk@44201 -
2020-02-17 11:21:29 +00:00
ondrej
a5ed5bd942 TFileStream: use SysErrorMessage in exception message if available
git-svn-id: trunk@44200 -
2020-02-17 08:35:15 +00:00
florian
93521ae8e8 * fold also pointer additions/subtractions
git-svn-id: trunk@44199 -
2020-02-16 20:14:28 +00:00
florian
17158c3587 * mmap2 expects that offset is divided by 4096
git-svn-id: trunk@44198 -
2020-02-16 20:14:28 +00:00
florian
27e89e07a3 * in case a 32x32 -> 64 multiplication is converted into shl, the type casts need to be restored
git-svn-id: trunk@44197 -
2020-02-16 20:14:27 +00:00
florian
9989d408fd * AArch64 and i386: omit exit stackframe, same as r44191 for x86-64
git-svn-id: trunk@44196 -
2020-02-16 20:14:26 +00:00
Jonas Maebe
3188dc18d4 * fixed tdel1/2 tests again for AArch64/LLVM
git-svn-id: trunk@44195 -
2020-02-16 16:58:25 +00:00
florian
88836b467e * (V)MOVA*(V)MOVS*2(V)MOVS* 1 optimization
git-svn-id: trunk@44194 -
2020-02-16 16:43:26 +00:00
joost
cefc90f87c * Include ssl-support in fppkg
git-svn-id: trunk@44193 -
2020-02-16 15:11:25 +00:00
florian
42324235bd + CallRet2Call optimization
git-svn-id: trunk@44192 -
2020-02-16 13:15:12 +00:00
florian
ef3155c2ef * there is no exit stackframe needed if a subroutine never returns
git-svn-id: trunk@44191 -
2020-02-16 13:06:19 +00:00