Commit Graph

1110 Commits

Author SHA1 Message Date
Michaël Van Canneyt
8c5a48da2b * Make compilerwidestring a class using dyn array, rework tstringconstnode: value_str -> valueas, valuews 2025-03-20 17:01:31 +01:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Nikolay Nikolov
c515d45026 + added new target to the compiler: wasm32-wasip2. Not working, yet. 2025-03-10 21:53:40 +02:00
Nikolay Nikolov
bf0c724d80 * regen makefiles 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
ab3a10eaed * WASI renamed WASIp1 in ppudump 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
924c917276 * fixed compilation of ppudump 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
fa384956d6 + define EOL_ONE_CHAR for the WASI platform 2025-02-25 13:18:44 +02:00
Nikolay Nikolov
9b2726fe31 * fix compilation of ppudump 2025-02-25 09:25:10 +02:00
Sven/Sarah Barth
558a7ef1ed * store the current verbosity as part of the settings so that they're stored as part of a generic token stream as well 2024-12-31 18:32:17 +01:00
florian
8d0bdf2f16 + RiscV: vector registers 2024-12-25 10:34:46 +01:00
Frederic Kehrein
05b73f1523 Postponing building of VMT until inheritance chain is specialized
This commit does 3 changes:
1. Introduce new option `oo_inherits_not_specialized` indicating if
   somewhere in the inheritance chain of an object there is a non
   specialized generic parameter
2. Avoid building the VMT for an object which has a generic parameter in
   the inheritance chain (fixes #40983)
3. When no vmt is build `insert_struct_hidden_paras` usually called as
   part of `build_vmt` will be called seperately to add missing
   parameters
2024-12-08 17:54:50 +00:00
Kirill Kranz
52651a7ede First compiler Build 2024-09-29 16:56:18 +03:00
Pierre Muller
8cacfc3355 Fix display of 80bit floats in cross-endian case 2024-09-28 13:13:18 +02:00
Pierre Muller
83d3a39417 Avoid unnecessary call when length(s) is zero, which avoids range check error 2024-06-13 06:50:11 +00:00
florian
ba555ea68d * patch by Marģers to bump version 2024-05-31 21:44:03 +02:00
Pierre Muller
5eda6e027d * Add internal_endian field to tppudumpfile class
* Check that this new field is indeed set, once only, by
    header flags.
  * Use this flag to extract high and low parts of floatx80
    record for soft floatx80 support.
2024-01-25 11:00:28 +00:00
Ryan Joseph
b4ff9b71d3 * Dump extended RTTI info from PPU 2024-01-02 07:09:22 +01:00
Karoly Balogh
679f2f75b3 human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
Karoly Balogh
d72eaaf734 human68k: ppudump typo/build fix 2023-11-30 23:43:27 +00:00
Karoly Balogh
4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
Pierre Muller
224a7a8a54 Use PID to generate unique GDB script names
Limit this to cases when -vj or -vJ option is
used to call the compiler, which adds a PID prefix
to all compiler output.
  This feature is useful to debug parallel make issues.
2023-11-30 11:13:10 +01:00
Pierre Muller
98ef2773e0 Improve token buffer size checks.
* For settings comparison: call CompareByte only on copy_size.
  * For mesgnb: verify that there is enough memory space
    in rest of tokenbuf to hold the number of messages.
  + Add a check that tbi is not greater than tokenbufsize.
2023-11-20 20:59:04 +01:00
Pierre Muller
2ed2ca5cf0 Add missing token buffer index update for ST_LOADMESSAGES handling 2023-11-20 17:52:21 +01:00
Pierre Muller
bc1c93c05f Fix handling of ST_LOADMESSAGES token 2023-11-06 20:50:24 +00:00
Michaël Van Canneyt
04b28ed587 * Search config file in same directory as actual compiler binary 2023-11-02 11:07:03 +01:00
Pierre Muller
f1317e893d Update compiler related Makefile's 2023-09-28 11:22:55 +02:00
ccrause
9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2023-08-15 21:33:58 +00:00
Pierre Muller
79d1fcd40d Introduce -XLL option for link using ld.lld linker 2023-07-19 19:00:30 +02:00
Michaël Van Canneyt
fd1f7b2ef8 * Shorter form of copy, remark by Alexey Torgashin 2023-07-13 21:12:46 +02:00
Michaël Van Canneyt
d3111517d5 * More option processing 2023-07-13 17:24:34 +02:00
Michaël Van Canneyt
28a3223b6b * Handle some options required by android, nasm and darwin assemblers 2023-07-13 14:31:11 +02:00
Michaël Van Canneyt
486f3a0c7f * Lowercase subtarget file, as done in compiler 2023-07-07 10:15:39 +02:00
Nikolay Nikolov
f47ca0c5d1 * fixed ppudump for WebAssembly after the JS Promise Integration branch merge 2023-07-02 18:31:53 +03:00
Nikolay Nikolov
adf843196a Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-24 15:08:18 +03:00
Sven/Sarah Barth
62cc594ca4 * for unique type aliases keep track of the original def
* increase PPU version
2023-06-23 16:15:27 +02:00
Nikolay Nikolov
8ac46ed38c Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-20 13:31:32 +03:00
Michaël Van Canneyt
c94531645a * Implement -t options for fpc executable
* Remove some debugging statements
* Refactor processorname -> suffix name for clarity of flow
* Refactor initialization of binary and processor name for clarity of flow
* Rename variables for clarity
* subroutine to simplify command-line handling
* Limited subtarget config file parsing to detect -V
* Specifying multiple -V should not give an error but warn, as for -T or -t
2023-06-19 07:04:50 +00:00
Nikolay Nikolov
b891cef5d2 * ppudump compilation fixed 2023-06-11 12:00:54 +03:00
Nikolay Nikolov
33fb887479 * ppudump compilation fixed 2023-06-05 01:45:30 +03:00
Michael VAN CANNEYT
a3f441b590 * loongarch64 architecture reinstated 2023-05-31 09:40:43 +02:00
Michael VAN CANNEYT
babcb631f8 * Delegate darwin ifdef out of program flow, towards const, for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c0893e5c16 * get rid os some warnings 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c6effbd676 * Refactor: add utility routine to handle command-line changes 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
a52b3522dc * Refactor: Rename some variables for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
647f211aa5 Refactor check for -PB and -PP for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
5d104c9115 Refactor initialization of binary and processor name for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
27476a915b * Refactor processorname -> suffix name for clarity of flow 2023-05-31 09:34:23 +02:00
Michaël Van Canneyt
0515be62b4 * Add option to allow emitting comments in RTTI info 2023-05-29 13:41:25 +00:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00