Commit Graph

57392 Commits

Author SHA1 Message Date
michael
51b1f6a47c * Fix case where table streams are nil
git-svn-id: trunk@43355 -
2019-11-02 11:17:37 +00:00
michael
078534472b * Patch from Michal Gawrycki to handle duplicating strings (bug ID 36243)
git-svn-id: trunk@43354 -
2019-11-02 10:28:27 +00:00
michael
30bc217d55 * Fix bug ID #0036246, delphi compatibility property
git-svn-id: trunk@43353 -
2019-11-02 10:25:42 +00:00
florian
ae04e5d7f0 * avr: apply LdiOp2Opi optimization also to and and sub
git-svn-id: trunk@43352 -
2019-11-01 18:39:18 +00:00
florian
828e961f3d * remove unused constants
git-svn-id: trunk@43351 -
2019-11-01 18:39:17 +00:00
florian
701848889e * avr: help the compiler with constant loading to avoid ie 200309041
git-svn-id: trunk@43350 -
2019-11-01 18:39:16 +00:00
florian
e8a48be3bc * avr: more precise execution weigth for shift loops
git-svn-id: trunk@43349 -
2019-11-01 18:39:15 +00:00
florian
f61207f1cc * avr directly encodes constant shifts of 64 bit values
git-svn-id: trunk@43348 -
2019-11-01 18:39:15 +00:00
florian
4e33889a29 * cleanup tshlshrnode.pass_1
git-svn-id: trunk@43347 -
2019-11-01 18:39:14 +00:00
svenbarth
fdeaacac21 * fix for Mantis #36223: when parsing a helper type its extendeddef might be Nil
+ added test

git-svn-id: trunk@43346 -
2019-11-01 15:02:31 +00:00
svenbarth
f481587bee * fix compilation on PE/COFF based systems with GNU AS as there the progbits are not supported
git-svn-id: trunk@43345 -
2019-11-01 13:27:29 +00:00
florian
e19eff1332 * also type casts to booleans benefit if unneeded type widenings are removed
git-svn-id: trunk@43344 -
2019-11-01 09:52:37 +00:00
florian
cb67577002 * fix length(<dyn. type>)=0 optimization, resolves #36215
git-svn-id: trunk@43343 -
2019-10-31 21:29:41 +00:00
florian
3b1903b430 * simplified fpc_mul_qword so it compiles again on avr, fixes #36236 but does not solve the root of the problem
git-svn-id: trunk@43342 -
2019-10-31 21:02:23 +00:00
marco
480da24d4d * makefile fixes by Alfred, mantis #36237
git-svn-id: trunk@43341 -
2019-10-31 12:11:45 +00:00
florian
172a4a999b + MovMov2Mov 6 and MovMov2Mov 7 optimization
git-svn-id: trunk@43339 -
2019-10-30 22:39:13 +00:00
florian
2bcf1b7f59 * fptime works now usefully on unix systems
+ support -n <number> to run the command <number> times
  + display average runtime when -n is passed

