Commit Graph

70330 Commits

Author SHA1 Message Date
florian
80febbd8cf * Risc-V: use OptPass1OP more 2024-08-01 22:24:07 +02:00
Michaël Van Canneyt
406d5f4147 * Dump certificate in temp dir. Fixes issue #40872 2024-08-01 18:39:27 +02:00
Nikolay Nikolov
04b9bc7702 * fix typo in comment 2024-07-31 15:02:47 +03:00
florian
13dfd1cafd * get rid of a couple of more tabs 2024-07-30 22:31:24 +02:00
Nikolay Nikolov
1a93cad4f3 * fixed conversion between milliseconds and nanoseconds in LockMutexTimeoutNoWait and LockMutexTimeoutWait 2024-07-30 20:47:38 +03:00
Nikolay Nikolov
b9a6b01c97 * WebAssembly threads: set M.Locked to 0 on UnLockMutex 2024-07-30 20:37:49 +03:00
Nikolay Nikolov
8413c2b073 * optimization in WebAssembly's MutexKind() function - mark the first parameter
as const, to avoid making a copy on the stack
2024-07-30 17:36:09 +03:00
Nikolay Nikolov
c6794dd7d7 * fixed WebAssembly InitMutex() and DoneMutex() - pass the parameter by reference 2024-07-30 17:32:56 +03:00
Nikolay Nikolov
5de7084d35 * WasiRTLEventWaitFor_WaitNotAllowed: treat timeout of 0 as zero wait time,
instead of infinite time, for consistency with WasiRTLEventWaitFor_WaitAllowed
  (and other platforms, such as Windows)
2024-07-30 17:15:47 +03:00
Nikolay Nikolov
038ecaef92 * fixed WasiRTLEventWaitFor_WaitAllowed: second parameter is expected value to wait on (0), not wait to wait for (1) 2024-07-30 17:14:13 +03:00
Nikolay Nikolov
2fb300c5c0 * fixes to WebAssembly RTLEventWaitFor:
* correct conversion from milliseconds to nanoseconds (multiply by 1000000,
    instead of 1000)
  * use a negative timeout value, instead of 0, to indicate infinite wait
    timeout. Using 0 with the 'wait' instruction indicates no wait at all.
2024-07-30 16:49:36 +03:00
Karoly Balogh
6f7d2136c6 h68units: new h68kutil unit, with various constans for now. more to come. 2024-07-30 15:08:31 +02:00
Karoly Balogh
1cea95e8e0 h68units: also credit Federico Roviralta for his X68K related work 2024-07-30 15:08:31 +02:00
Karoly Balogh
bcaf8d1409 h68units: added some more IOCS calls, mostly related to hardware sprite handling 2024-07-30 15:08:31 +02:00
Karoly Balogh
c20178b6e1 h68units: fix copyright year in h68iocs unit. no functional change 2024-07-30 15:08:31 +02:00
Nikolay Nikolov
1a714d688a * fixed WasiRTLCreateEvent to actually return the result 2024-07-30 15:12:24 +03:00
Nikolay Nikolov
e579da0844 + implemented CheckInitialStkLen for the WASI target (just returns the parameter
stklen as a result value, unmodified)
2024-07-29 22:52:33 +03:00
Michaël Van Canneyt
3e098316fd * Handle tkFloat in TValue.ToString 2024-07-29 20:48:16 +02:00
Michaël Van Canneyt
303c0378e9 * Send properties sorted 2024-07-29 17:55:53 +02:00
Michaël Van Canneyt
3160e45316 * String must not be shortstring 2024-07-29 17:55:53 +02:00
Michaël Van Canneyt
04a9cc3ed9 * INdicate required dictionary fields 2024-07-29 17:55:53 +02:00
florian
f35a565f4e * fix condition to match the comment 2024-07-29 17:38:36 +02:00
Michaël Van Canneyt
951d2f3942 * Set event handler-type properties 2024-07-29 14:20:49 +02:00
Michaël Van Canneyt
47e4eaf392 * Allow to set event handlers 2024-07-29 14:13:37 +02:00
Michaël Van Canneyt
afd7d9965a * Remove debug writelns 2024-07-29 09:02:57 +02:00
florian
a4242e60b2 + Risc-V 32: apply OptPass1OP also on ADD 2024-07-28 22:56:52 +02:00
florian
657e4bf838 * more use of OptPass1OP 2024-07-28 21:39:06 +02:00
florian
6d157b5bf0 + Risc-V 32: optimize QWord(1) shl ... 2024-07-28 21:17:25 +02:00
florian
08bf5f7201 * indentation fixed 2024-07-28 20:47:46 +02:00
Nikolay Nikolov
e48fdc5b0f + added WebAssembly inline asm tests for:
i32.clz
  i64.clz
  i32.ctz
  i64.ctz
  i32.popcnt
  i64.popcnt
