Commit Graph

70080 Commits

Author SHA1 Message Date
florian
bed356b305 + basemath for aarch64
+ adapted darwin Makefile
2024-07-17 22:06:03 +02:00
florian
f6190e1a07 Merge branch 'main' into basemath 2024-07-16 22:49:39 +02:00
florian
c30bded513 + basemath for i8086 2024-07-16 22:48:36 +02:00
florian
a46c12582a + basemath for arm 2024-07-16 22:28:16 +02:00
Nikolay Nikolov
7cbf18c6f3 * don't create block..end_block around WebAssembly inline asm routines 2024-07-16 16:53:55 +03:00
Nikolay Nikolov
65d4319dc2 * don't do anything in postprocess_code for WebAssembly inline asm routines 2024-07-16 16:28:32 +03:00
Nikolay Nikolov
4adac78f85 + respect the nostackframe directive in WebAssembly inline asm routines 2024-07-16 15:25:12 +03:00
Nikolay Nikolov
83a8d584e0 + set result.ops in twasmreader.HandlePlainInstruction 2024-07-16 15:13:56 +03:00
Nikolay Nikolov
d9e3afcb1d + actually enable the parsing of WebAssembly inline asm instructions 2024-07-16 14:53:56 +03:00
Nikolay Nikolov
fd1fb255a6 * started implementing twasmreader.HandleBlockInstruction 2024-07-16 14:48:55 +03:00
Nikolay Nikolov
152bb316c3 + call ConcatInstruction for plain instructions in twasmreader.HandleInstruction 2024-07-16 12:58:47 +03:00
Nikolay Nikolov
8ec86ad053 + insert plain instructions and parse nested instructions in twasmreader.HandleFoldedInstruction 2024-07-16 02:04:58 +03:00
Nikolay Nikolov
95593f15dd + handle the local and global variable instructions with a constant integer
parameter in twasmreader.HandlePlainInstruction
2024-07-16 01:38:57 +03:00
florian
0e86018f0c + basemath for powerpc64 2024-07-15 20:21:03 +02:00
florian
69b5558041 + basemath support for powerpc 2024-07-15 20:13:42 +02:00
florian
42d9175fd1 Merge branch 'main' into basemath 2024-07-15 20:03:48 +02:00
florian
1726afada3 Merge branch 'main' into basemath 2024-07-15 20:00:14 +02:00
Nikolay Nikolov
ea988e0b92 + recognize the memory access instructions with an optional memarg operand (not
parsed, yet) in twasmreader.HandlePlainInstruction
2024-07-15 20:27:32 +03:00
Nikolay Nikolov
09f2fa0daf + support the f32.const and f64.const instructions in twasmreader.HandlePlainInstruction 2024-07-15 20:20:13 +03:00
Michaël Van Canneyt
02e90adfe1 * Need IFDEF, compiler stops "with unreachable code" 2024-07-15 17:19:52 +02:00
Nikolay Nikolov
8e79108e51 * changed twasmreader.HandlePlainInstruction to return an instruction 2024-07-15 16:49:06 +03:00
Nikolay Nikolov
c1c1d46c15 + parse the instructions with integer parameter i32.const and i64.const in twasmreader.HandlePlainInstruction 2024-07-15 16:49:06 +03:00
Rika Ichinose
a575a5c0fd Move Int128Rec to System; remove i386 and x86_64 CPU unit dependency on SysUtils. 2024-07-15 13:31:20 +00:00
Michaël Van Canneyt
e86882580d * Do not free used units during reset, they can be in use during load cycle. Fixes issue #40852 2024-07-15 14:09:49 +02:00
Rika Ichinose
73bf0c82bb Disable _Plain versions when compiling RTL for newer CPUs. 2024-07-14 14:36:17 +00:00
florian
7630726e2d * patch Peter Blackman to fix .po file headers, resolves #40853 2024-07-14 14:48:30 +02:00
Nikolay Nikolov
748dbbcb20 * fixed another warning 2024-07-14 00:09:18 +03:00
Nikolay Nikolov
4c3d8d016e + added else clause to silence warning, treated as error in CI 2024-07-13 12:21:36 +03:00
Nikolay Nikolov
c6e715a54e + WebAssembly inline assembler instruction parsing work in progress 2024-07-12 23:35:38 +03:00
florian
569c3fb49f * really all TMonitor shortcuts pass through the results 2024-07-12 19:02:21 +02:00
Michaël Van Canneyt
1743df7b80 * Patch by Evgenii Savin to avoid IE 2010021502 when calling generic from other generic. Fixes issue #40770 2024-07-12 18:04:57 +02:00
Michaël Van Canneyt
cdda954ea7 * Fix error out of bounds 2024-07-12 16:22:24 +02:00
Nikolay Nikolov
0c61c7057a * fixed some WebAssembly instruction names in the wasm_op2str array 2024-07-12 16:09:07 +03:00
Nikolay Nikolov
4c787b4b9f + started working on a WebAssembly inline assembler reader. Not ready, yet, just
includes a basic tokenizer for now.
2024-07-12 16:02:19 +03:00
Michaël Van Canneyt
fa1abfba92 * Shortcuts must pass result on 2024-07-12 09:04:42 +02:00
florian
a816fc2114 * update project file 2024-07-11 22:12:38 +02:00
Michaël Van Canneyt
634e01d525 * Improved ToString for TComponent 2024-07-11 12:08:18 +02:00
Michaël Van Canneyt
14d65ced2e * Some utility routines 2024-07-11 11:46:33 +02:00
Michaël Van Canneyt
cf4fc4e385 * Add property to better simulate Delphi behaviour 2024-07-11 11:46:33 +02:00
Michaël Van Canneyt
0b4d9a6732 * Some utility routines 2024-07-11 11:46:33 +02:00
Nikolay Nikolov
6d79054cff * use an empty TThread implementation in rtl/wasi/tthread.inc, in case
FPC_WASM_THREADS is not defined
2024-07-11 11:20:51 +03:00
florian
f6002d8078 * ensure make_simple_ref is called, resolves #40851 2024-07-10 22:26:09 +02:00
Ondrej Pokorny
617d56f23a Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit 2024-07-10 11:38:42 +02:00
Pierre Muller
b30b01a212 Add src/win to include path for win32/win64 targets 2024-07-10 10:34:39 +02:00
Pierre Muller
ab115180bf Fix syntax error in last commit 2024-07-10 10:08:11 +02:00
Pierre Muller
713c9eea6a Adapt namespaces.lst to removal of src/win/varutils.pp separate source file 2024-07-10 07:45:49 +00:00
Pierre Muller
8eb0d1eaed Use single main file src/inc/varutils.pp for Windows and other OSes 2024-07-10 07:44:11 +00:00
Pierre Muller
a347e28dad Add dependency on variants unit for rtti 2024-07-09 22:06:46 +00:00
Pierre Muller
40c3dc5809 Fix directory for varutils unit 2024-07-09 22:00:58 +00:00
Pierre Muller
fe80f43e4e Add dependencies for fprpcclient on fpwebclient and fphttpwebclient units 2024-07-09 21:54:59 +00:00