Commit Graph

59243 Commits

Author SHA1 Message Date
svenbarth
e82b9c3b2e * disable the new FindResource(Ex) overloads for Win16 for now (the one with PChar is disabled as well); this will need to be revisited once Win16 receives proper resource support
git-svn-id: trunk@45489 -
2020-05-24 19:43:36 +00:00
florian
84a1f614d9 * fix several double ;
git-svn-id: trunk@45488 -
2020-05-24 17:52:09 +00:00
florian
afb68dbcf3 * factored out OptPass1VPXor
git-svn-id: trunk@45487 -
2020-05-24 17:52:07 +00:00
florian
88c98a5741 * improve copy_avx gencopy mode
git-svn-id: trunk@45486 -
2020-05-24 17:52:07 +00:00
florian
93eb40b05c * create vpxor instead of pxor in avx mode
git-svn-id: trunk@45485 -
2020-05-24 17:52:06 +00:00
florian
82a3877126 + x86: track use of full ymm registers and generate vzeroupper if needed
git-svn-id: trunk@45484 -
2020-05-24 17:52:05 +00:00
florian
78381bd1ae * x86 has to use newalignment as well
git-svn-id: trunk@45483 -
2020-05-24 13:56:42 +00:00
florian
3d81c8e51d * re-activate copy_mm: using it instead of movs might reduce register pressure
git-svn-id: trunk@45482 -
2020-05-24 13:56:41 +00:00
florian
0bce44e342 * compilation on i386 fixed
git-svn-id: trunk@45480 -
2020-05-23 21:33:14 +00:00
svenbarth
1d4bbcef75 + add additional overloads for FindResource and FindResourceEx so that mixtures of AnsiString and MAKEINTRESOURCE types as well as names can be used
+ added test for ReadComponentRes (which called the wrong FindResource before)

git-svn-id: trunk@45479 -
2020-05-23 21:24:01 +00:00
Jonas Maebe
aa243faab8 * do not load unused parameters, as their localloc has not been set (and
there is no point in doing so if it were)
   o fixes compilation of RTL with LLVM/AArch64

git-svn-id: trunk@45478 -
2020-05-23 19:03:14 +00:00
florian
809fb83334 * adapt optimizer to handle push/pop for stack alignment
* adapt test

git-svn-id: trunk@45477 -
2020-05-23 17:50:14 +00:00
florian
8f0a3cfce7 * x86-64: adjust stack by push/pop if possible
git-svn-id: trunk@45476 -
2020-05-23 17:50:13 +00:00
Károly Balogh
d2879f5bb9 tosunits: fixed the palette to be ST only (9 bits) in the example picture, this is a bug in GraphX2 which was used to convert the picture to DEGAS format
git-svn-id: trunk@45475 -
2020-05-23 14:42:31 +00:00
Károly Balogh
9f80b11c5d tosunits: added another example which shows a DEGAS format picture
git-svn-id: trunk@45474 -
2020-05-23 14:26:41 +00:00
Mattias Gaertner
766ccac8df fcl-passrc: try except on do else end without semicolon at do statement
git-svn-id: trunk@45473 -
2020-05-23 13:18:38 +00:00
Mattias Gaertner
e0d2651a61 fcl-passrc: added tkOtherwise in all mdoes except ISO and ExtPas
git-svn-id: trunk@45472 -
2020-05-23 13:09:16 +00:00
Mattias Gaertner
cfcfeaaf42 pas2js: fixed typo
git-svn-id: trunk@45471 -
2020-05-23 12:38:29 +00:00
Károly Balogh
6cc818cbe3 m68k: avoid more vlink warnings regarding changed section attributes, when the target system has no write-protected sections
git-svn-id: trunk@45470 -
2020-05-23 12:13:30 +00:00
Károly Balogh
58af742f3a m68k: atari syscalls might also destroy D2 and A2
git-svn-id: trunk@45469 -
2020-05-23 11:13:07 +00:00
Károly Balogh
60d4363f47 tosunits: added some more xbios calls
git-svn-id: trunk@45468 -
2020-05-23 02:25:52 +00:00
florian
e76f9e5b36 * patch by Christo Crause: fix register search on xtensa, resolves #37121
git-svn-id: trunk@45467 -
2020-05-22 20:54:45 +00:00
Jonas Maebe
bc1b1e5d1f * added missing method declarations for AOPowerManager.InnerWakeLock class
git-svn-id: trunk@45466 -
2020-05-22 13:11:56 +00:00
Jonas Maebe
5be84e8079 * replaced custom packed record with tmethod
git-svn-id: trunk@45465 -
2020-05-22 13:11:52 +00:00
svenbarth
d05997db74 * fix compilation after r45461
git-svn-id: trunk@45464 -
2020-05-22 12:45:26 +00:00
svenbarth
90c1bf2e12 * add tests\test\unit\types directory to list of tested directories
git-svn-id: trunk@45463 -
2020-05-22 12:45:20 +00:00
michael
4247c8b1d0 * Test for otherwise without semicolon before it (laz sources)
git-svn-id: trunk@45462 -
2020-05-22 12:44:34 +00:00
michael
b1e78f1e75 * Add missing calling conventions
git-svn-id: trunk@45461 -
2020-05-22 12:10:06 +00:00
michael
4dcae91474 * Trim content of directives
git-svn-id: trunk@45459 -
2020-05-22 05:49:59 +00:00
florian
d2d2904d78 * make more use of is_typeparam
git-svn-id: trunk@45458 -
2020-05-21 18:40:59 +00:00
florian
51da470757 * constrained type parameters are not undefined defs, resolves #37107
git-svn-id: trunk@45457 -
2020-05-21 18:19:08 +00:00
Jonas Maebe
4caa471a24 * implemented a_load_undefined_cgpara for LLVM, fixes LLVM code generator
after the changes to optimize unused parentfp parameters

