Commit Graph

28490 Commits

Author SHA1 Message Date
Michaël Van Canneyt
b5bccf7a77 * Fix typo 2025-03-11 09:56:55 +01:00
florian
c7290bfb78 * enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG} 2025-03-10 22:50:49 +01:00
Nikolay Nikolov
42b466015d + added wasip2 to the NO_NATIVE_COMPILER_OS_LIST 2025-03-10 23:30:11 +02:00
Nikolay Nikolov
97fde50101 * regen makefiles 2025-03-10 22:39:51 +02:00
Nikolay Nikolov
f0b2d4a4ca + added wasip2 to the compiler help screen (marked as experimental) 2025-03-10 21:56:41 +02:00
Nikolay Nikolov
263e7e1de1 * removed tf_under_development from the wasip1 and wasip1threads targets, since they're now relatively stable (unlike wasip2) 2025-03-10 21:54:37 +02:00
Nikolay Nikolov
c515d45026 + added new target to the compiler: wasm32-wasip2. Not working, yet. 2025-03-10 21:53:40 +02:00
Michaël Van Canneyt
09417140de * Define for mormot memory manager. Speeds up by 66% 2025-03-10 17:02:54 +01:00
florian
1f6ac0609e + SltiAndi2Slti optimization 2025-03-09 20:34:21 +01:00
florian
e6d140df80 * make TRVCpuAsmOptimizer.OptPass1SLTIU look further ahead 2025-03-08 23:08:10 +01:00
florian
d91be468da * fix SltiuAndi2Sltiu optimization 2025-03-07 22:20:46 +01:00
Pierre Muller
373ebbcf41 Enable -Aas-clang for unix and embedded targets for aarch64 compiler 2025-03-07 07:06:56 +00:00
florian
7a19bc012a + RiscV: SltiuAndi2Sltiu optimization 2025-03-06 22:59:53 +01:00
J. Gareth "Curious Kit" Moreton
2b9455e262 * Fixed internal error 200411013 when typecasting and dereferencing nil into an array 2025-03-06 22:36:57 +01:00
Pierre Muller
ce134abe46 Add -Twasip1threads 2025-03-06 14:26:33 +00:00
Rika Ichinose
c433b740e4 Add/actualize CPUX86_HAS_SSSE3. 2025-03-05 22:35:01 +01:00
florian
39ac8a7923 + write more information ttypeconvnodes 2025-03-05 22:32:39 +01:00
florian
783436f2a1 * factor out TRVCpuAsmOptimizer.OptPass1SxxI 2025-03-04 22:52:51 +01:00
Michaël Van Canneyt
0ebb98da7b * Remove debug output 2025-03-03 15:22:32 +01:00
Michaël Van Canneyt
aeef060a0b * Enlarge target os/full variable for wasip1threads 2025-03-03 15:21:13 +01:00
Michaël Van Canneyt
aaf0bf7e19 * wasip1threads needs 14 characters 2025-03-03 14:59:49 +01:00
ccrause
b0003f71dd Check rjmp destination range. 2025-03-02 19:50:30 +02:00
J. Gareth "Curious Kit" Moreton
a70e4ed9be * x86: "OptPass2ADD" and "OptPass2SUB" now force another iteration if "OptPass2MOV" returned True 2025-03-02 14:00:57 +00:00
J. Gareth "Curious Kit" Moreton
f85aa24ad0 * x86: Refactoring register update code in "OptPass2ADD" and "OptPass2SUB" 2025-03-02 14:00:57 +00:00
J. Gareth "Curious Kit" Moreton
b2dd980329 * x86: Fixed bug where flags register wasn't tracked during
long-range "AddMov2LeaAdd" and "SubMov2LeaSub" optimisations
2025-03-02 14:00:57 +00:00
J. Gareth "Curious Kit" Moreton
5536810075 * x86: Fixed bug where "aoc_ForceNewIteration" wouldn't update the registers properly in some circumstances 2025-03-02 14:00:57 +00:00
florian
7878a7b390 * better error reporting
* indentation
2025-03-02 14:58:48 +01:00
ccrause
a43f1bc1d0 Change branch and jump destinations to byte based distances. 2025-03-02 14:43:33 +02:00
florian
4200ebd748 * another ; after then removed, hopefully finally resolves #41171 2025-03-02 12:59:45 +01:00
florian
b4b4896f7f * ensure result is set 2025-03-01 22:33:11 +01:00
florian
2679972f38 * factor out TRVCpuAsmOptimizer.OptPass1SLTIU 2025-03-01 22:24:13 +01:00
Michaël Van Canneyt
0df9da502b * Correct errors like "then;" . Fixes issue #41171 2025-03-01 20:49:54 +01:00
florian
2ef405b3e5 * avoid that not explicitly as vectors marked arrays end up in registers where they are handled not properly 2025-02-28 22:15:16 +01:00
Nikolay Nikolov
4ac20ba523 + added tf_no_pic_supported to the WASI platforms 2025-02-28 15:12:21 +02:00
Nikolay Nikolov
d1dbbc0a35 + also handle system_wasm32_wasip1threads in the compiler anywhere system_wasm32_wasip1 is handled 2025-02-28 15:12:21 +02:00
Nikolay Nikolov
51035eb0f4 + added system_wasm32_wasip1threads to systems_internal_sysinit 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
698e16a12d + added system_wasm32_wasip1threads to systems_wasm 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
b9098d8c5f + register the wasip1threads target in the compiler 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
55d3d1447c * increased string size of tsysteminfo.shortname in order to fit 'wasip1threads' 2025-02-28 15:12:20 +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
4340d03ba9 + compiler support for a new target: wasip1threads 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
32c1f78dc1 * wasi renamed wasip1 in the compiler help screen 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
251ca6b658 * ifdef on wasip1 when setting the source OS info to wasip1 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
12c494cc0f * update makefiles 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
59ab80bbb0 + add WASI as extra define for the wasip1 target 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
5a32b7159e * system_wasm32_wasi_info renamed system_wasm32_wasip1_info 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
2bc965ee28 * the name string of the WASI target changed from 'The WebAssembly System Interface (WASI)' to 'The WebAssembly System Interface Preview 1 (WASI 0.1)' 2025-02-28 15:12:19 +02:00
Nikolay Nikolov
e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 2025-02-28 15:12:19 +02:00