Commit Graph

16252 Commits

Author SHA1 Message Date
Rika Ichinose
0d5dddfcb5 Inline polyevl&ldexp in sin&cos. 2025-03-23 09:27:48 +01:00
Pierre Muller
4acf7d25a0 Move charset unit to implicit units list 2025-03-18 15:04:20 +01:00
florian
ddd846ede4 + Aarch64: UMul64x64_128 assembler implementation 2025-03-16 10:33:03 +01:00
florian
28c14ff345 + RiscV: UMul64x64_128 assembler implementation
+ test
2025-03-15 23:10:48 +01:00
Rika Ichinose
ff2492edf5 Add System.UMul64x64_128. 2025-03-15 22:18:55 +01:00
florian
8870c72d91 + implement System.CPUCount on darwin, resolves #41187 2025-03-15 11:58:45 +01:00
Rika Ichinose
4f92679625 BMI1 → BMI2. 2025-03-13 01:02:15 +03:00
Nikolay Nikolov
1d22802ba9 + initial wasip2 rtl, most things are not implemented 2025-03-10 23:30:11 +02:00
Pierre Muller
22345e4a28 Fix compilation of mips-linux rtl using 3.2.X compiler 2025-03-10 21:01:54 +00:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Alligator-1
cb237c9008 const for TFormatSettings 2025-03-09 14:53:24 +00:00
Michaël Van Canneyt
1a32b53f2c * Add GetTypeName, GetPropName 2025-03-04 18:01:47 +01:00
florian
9328dd6489 * fix further instances where reallocmem instead of sysreallocmem is used to allocate the cmdline buffer, resolves #41168 2025-03-02 12:57:11 +01:00
florian
90faca9e69 * use sysreallocmem as proposed in #41168 2025-03-02 12:54:42 +01:00
Nikolay Nikolov
0977f0ac0d * WASI system.pp: check that WebAssembly threads are always turned off for the wasip1 target, and always turned on for the wasip1threads target 2025-02-28 15:12:21 +02:00
Nikolay Nikolov
7703ff9b34 * moved the common WASI RTL source files and includes to a 'wasicommon' dir 2025-02-28 15:12:21 +02:00
Nikolay Nikolov
1d85913234 + added wasip1threads rtl 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Michaël Van Canneyt
3b8a4137a5 * IInterfaceListEx 2025-02-27 17:36:43 +01:00
Pierre Muller
610972b26c Fix compilation of rtl for mipsel-ps1 target 2025-02-26 08:16:15 +00:00
Michaël Van Canneyt
1ae6f4ab97 * Fix compilation : implement correct GetLocalTimeOffset overload 2025-02-25 14:16:25 +01: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
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
Michaël Van Canneyt
35a21de57c * Allow TFormatSettings.Create with string (using callback) 2025-02-19 20:36:54 +01:00
Michaël Van Canneyt
545db4a070 * Extend GetLocalTimeOffset to return Dst or not 2025-02-19 17:31:01 +01:00
Rika Ichinose
900b1fc4ec Check for refcount = 1 first. 2025-02-16 15:17:48 +03:00
florian
27e17e3186 + RiscV64: make use of rev8 instruction 2025-02-13 22:44:44 +01:00
Rika Ichinose
840df7e243 Disable MemPos on JVM. 2025-02-10 19:22:41 +00:00
Rika Ichinose
c3f80014b4 Remove FDestroyCount. 2025-02-10 18:53:26 +00:00
Rika Ichinose
1e041077cc Interface unref should zero the pointer first. 2025-02-09 15:25:33 +00:00
Rika Ichinose
98a5072fbe Remove NewAnsiString & NewUnicodeString. 2025-02-09 14:27:09 +00:00
Rika Ichinose
f7f8c9a615 Publish System.MemPos. 2025-02-09 03:40:40 +03:00
Rika Ichinose
66d7408b3d Faster Pos(ansistring). 2025-02-08 11:04:22 +00:00
Rika Ichinose
6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 2025-02-07 20:51:50 +03:00
Michaël Van Canneyt
0b3d059458 * Allow host environmentto get main and self thread IDs. Needed for inter-thread messaging in browser 2025-02-07 16:42:44 +01:00
Rika Ichinose
6ccad3dc4e Shortcut declocked on refcount = 1. 2025-01-31 22:03:25 +00:00
florian
212b0fb7a8 * cleanup 2025-01-30 22:49:29 +01:00
florian
cd76562339 + atomic operations for RV32 2025-01-26 14:17:39 +01:00
florian
f8c09568d8 * RiscV: unify stack related functions 2025-01-25 23:20:11 +01:00
florian
c6a68abfb6 * RiscV: unify memory barrier functions 2025-01-25 15:00:40 +01:00
florian
ca53c5e7d4 * unify SysInitFPU and SysResetFPU on RiscV 2025-01-25 14:43:10 +01:00
Nikolay Nikolov
5e813e62f2 + added function fpc_wasm_invoke_helper to the WebAssembly RTL 2025-01-25 08:21:56 +02:00
florian
28a9a44894 * call SysResetFPU and SysInitFPU in InitThread for the time being 2025-01-24 22:56:46 +01:00
Michaël Van Canneyt
28fc3da2bd * Patch from Eric Grange to fix TRectF.FitInto 2025-01-24 11:53:09 +01:00
Pierre Muller
d2f5bbac50 Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior 2025-01-23 22:38:07 +00:00
florian
9cac8e6183 + add an SysInitFPU implementation 2025-01-23 23:00:30 +01:00
Pierre Muller
d959e47c83 Fix _FPC_xtensa_exit first parameter passing 2025-01-23 15:52:11 +00:00
Michaël Van Canneyt
925091d0d1 * Fix compilation when using threading 2025-01-23 14:48:57 +01:00
florian
02b31542f6 * make rounding mode and exception mask thread variables as well 2025-01-21 22:53:28 +01:00