git-svn-id: trunk@45456 -
2020-05-21 10:56:39 +00:00
marcus
571095773a Amiga: optimized video unit drawing
git-svn-id: trunk@45455 -
2020-05-21 10:33:17 +00:00
yury
627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters.
* Added the tprocdef.parentfpsym property. Set parentfpsym.varstate to vs_read instead of using the pio_needs_parentfp flag.
* Replaced tcgcallparanode.push_zero_sized_value_para by tparamanager.has_strict_proc_signature.

git-svn-id: trunk@45454 -
2020-05-21 09:36:40 +00:00
michael
a409f63a55 * Fix use of defines
git-svn-id: trunk@45453 -
2020-05-21 08:59:56 +00:00
nickysn
56632b720c + Z80: handle the flags register in TAoptBaseCpu.RegModifiedByInstruction
git-svn-id: trunk@45452 -
2020-05-20 21:21:26 +00:00
nickysn
88b6bbe6cc * compilation fixed after r45450
git-svn-id: trunk@45451 -
2020-05-20 21:02:46 +00:00
nickysn
cc47a49c81 + Z80: handle all instructions that modify registers, that are not an operand in TAoptBaseCpu.RegModifiedByInstruction
git-svn-id: trunk@45450 -
2020-05-20 20:57:59 +00:00
nickysn
2507c1ace6 * Reg1ReadDependsOnReg2 moved to TAoptBaseCpu
* use Reg1ReadDependsOnReg2 in TAoptBaseCpu.RegModifiedByInstruction to handle properly Z80 subregisters

git-svn-id: trunk@45449 -
2020-05-20 20:20:10 +00:00
florian
4f707c3d7e * patch by Karl-Michael Schindler to update the German help files, resolves #37122
git-svn-id: trunk@45448 -
2020-05-20 20:10:15 +00:00
michael
c3218e19c7 * Fix for samesite
git-svn-id: trunk@45447 -
2020-05-20 09:36:53 +00:00
michael
3c75ae82d2 * Add support for SameSite attribute of cookie (bug ID 0037115)
git-svn-id: trunk@45446 -
2020-05-20 09:34:44 +00:00
Mattias Gaertner
fa267f90a6 pas2js: doc about await
git-svn-id: trunk@45445 -
2020-05-20 08:11:52 +00:00
michael
74e65f77bc * Fix bug ID #37118
git-svn-id: trunk@45444 -
2020-05-20 07:32:09 +00:00
Mattias Gaertner
18fdc0675e pas2js: function await(atype; p:TJSPromise):atype
git-svn-id: trunk@45443 -
2020-05-20 07:28:42 +00:00
Mattias Gaertner
b92ffac29a pas2js: built-in function await(const expr: T): T
git-svn-id: trunk@45442 -
2020-05-19 21:53:46 +00:00
florian
15baa272fe * exceptions are side effects which must be considered in boolean expressions
git-svn-id: trunk@45441 -
2020-05-19 20:34:41 +00:00
michael
5cc7622161 * Uncomment SO_REUSEPORT
git-svn-id: trunk@45440 -
2020-05-19 16:56:57 +00:00
yury
9d1c814387 * Added the thlcgobj.a_load_undefined_cgpara() method to pass an undefined value as a parameter to a routine. The generic version passes the 0/nil value if the parameter's location is not a register.
* Use a_load_undefined_cgpara() to load values for unused parameters.

git-svn-id: trunk@45439 -
2020-05-19 14:14:16 +00:00
yury
30e61067a0 * It is needed to mark $parentfp as used for all targets.
git-svn-id: trunk@45438 -
2020-05-19 14:09:54 +00:00