Nikolay Nikolov
|
7c44300136
* WebAssembly: fixed type conversion from pointer to qword (fixes bug #41092)
|
5 months ago |
florian
|
b2f6214b33
+ a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code
|
6 months ago |
Nikolay Nikolov
|
9a77a855e4
* WebAssembly codegen: enable -CN nil pointer checks in more places: a_cmp_const_ref_stack, a_cmp_ref_reg_stack and a_cmp_reg_ref_stack
|
6 months ago |
Nikolay Nikolov
|
bd1a6a60e8
+ added ref2string debug helper function to the WebAssembly code generator
|
6 months ago |
Nikolay Nikolov
|
6ce57a1625
* WebAssembly: also handle dup=true in thlcgwasm.prepare_stack_for_ref for absolute address refs
|
6 months ago |
Nikolay Nikolov
|
2e77e1a471
* WebAssembly codegen: fixed access to absolute variables, pointing to just a constant address, e.g. var a: longint absolute 5;
|
6 months ago |
Nikolay Nikolov
|
29ee863e8f
- WebAssembly code generator: removed the g_fingerprint hack, that added 4
|
10 months ago |
Nikolay Nikolov
|
964aa8b71b
+ added an optional nil pointer checking for WebAssembly (similar to
|
11 months ago |
Nikolay Nikolov
|
342ede81ee
* WebAssembly code generator: don't emit a return instruction at the end of the
|
11 months ago |
Nikolay Nikolov
|
5e327453a8
+ WebAssembly external asm writer: workaround for the 'missing functype' error,
|
11 months ago |
Nikolay Nikolov
|
54d65ff75c
* WebAssembly: fixed crash when attempting to generate a functype directive for
|
11 months ago |
Nikolay Nikolov
|
b6527c6c03
+ WebAssembly: check for exceptions after call of fpc_rangeerror in branchful
|
11 months ago |
Nikolay Nikolov
|
58a3f2ef64
* WebAssembly: changed the generated code in a_op_reg_reg_reg_checkoverflow to
|
11 months ago |
Nikolay Nikolov
|
7a1c50ff87
* fix warning
|
11 months ago |
Nikolay Nikolov
|
d2785117df
* WebAssembly: fixed overflow checking for unsigned subtraction
|
11 months ago |
Nikolay Nikolov
|
4f42553cb3
* fix bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow when either src1 or src2
|
11 months ago |
Nikolay Nikolov
|
8bbb28ace8
+ WASI: enable the generic stack checking
|
1 year ago |
Nikolay Nikolov
|
0a9169eb67
+ allow referencing '$__stack_pointer' in WebAssembly inline asm as argument to
|
1 year ago |
Nikolay Nikolov
|
7cbf18c6f3
* don't create block..end_block around WebAssembly inline asm routines
|
1 year ago |
Nikolay Nikolov
|
4adac78f85
+ respect the nostackframe directive in WebAssembly inline asm routines
|
1 year ago |
Nikolay Nikolov
|
cdba427bcf
+ added WASI multithreading helper for setting the stack pointer for the linear stack
|
2 years ago |
Nikolay Nikolov
|
9da276b352
* fixed bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow that used to generate
|
1 year ago |
Nikolay Nikolov
|
ab65c9889b
+ added the WasmBasicType to TWasmGlobalAsmSymbol. This will help WebAssembly
|
1 year ago |
Nikolay Nikolov
|
f4b9d51aff
+ introduced TWasmGlobalAsmSymbol subclass of TAsmSymbol. Use it for all
|
1 year ago |
Nikolay Nikolov
|
21cc89f1e3
+ added a second TWasmFuncType parameter to the CALL WebAssembly instruction. It
|
1 year ago |
Nikolay Nikolov
|
3defa34470
+ check whether all br instructions, generated by goto point to a pascal goto label
|
1 year ago |
Nikolay Nikolov
|
5486182f56
+ introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement
|
1 year ago |
Nikolay Nikolov
|
064172d65a
* refactored thlcgwasm.a_jmp_always. No functional changes.
|
1 year ago |
Nikolay Nikolov
|
cf21365a21
* fixed and enabled the is_pascal_goto_target check
|
1 year ago |
Nikolay Nikolov
|
b3e64d70e7
* temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always
|
1 year ago |