2024-07-28 19:32:36 +03:00
Nikolay Nikolov
c1d6cad444 + added WebAssembly inline asm tests for:
i32.rotl
  i64.rotl
  i32.rotr
  i64.rotr
2024-07-28 19:24:02 +03:00
Nikolay Nikolov
5043bdaf18 + added WebAssembly inline asm tests for:
i32.shr_s
  i64.shr_s
2024-07-28 19:17:28 +03:00
Nikolay Nikolov
536b85021d + added WebAssembly inline asm tests for:
i32.shr_u
  i64.shr_u
2024-07-28 19:12:12 +03:00
Nikolay Nikolov
a1e4d5a517 + added WebAssembly inline asm test for:
i32.shl
  i64.shl
2024-07-28 19:06:20 +03:00
Nikolay Nikolov
3967814081 + added WebAssembly inline asm test for:
i32.and
  i64.and
  i32.or
  i64.or
  i32.xor
  i64.xor
2024-07-28 18:58:31 +03:00
Nikolay Nikolov
28a849a293 + added WebAssembly inline asm test for:
i32.rem_s
  i64.rem_s
  i32.rem_u
  i64.rem_u
2024-07-28 18:46:48 +03:00
Nikolay Nikolov
3ad7a0e716 + added WebAssembly inline asm tests for the instructions:
i32.div_s
  i64.div_s
  i32.div_u
  i64.div_u
2024-07-28 18:38:32 +03:00
florian
9c81c4a5fa * apply OptPass1OP to more instructions 2024-07-28 16:58:49 +02:00
florian
d270c2ccdd * better zero extension for Risc-V32 2024-07-28 16:42:32 +02:00
Rika Ichinose
2536529bc0 Reuse DWARF buffer on seeks. 2024-07-28 11:02:59 +03:00
florian
1c96bf5d30 + S*LI x,x,0 to nop optimization 2024-07-27 21:06:49 +02:00
florian
c81f10bfbd + apply OptPass1OP also to SRL/SLL
* fix commit
2024-07-27 21:00:03 +02:00
florian
124480e73a * spelling fixed 2024-07-27 19:51:37 +02:00
florian
1737035501 + riscv32: trv32shlshrnode.second_64bit 2024-07-27 19:48:16 +02:00
Michaël Van Canneyt
bcdd29b556 * API to show objects in webassembly runtime in browser 2024-07-27 15:37:59 +02:00
Michaël Van Canneyt
b530804eb6 * Use Int32 for index 2024-07-27 15:16:43 +02:00
Michaël Van Canneyt
429d04089e * Wrong file copied 2024-07-27 13:21:24 +02:00
Ondrej Pokorny
6456ced31f Postgres: add support to missing integer param types 2024-07-27 06:40:00 +00:00
Michaël Van Canneyt
963a55db52 * Fix copy and paste error. Fixes issue #40863 2024-07-27 08:26:21 +02:00
Michaël Van Canneyt
87137a4aaa * Do not include class and array properties in RTTI 2024-07-27 08:21:44 +02:00