Commit Graph

12 Commits

Author SHA1 Message Date
Jonas Maebe
0758aa1143 FPU exception mask: generlised system unit interface 2022-10-17 19:43:01 +00:00
Nikolay Nikolov
e3139fea21 + setup a thread manager (functions are still not yet implemented), when the WASI RTL is compiled with multithreading support 2022-07-14 05:14:20 +03:00
Nikolay Nikolov
47c271dcd0 + implemented InterlockedIncrement, InterlockedDecrement, InterlockedExchange,
InterlockedCompareExchange and InterlockedExchangeAdd for WebAssembly in a
  thread safe way, using the thread and atomics extension, when the RTL is
  compiled with -dFPC_WASM_THREADS
2022-05-22 06:34:10 +03:00
Nikolay Nikolov
d9eb8d75b9 + return a small, fake backtrace for WebAssembly, so that in case of a runtime
error, the message 'Runtime error XXX at $EEEEEEEE' appears.
2021-10-05 04:44:52 +03:00
Nikolay Nikolov
3258937d97 + implemented move() for WebAssembly via the memory.copy instruction 2021-10-02 21:33:28 +03:00
Nikolay Nikolov
2e3e3edb5f + implemented FillChar for WebAssembly via the memory.fill instruction 2021-10-02 20:31:37 +03:00
Nikolay Nikolov
91f0f1a86c * don't include except.inc if wasm32 native exception is turned on, instead
replace it with except_native.inc
2021-09-28 03:46:30 +03:00
Nikolay Nikolov
33e25a3dfe + added except_native.inc include file (empty for now, but will provide RTL
support for the native wasm exceptions in the future)
2021-09-18 03:08:48 +03:00
nickysn
8c33dc4692 * return nil in get_caller_addr, get_caller_frame an sptr
git-svn-id: branches/wasm@48374 -
2021-01-24 02:18:20 +00:00
nickysn
de15809f62 + added some WASM32 functions
git-svn-id: branches/wasm@48241 -
2021-01-20 21:43:55 +00:00
nickysn
b8367e3152 + added fpc_cpuinit for WebAssembly
git-svn-id: branches/wasm@48218 -
2021-01-19 19:31:35 +00:00
nickysn
a5fafea8d1 * more updates to attempt to get a larger part of the full RTL to compile for WASM32
git-svn-id: branches/wasm@47970 -
2021-01-02 13:01:39 +00:00