git-svn-id: trunk@43338 -
2019-10-30 20:07:28 +00:00
florian
59d300fc6e * optimize TAOptBase.SuperRegistersEqual
git-svn-id: trunk@43337 -
2019-10-30 20:07:27 +00:00
florian
cfec725195 * clean up TX86AsmOptimizer.OptPass1MOV
git-svn-id: trunk@43336 -
2019-10-30 20:07:26 +00:00
ondrej
13641eb1cf fcl-image: canvas AllocateResources: propagate exceptions to be able to properly handle (e.g. log) them
git-svn-id: trunk@43335 -
2019-10-30 16:15:30 +00:00
ondrej
7c661e9d0d fcl-image: do not load freetype DLL in initialization, it is loaded when needed in ftfont.pp InitEngine
git-svn-id: trunk@43334 -
2019-10-30 16:09:27 +00:00
Mattias Gaertner
c92340af39 pastojs: typeinfo forward external class
git-svn-id: trunk@43333 -
2019-10-30 12:16:31 +00:00
Mattias Gaertner
2b5c904b2d pastojs: less hints
git-svn-id: trunk@43332 -
2019-10-30 11:59:07 +00:00
michael
3518f456a4 * Fix warning about unimplemented abstract method
git-svn-id: trunk@43331 -
2019-10-30 09:04:54 +00:00
michael
c35331dc57 * Fix TNoResources abstract methods
git-svn-id: trunk@43330 -
2019-10-30 08:57:48 +00:00
Mattias Gaertner
7a8c66d0b1 pastojs: fixed pcu canonical class-of
git-svn-id: trunk@43329 -
2019-10-29 18:29:57 +00:00
Mattias Gaertner
b2d9a8361c pastojs: started pcu srcmap
git-svn-id: trunk@43328 -
2019-10-29 18:29:22 +00:00
Mattias Gaertner
4c6b5dc3ad fcl-js: fixed jssrcmap load xssi header
git-svn-id: trunk@43327 -
2019-10-29 18:27:58 +00:00
Mattias Gaertner
5ea4233ca4 fcl-passrc: varargs of type
git-svn-id: trunk@43326 -
2019-10-29 14:30:20 +00:00
Mattias Gaertner
e64ea172c2 fcl-passrc: varargs of type
git-svn-id: trunk@43325 -
2019-10-29 14:27:15 +00:00
marco
f7721cadcc * fix for mantis #36229, off by one in bounds check. Only affects invalid input though.
git-svn-id: trunk@43324 -
2019-10-29 13:44:24 +00:00
Mattias Gaertner
70ed2470dc pastojs: typeinfo for external classes
git-svn-id: trunk@43323 -
2019-10-27 20:51:31 +00:00
Mattias Gaertner
51998ca276 fcl-passrc: resolver: generic type overload
git-svn-id: trunk@43322 -
2019-10-27 20:49:43 +00:00
Mattias Gaertner
827c5ad389 fcl-passrc: fixed foreach TAliasType.Expr
git-svn-id: trunk@43321 -
2019-10-27 20:49:13 +00:00
michael
0e70a6d900 * Add as="script" attribute to link, to silence warning in chrome
git-svn-id: trunk@43320 -
2019-10-27 19:39:49 +00:00
florian
b7f58dd8c8 * load nodes for variables in registers do not generated instructions, so their complexity is zero
git-svn-id: trunk@43319 -
2019-10-27 16:53:26 +00:00
michael
9259c948be * Add support for resources
git-svn-id: trunk@43318 -
2019-10-27 13:14:24 +00:00
michael
71b6573e41 * HTML/JS Resource support
git-svn-id: trunk@43317 -
2019-10-27 13:08:44 +00:00
michael
1dbfd85a20 * Resource $R directive support
git-svn-id: trunk@43316 -
2019-10-27 13:06:59 +00:00
florian
c7fb1b8db7 * update dependencies of sysutils
git-svn-id: trunk@43315 -
2019-10-27 12:45:20 +00:00
florian
31e5b2d9a4 * more precise estimation of subscript node complexity
git-svn-id: trunk@43314 -
2019-10-27 12:40:08 +00:00
Károly Balogh
421b06affe morphos: in SDK 3.14, the binutils is finally upgraded to 2.32 (from 2.9.1), which makes section smartlinking working with binutils, and also has finally properly working stabs relocations for lineinfo, etc. so it's the default again both cross and native compilations
git-svn-id: trunk@43313 -
2019-10-26 22:24:00 +00:00
Jonas Maebe
6483b3f5e3 * fixed opt-in sysroot substitution again, renamed the three-argument version
TSearchPathList.AddPath() to AddLibraryPath() to make it clear it's only
    to be used for adding library search paths (and replaced one case where
    it was used for a source file search path with a call to the
    two-argument version)
  * also added some missing '=' prefixes to built-in library search paths,
    and fixed wrong DirectoryExists checks in t_linux in case of using
    a sysroot, cross-compiling or linking on target

git-svn-id: trunk@43312 -
2019-10-26 13:48:30 +00:00
florian
cc703a9c59 + include -Avasm into the help screen
git-svn-id: trunk@43311 -
2019-10-26 08:37:20 +00:00
Mattias Gaertner
acc72f01a1 fcl-passrc: useanalyzer: do not export resourcestrings
git-svn-id: trunk@43310 -
2019-10-25 09:35:45 +00:00
pierre
2d20151446 Change parent class of trv32aatreader to trvattreader
git-svn-id: trunk@43309 -
2019-10-24 15:28:47 +00:00
pierre
7e5bf5a9fb Fix compilation error for i8086 cpu target
git-svn-id: trunk@43308 -
2019-10-24 07:03:14 +00:00
florian
fa9c7a92c7 -- Zusammenführen von r42725 bis r43306 in ».«:
A    tests/webtbs/tw32219.pp
U    tests/utils/avx/avxopcodes.pas
U    tests/utils/avx/asmtestgenerator.pas
U    compiler/i386/i386tab.inc
U    compiler/i386/i386nop.inc
U    compiler/i8086/i8086tab.inc
U    compiler/i8086/i8086nop.inc
U    compiler/x86_64/x8664tab.inc
U    compiler/x86_64/x8664nop.inc
U    compiler/x86/aasmcpu.pas
U    compiler/x86/x86ins.dat
U    compiler/x86/rax86.pas
-- Aufzeichnung der Informationen für Zusammenführung von r42706 bis r43306 in ».«:
 U   .

git-svn-id: trunk@43307 -
2019-10-23 18:17:50 +00:00
pierre
5bfebeea4e Avoid GPF if currPath is empty in AddPath method, as this is accepted and handled later
git-svn-id: trunk@43306 -
2019-10-23 10:39:49 +00:00
pierre
d80734b412 Completely disable Round functions if FPUNONE is defined, to fix avr builds without flaot support
git-svn-id: trunk@43305 -
2019-10-23 06:38:10 +00:00