Commit Graph

68662 Commits

Author SHA1 Message Date
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
Nikolay Nikolov
6f942996a5 * fixes to the mangling of the entry and exit code during the state machine label resolution 2023-10-21 23:46:00 +03:00
Nikolay Nikolov
f9ecc12e5b + added label resolution via state machine 2023-10-21 23:33:09 +03:00
Michaël Van Canneyt
237e2686f1 * Patch from Dokkie8844 to ease implementation of certificate verification. Fixes issue #40480 2023-10-21 22:24:23 +02:00
Sven/Sarah Barth
879f48d215 * the unit name has already been uppercased for the search, so no need to uppercase it again for the message output 2023-10-20 19:54:05 +02:00
Sven/Sarah Barth
287ef8e79a * fix #40410: allow specialization of a procdef also inside exception handlers + added test 2023-10-20 19:54:05 +02:00
Sven/Sarah Barth
f88ee7b2d8 * fix #40451: load the assembly symbol into a separate operand so that an offset already contained in oper isn't discarded + added test 2023-10-20 19:54:04 +02:00
Michaël Van Canneyt
b003828d26 * Some fixes for namespaced compilation 2023-10-19 12:19:38 +02:00
Pierre Muller
44e2c05ef7 Set calling convention for fontconfig library import unit 2023-10-19 10:28:17 +02:00
Pierre Muller
3c2fa91c75 Extend support to all BSD systems for libfontconfig and fcl-pdf packages 2023-10-18 21:09:44 +00:00
Pierre Muller
59fe173cc7 Add calls to FcGetVersion, FcConfigGetFilename and FcConfigFilename 2023-10-18 15:24:31 +00:00
Pierre Muller
9070b3647a Add new FcConfigGetFilename function 2023-10-18 15:24:31 +00:00
Pierre Muller
9782b206cf Add namespaced version of libfontconfig and unixtype units in _USES clause 2023-10-18 15:18:00 +00:00
Pierre Muller
b51e5f370f Disable fcl-pdf package for wince target 2023-10-18 15:17:02 +00:00
Michaël Van Canneyt
557a324473 * Add system.actions unit for Delphi compatibility 2023-10-18 17:06:04 +02:00
Michaël Van Canneyt
a88dd9197f * Some delphi compatibility methods/types for actions 2023-10-18 16:49:39 +02:00
Michaël Van Canneyt
db1efd0264 * Fix windows implementation of find. Fixes issue #40473 2023-10-18 16:40:53 +02:00
Michaël Van Canneyt
c120a13af8 * Unprepare on commit/rollback 2023-10-18 08:57:01 +02:00
Nikolay Nikolov
fc9719f5f9 + add the extra allocated locals before inserting the locals list in wasm32 tcpuprocinfo.postprocess_code 2023-10-18 03:54:37 +03:00
Nikolay Nikolov
d50ef3381f * strip block instructions 2023-10-18 03:47:58 +03:00
Nikolay Nikolov
ce742b5b4d * convert loop..end_loop blocks to flat list + branch instruction 2023-10-18 03:45:02 +03:00
Nikolay Nikolov
9584348c40 + added amfrtDeleteAi, support deleting instructions in map_structured_asmlist_inner 2023-10-18 03:31:11 +03:00