Commit Graph

71641 Commits

Author SHA1 Message Date
Nikolay Nikolov
0d069b160f + added wasip1threads to fpmake.pp 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
890512cae2 + added wasip1threads to fpmkunit 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
1d85913234 + added wasip1threads rtl 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
698e16a12d + added system_wasm32_wasip1threads to systems_wasm 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
b9098d8c5f + register the wasip1threads target in the compiler 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
55d3d1447c * increased string size of tsysteminfo.shortname in order to fit 'wasip1threads' 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
b8007e33e3 * wasi renamed wasip1 in the utils/*/fpmake.pp files 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
ab3a10eaed * WASI renamed WASIp1 in ppudump 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
924c917276 * fixed compilation of ppudump 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
cf0f337447 + support wasip1threads in fpcmake 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
4340d03ba9 + compiler support for a new target: wasip1threads 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
32c1f78dc1 * wasi renamed wasip1 in the compiler help screen 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
251ca6b658 * ifdef on wasip1 when setting the source OS info to wasip1 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
4423989868 * renamed wasi -> wasip1 in fpmake.pp files 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
1f965d262d * wasi renamed wasip1 in fpmkunit 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
ce8643a2bc * update fpcmake.inc 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
995a5431c3 * wasi renamed wasip1 in fpcmake 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
59ab80bbb0 + add WASI as extra define for the wasip1 target 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
5a32b7159e * system_wasm32_wasi_info renamed system_wasm32_wasip1_info 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
2bc965ee28 * the name string of the WASI target changed from 'The WebAssembly System Interface (WASI)' to 'The WebAssembly System Interface Preview 1 (WASI 0.1)' 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 2025-02-28 15:12:19 +02:00
Michaël Van Canneyt
e958ad5126 * Add delphi-compatible TList constructor with array of values 2025-02-28 10:12:47 +01:00
florian
70591f6449 * factor out TRVCpuAsmOptimizer.OptPass1Andi 2025-02-27 22:55:35 +01:00
J. Gareth "Curious Kit" Moreton
d9e97e3f0f * New test for detecting faulty "LeaLea2LeaLea" optimisations 2025-02-27 21:25:23 +00:00
J. Gareth "Curious Kit" Moreton
83c9b17ec5 * x86: Fixed oversight in LeaLea2LeaLea optimisations where bad code is
generated if the intermediate register appears in the first reference
2025-02-27 21:25:23 +00:00
Michaël Van Canneyt
d86e726e87 * Invoke helper also needs generic ids 2025-02-27 17:36:43 +01:00
Michaël Van Canneyt
a0a453f890 * Various IsXYZ functions for TValue 2025-02-27 17:36:43 +01:00
Michaël Van Canneyt
3b8a4137a5 * IInterfaceListEx 2025-02-27 17:36:43 +01:00
Nikolay Nikolov
92de1a6fbe + for consistency, added ps1 to the commented enum in fpcmmain.pp 2025-02-27 14:29:58 +02:00
florian
fd72ed8c56 * applied fix for #41161 as proposed by Pierre 2025-02-26 22:40:26 +01:00
Ondrej Pokorny
7f9def422f fix KeepConnectionTimeout loop 2025-02-26 09:32:46 +00:00
Ondrej Pokorny
e2c9661234 whitespace cleanup 2025-02-26 09:32:46 +00:00
Pierre Muller
610972b26c Fix compilation of rtl for mipsel-ps1 target 2025-02-26 08:16:15 +00:00
florian
831a46eb2f + more sext.b usage 2025-02-25 22:50:14 +01:00
mattias
c40cb181fe fcl-css: nicer name 2025-02-25 16:34:34 +01:00
Michaël Van Canneyt
1ae6f4ab97 * Fix compilation : implement correct GetLocalTimeOffset overload 2025-02-25 14:16:25 +01:00
Nikolay Nikolov
fa384956d6 + define EOL_ONE_CHAR for the WASI platform 2025-02-25 13:18:44 +02:00
Nikolay Nikolov
6286ff38cc * WASI: avoid using inner preopened dirs, that escape to the parent with '..',
in case there's an outer preopened dir
2025-02-25 12:53:41 +02:00
mattias
d322143566 fcl-css: parse pseudo elements as unary or binary elements, resolver: pseudo element 2025-02-25 11:25:42 +01:00
Nikolay Nikolov
7e89495a09 * WASI: workaround for FindFirst/FindNext opening the current directory, by using its full name 2025-02-25 12:21:45 +02:00
Nikolay Nikolov
76d155d872 - removed wasm32 from the NO_NATIVE_COMPILER_CPU_LIST 2025-02-25 09:50:05 +02:00
Nikolay Nikolov
9b2726fe31 * fix compilation of ppudump 2025-02-25 09:25:10 +02:00
Nikolay Nikolov
d35a2f53e7 * the FPC_WASM_SATURATING_FLOAT_TO_INT_CONVERSIONS define shortened to FPC_WASM_SATURATING_FLOAT_TO_INT
* increased the max string length of ttargetswitchinfo.define in order to fit the new define
2025-02-25 09:20:01 +02:00
Nikolay Nikolov
0c939ac6c6 + WebAssembly: added support for using saturating (non-trapping) float-to-int conversion instructions via the new target switch SATURATINGFLOATINGTOINT 2025-02-25 09:08:55 +02:00
Nikolay Nikolov
671a36c823 * fixed WebAssembly goto in case statement crash with internal error 2021011801 2025-02-25 08:22:26 +02:00
Nikolay Nikolov
eef5001455 + enabled compilation of package fcl-res for WASI 2025-02-25 07:57:26 +02:00
Nikolay Nikolov
4b757dd360 * On WebAssembly, when calling a function, first generate code for evaluating
all the parameters, and only after that, push them on the stack. This avoids
  problems with our 'goto' support.
2025-02-25 07:29:36 +02:00
Nikolay Nikolov
e237da95d2 * most of tcgcallparanode.secondcallparan's code was moved into two new methods:
secondcallparan_do_secondpass and secondcallparan_after_secondpass. These are
  protected methods, meant to be called in secondcallparan's descendants, to
  provide alternative parameter handling algorithms (needed for WebAssembly). No
  functional changes.
2025-02-25 07:21:13 +02:00