Commit Graph

69759 Commits

Author SHA1 Message Date
Michaël Van Canneyt
3ed000f801 * Handle dictionary better, use actual constructor 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
c4165a67a7 * Constructor 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
6a7524418a * Create objects directly 2024-04-27 18:31:29 +02:00
florian
1de3aba4e3 * few types fixed 2024-04-26 22:54:27 +02:00
J. Gareth "Curious Kit" Moreton
17b7782929 * i386: Fixed issue where the peephole optimizer entered an infinite loop when building for CPUs older than Pentium II 2024-04-26 19:08:00 +00:00
Rika Ichinose
0655b342d4 Shorter IndexByte_Plain. 2024-04-26 18:35:47 +00:00
Michaël Van Canneyt
20c95f0455 Fix tests 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
d74f81fda8 * Remove unqualified string type, use UTF8 string or Unicode string 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
5dc62fae3b * Add create_object method 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
5c9186a395 * Sample unit containing all browser apis 2024-04-26 15:11:28 +02:00
florian
fc6d6c123d * more debug statments removed 2024-04-25 22:50:38 +02:00
florian
ab66440e76 * accidently committed debug statement removed 2024-04-25 22:47:17 +02:00
florian
51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 2024-04-25 22:12:31 +02:00
Pierre Muller
a5cb0b6179 Remove SUBARCH refering to non-existing units for arm-freertos target 2024-04-25 12:17:19 +00:00
Pierre Muller
4b5e5f0ddb Remove obsolete/unused rules inside rtl/freertos/Makefile.fpc 2024-04-25 12:13:19 +00:00
Pierre Muller
d7eef9c3ca Add heapmgr and consoleio dependency for all freertos CPU specific units 2024-04-25 12:02:37 +00:00
Michaël Van Canneyt
0d375c638c * not automatically committed... 2024-04-25 13:56:56 +02:00
Michaël Van Canneyt
1da241c09c * Add wasm-job for webassembly 2024-04-25 11:26:40 +02:00
Sven/Sarah Barth
7f03fb6966 * revert the changes from b0d61558e3, as 61397d40ae fixes it more correctly 2024-04-24 23:13:57 +02:00
Sven/Sarah Barth
61397d40ae * ensure that Insert() of a single element into a dynamic array is typechecked in a way that the user is notified of errors
+ added test
2024-04-24 23:13:36 +02:00
florian
2d1fba1fa1 * disable (type ...), it did never work and there are not test, resolves #40562 2024-04-24 22:51:11 +02:00
Michaël Van Canneyt
328ff5f0c3 * Fix callback interface treatment 2024-04-24 16:38:26 +02:00
Michaël Van Canneyt
55dee03ad0 * Now able to generate code for all browser APIs 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
496a86501a * Fix compiler warnings 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
0a4f5558be * Resolve all identifiers 2024-04-23 18:31:35 +02:00
florian
2e86cdb620 * allow swapping of operands for three operand instructions if they are commutative 2024-04-22 22:25:37 +02:00
Rika Ichinose
b87e22151a Use non-conservative Fill thresholds. 2024-04-22 19:37:36 +00:00
florian
c3a3cfe80f * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 2024-04-21 19:26:01 +02:00
J. Gareth "Curious Kit" Moreton
88ab9576b1 * a64: Added "ABS" and "CTZ" mnemonics (CSSC instructions) 2024-04-21 09:06:16 +00:00
J. Gareth "Curious Kit" Moreton
1ba93085f7 * a64: Added DOTPROD and PAUTH support flags to relevant instruction sets (v8.4+ and v8.3+ respectively) 2024-04-21 09:06:16 +00:00
J. Gareth "Curious Kit" Moreton
bba4edb6d0 * a64: ARMv8.7 through ARMv8.9 have been added as AArch64 CPU types, along with support for the CSSC extension. 2024-04-21 09:06:16 +00:00
florian
9409ec6341 * workaround unsupported -march=...+pauth for some assembler/clang versions 2024-04-21 11:04:42 +02:00
florian
902c93f3c3 * do not limit the number of interfaces per class, resolves #40268 2024-04-20 22:05:18 +02:00
J. Gareth "Curious Kit" Moreton
9ee1821622 * arm / a64: Extended the AND; CMP -> ANDS family of optimisations to catch BIC as well as AND 2024-04-20 12:55:47 +00:00
florian
e412f6be55 + in on an empty set is always false, resolves #40745 2024-04-19 23:43:35 +02:00
Sven/Sarah Barth
484dab553b + add a batch file to also regenerate the RTL makefiles on Windows 2024-04-19 16:45:59 +02:00
florian
2f9ed0576e * optimize x </>= length(...) also if the operands are swapped 2024-04-18 23:07:40 +02:00
Pierre Muller
8b7dbb81b1 Update after commit b0076a4709 to fix jvm rtl compilation error 2024-04-18 08:15:56 +02:00
florian
e130557d9f * optimize x < length(arr) and x >= length(arr) as proposed in #40292 2024-04-17 23:29:13 +02:00
Rika Ichinose
b0076a4709 Integers are 16-bit in system, replace with SizeInt. 2024-04-17 20:46:36 +00:00
Pierre Muller
a4240a0c62 Fix compilation of i8086/n8086add.pas unit after introduction of get_int_value function 2024-04-17 07:52:05 +00:00
florian
f29ff58ab9 + get_int_value 2024-04-16 23:11:16 +02:00
florian
48eeaf00a4 + fold also divisons involving pointer constants (those nodes are internally generated only) 2024-04-15 23:02:28 +02:00
florian
2e9556f2eb + fold also constant pointer operations on nil nodes 2024-04-15 22:52:32 +02:00
florian
b3c1f294ba + propagate also widechar/pointer constants 2024-04-14 10:34:37 +02:00
florian
0aa851b7f7 * run constant propagation multiple times if needed and if slow optimizations are turned on 2024-04-14 10:00:20 +02:00
florian
5c46b5116d + also fold nil nodes when used as pointer constants 2024-04-13 22:52:46 +02:00
florian
1222456c13 * allow [] for constant set constraints, resolves #37020 2024-04-13 22:28:54 +02:00
Rika Ichinose
0fe3633044 Simplify shortstr_concat(_multi). 2024-04-12 19:41:35 +00:00
florian
13fc4075f5 + propagate pointer constants 2024-04-12 21:40:04 +02:00