Commit Graph

68333 Commits

Author SHA1 Message Date
Michaël Van Canneyt
1e64126fba * Do not (yet) compile for wasm 2023-10-26 11:20:50 +02:00
Michaël Van Canneyt
a36fca37f1 * Correctly load library, make this public 2023-10-26 11:20:50 +02:00
Michaël Van Canneyt
37654bda66 * Fix windows unicodertl compilation 2023-10-26 11:20:50 +02:00
Pierre Muller
acf5675a90 Change AVOID_OVERFLOW to avoid warning about inequality being always true 2023-10-26 07:47:10 +00:00
Pierre Muller
b521ac967f Fix possible overflow in riscv32 compiler 2023-10-26 01:02:20 +00:00
J. Gareth "Curious Kit" Moreton
1437928ce6 * Packages: i386 BMI1 implementation of MD5 hash 2023-10-25 21:09:25 +00:00
Rika Ichinose
0e426db5de x86_64.inc: shorten Interlocked*, perform macro-fused test+jz in Index* early. 2023-10-25 21:05:21 +00:00
Michaël Van Canneyt
9bb1cda8b5 * Fix compilation in unicode rtl 2023-10-25 17:26:39 +02:00
Michaël Van Canneyt
28dba2e721 * Git did not add .lst files 2023-10-25 16:50:51 +02:00
Michaël Van Canneyt
01589aa693 * WasmEdge library import 2023-10-25 15:07:26 +02:00
Pierre Muller
1f8865454b Increase size of Param field of TSwitchItem object, to avoid truncation for -Cploongarch64 option 2023-10-25 09:58:23 +00:00
Nikolay Nikolov
376de92a50 Merge branch 'main' into wasm_goto 2023-10-25 03:03:38 +03:00
Michaël Van Canneyt
1866aa1515 * Fix windows compilation 2023-10-24 17:25:42 +02:00
Michaël Van Canneyt
39ef628a77 * Already namespaced 2023-10-24 16:46:28 +02:00
Michaël Van Canneyt
48385fce80 * Forgot to add 2023-10-24 16:43:05 +02:00
Michaël Van Canneyt
4a88ed950a * No namespaces for fpmkunit 2023-10-24 16:38:34 +02:00
Michaël Van Canneyt
55d33aa6a7 * Fix compilation using namespaces & unicode rtl 2023-10-24 15:27:35 +02:00
Michaël Van Canneyt
00330a562c * Rework to use new fpdebugcapture unit 2023-10-24 12:27:10 +02:00
Michaël Van Canneyt
652d41a70a * Dependencies for utils to compile to webassembly 2023-10-24 10:54:18 +02:00
Michaël Van Canneyt
9d00605c35 * Allow compilation for wasm 2023-10-24 10:42:12 +02:00
Michaël Van Canneyt
f4863177b6 * Remove duplicate code, move some code from fileutils to utils 2023-10-24 10:14:37 +02:00
Michaël Van Canneyt
6fda6f79d8 * License header 2023-10-23 23:33:34 +02:00
Michaël Van Canneyt
a0878c9565 * Debug capture separated out 2023-10-23 23:31:33 +02:00
Nikolay Nikolov
d39b5e8296 Merge branch 'main' into wasm_goto 2023-10-23 02:53:55 +03:00
Michaël Van Canneyt
b4ccac8def * Fix compilation with pas2js 2023-10-22 17:35:47 +02:00
Michaël Van Canneyt
74c995c06b * Add system.math.vectors for Delphi compatibility. 2023-10-22 17:08:20 +02:00
J. Gareth "Curious Kit" Moreton
286c823e27 * Tests for i40474 and i40475 (BIC issue on AArch64 and incorrect shifter/extender mnemonics respectively) 2023-10-22 13:13:58 +00:00
J. Gareth "Curious Kit" Moreton
23e514621d * a64: Corrected supported shifter/extender mnemonics for arithmetic/logical instructions 2023-10-22 13:13:58 +00:00
J. Gareth "Curious Kit" Moreton
bb2e626fc3 * a64: Fixed bug where BIC instructions were treated as having 2 operands rather than 3 2023-10-22 13:13:58 +00:00
J. Gareth "Curious Kit" Moreton
82a8640111 * a64: New conditional branch to CSET peephole optimisation 2023-10-22 12:16:50 +00:00
J. Gareth "Curious Kit" Moreton
af9c9a826e * a64: Porting of MatchOperand function from x86 that takes integer parameter 2023-10-22 12:16:50 +00:00
J. Gareth "Curious Kit" Moreton
6b569d0ada * ARM: New test to evaluate ADR encoding error 2023-10-22 12:04:05 +00:00
J. Gareth "Curious Kit" Moreton
c4061e49e6 * ARM: Fixed issue where some offsets of ADR assembly instructions
were incorrectly encoded by the internal assembler
2023-10-22 12:04:05 +00:00
Nikolay Nikolov
3defa34470 + check whether all br instructions, generated by goto point to a pascal goto label 2023-10-22 05:23:04 +03:00
Nikolay Nikolov
31dff18a61 * refactored the taicpu_wasm_structured_instruction descendants to use a wstyp enum variable, instead of using the 'is' operator to determine the class type 2023-10-22 04:33:29 +03:00
Nikolay Nikolov
5486182f56 + introduced thlcgobj.a_jmp_always_pascal_goto - same as .a_jmp_always, but generated by a pascal goto statement 2023-10-22 04:12:59 +03:00
Nikolay Nikolov
064172d65a * refactored thlcgwasm.a_jmp_always. No functional changes. 2023-10-22 04:03:04 +03:00
Nikolay Nikolov
cf21365a21 * fixed and enabled the is_pascal_goto_target check 2023-10-22 04:01:37 +03:00
Nikolay Nikolov
84e2613ca8 * refactor: wasm_convert_to_flat_asmlist and wasm_convert_to_structured_asmlist now accept a single var parameter 2023-10-22 03:11:28 +03:00
Nikolay Nikolov
d66a8cb902 + enable compilation of the hermes package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:12:47 +03:00
Nikolay Nikolov
0bf609f0f0 + enable compilation of the fcl-res package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:08:09 +03:00
Nikolay Nikolov
fbcdce2c87 + enable compilation of the chm package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:02:28 +03:00
Nikolay Nikolov
30b745758c + enable compilation of the bzip2 unit for the WASI platform, since WebAssembly now supports goto 2023-10-22 01:58:50 +03:00
Nikolay Nikolov
ee782197a5 Merge branch 'main' into wasm_goto 2023-10-22 01:38:44 +03:00
Nikolay Nikolov
545978b290 * fixed the label resolution for asmlists with WebAssembly native exceptions 2023-10-22 01:29:50 +03:00
Nikolay Nikolov
da37fabc42 * fixed a div by zero error, when compiling a wasi-hosted compiler 2023-10-22 01:11:17 +03:00
Nikolay Nikolov
b3e64d70e7 * temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always 2023-10-22 01:09:26 +03:00
Nikolay Nikolov
84186db35f * support local.get/set/tee with a const parameter in the wasm internal assembler writer 2023-10-22 00:52:37 +03:00
Nikolay Nikolov
b1cec6de2a + allow jumps to goto targets 2023-10-22 00:35:05 +03:00
Nikolay Nikolov
5e9cf637d3 * fixed branch ordering in resolve_labels_via_state_machine 2023-10-21 23:54:40 +03:00