Commit Graph

70555 Commits

Author SHA1 Message Date
Nikolay Nikolov
28b080d9bc + emit a size directive for the internal dynarray const label. This fixes
WebAssembly dynarray consts with the llvm-mc external asm.
2024-09-01 22:29:34 +03:00
florian
ed07cd14b2 * fix standalone compilation
* cosmetics
2024-09-01 20:19:07 +01:00
Nikolay Nikolov
293ddffebd + disable the WebAssembly type checker for all LLVM-MC versions since version 13 2024-09-01 21:20:43 +03:00
Nikolay Nikolov
342ede81ee * WebAssembly code generator: don't emit a return instruction at the end of the
function, because it's redundant
2024-09-01 20:28:42 +03:00
Rika Ichinose
ce5a632432 Remove the rest of the VER3_0 conditionals. 2024-09-01 17:13:39 +00:00
Nikolay Nikolov
6ab6d613e0 + add explicit support for LLVM-MC versions 15..18 2024-09-01 20:10:54 +03:00
Nikolay Nikolov
a76ca8f60e + pass '--no-type-check' to llvm-mc-13, because its type checking is broken 2024-09-01 20:03:29 +03:00
Nikolay Nikolov
5e327453a8 + WebAssembly external asm writer: workaround for the 'missing functype' error,
produced by LLVM-MC versions 13 and above
2024-09-01 19:52:50 +03:00
Michaël Van Canneyt
9956cafa65 * Allow vendor specific registry XML files. Patch by Iluha Companets. Fixes issue #40910 2024-09-01 11:40:16 +02:00
florian
4fea0e355e + apply OptPass1FData on FRINT* 2024-08-31 21:51:15 +01:00
Rika Ichinose
cd2c8a6539 Faster RTTIManagementAndSize -_-. 2024-08-31 11:34:49 +03:00
Pierre Muller
8a38755dab Add SEPLOG make variable, and add it to LOGFILES value 2024-08-30 22:57:57 +02:00
Pierre Muller
26a49835b5 Use seplog name for separate chunck output file 2024-08-30 22:57:57 +02:00
Pierre Muller
2db7b8d565 announce start of each chunk 2024-08-30 22:57:57 +02:00
Pierre Muller
7e07a36fe4 Rename separate logs to use sep_log prefix 2024-08-30 22:57:57 +02:00
Pierre Muller
70998b6720 Use MAKEINC_SEPARATE to enable use of '-f' option of gparmake, to redirect dotest output to separate log files 2024-08-30 22:57:57 +02:00
Pierre Muller
e60bf232b9 Add '-f' option to gparmake, to redirect dotest output to separate log files 2024-08-30 22:57:57 +02:00
Pierre Muller
9f69dd28b4 Allow to pass antoher exitcode to fail utility by command line first parameter 2024-08-30 22:57:56 +02:00
Pierre Muller
34a18adea6 Set Result to false at ExecuteRedir function entry 2024-08-30 22:57:56 +02:00
Pierre Muller
b36c8199bd Add non-empty UniqueSuffix also as string prefix to all Verbose procedure calls 2024-08-30 22:57:56 +02:00
Michaël Van Canneyt
3b0d2b329a * Webassembly HTTP request API 2024-08-30 22:51:21 +02:00
florian
d8278b1699 * make typing more consitent; cosmetics 2024-08-30 21:42:07 +01:00
Pierre Muller
b40d312521 Recompile rtl before trying to compile msg2inc binary 2024-08-29 22:48:15 +02:00
Pierre Muller
94d7aeb998 Add msg as prerequisite for compiler to fix 'make distclean all' failure 2024-08-29 22:41:40 +02:00
florian
7d1bb89455 * patch by Alexander (Rouse_) Bagel: TArrayHelper.BinarySearch, when searching
for an element that is obviously missing from the array, should return
    the position where the element should have been, but instead it reset AFoundIndex to -1, resolves #40867
2024-08-29 21:18:57 +01:00
florian
90cc6db5cb * armv7 should a synonyme for arm7a 2024-08-28 20:27:09 +01:00
Pierre Muller
c88873cd46 Add missing Makefile for h68units, testinsight and wasm-oi packages 2024-08-28 09:21:24 +00:00
Pierre Muller
d40aac6cca Implement regeneration of compiler msgidx.inc and msgtxt.inc files for IDE if needed 2024-08-27 21:57:55 +00:00
florian
f81ce16d2a + AArch64: apply OptPass1FData also to FCSEL 2024-08-27 20:22:53 +01:00
J. Gareth "Curious Kit" Moreton
096d5f50b2 * arm / a64: New optimisation for removing the number of necessary S/UXTB/H instructions 2024-08-27 18:32:14 +00:00
J. Gareth "Curious Kit" Moreton
b1a9150160 * arm / a64: Factored out common conditional checks in "OptPass1UXTB",
"OptPass1SXTB", "OptPass1UXTH" and "OptPass1SXTH" to
               improve performance.
2024-08-27 18:32:14 +00:00
Rika Ichinose
6de766e40a Redesign RTTISizeAndOp to return more useful information. 2024-08-27 14:44:48 +03:00
Michaël Van Canneyt
97b61b64c3 * Fix compilation when using unicode rtl 2024-08-27 10:08:48 +02:00
Michaël Van Canneyt
8139c0a8bd * Properly nest beginupdate/endupdate in doaddobject 2024-08-27 09:52:36 +02:00
florian
dd26c1502c * estimate complexity of ordconst node better on RiscV 2024-08-26 21:42:51 +01:00
Alligator-1
00d5351b55 partial revert 2024-08-26 20:20:57 +00:00
mattias
887826cd7c fcl-css: test scan -10.2e+2 2024-08-26 19:01:10 +02:00
Alligator-1
8c3829e698 nostackframe 2024-08-26 13:02:45 +00:00
mattias
37ad2c42ef fcl-css: fixed parsing attribute value hex color 2024-08-26 13:51:08 +02:00
Nikolay Nikolov
54d65ff75c * WebAssembly: fixed crash when attempting to generate a functype directive for
a generic function
2024-08-25 20:49:55 +03:00
Nikolay Nikolov
7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 2024-08-25 19:58:05 +03:00
Nikolay Nikolov
b6527c6c03 + WebAssembly: check for exceptions after call of fpc_rangeerror in branchful
exceptions mode. This fixes catching of ERangeError exceptions when using
  SysUtils and runtime errors are converted to exceptions.
2024-08-25 13:43:50 +03:00
Nikolay Nikolov
58a3f2ef64 * WebAssembly: changed the generated code in a_op_reg_reg_reg_checkoverflow to
avoid using a label
2024-08-25 13:23:45 +03:00
Rika Ichinose
d7352e7b66 Remove most of the VER3_0 conditionals. 2024-08-25 09:44:11 +00:00
Nikolay Nikolov
7a1c50ff87 * fix warning 2024-08-25 12:20:55 +03:00
Nikolay Nikolov
d2785117df * WebAssembly: fixed overflow checking for unsigned subtraction 2024-08-25 11:48:53 +03:00
Nikolay Nikolov
4f42553cb3 * fix bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow when either src1 or src2
is the same as dst
2024-08-25 11:33:33 +03:00
florian
0735ac0d1f * throw an error in iso/extended pascal mode if enum types are passed to writeln, resolves #40896 2024-08-24 22:14:43 +02:00
marcoonthegit
4b4e40dbc9 * fixes #40893 using Otherfiles parameter to fpdoc with CHM backend. 2024-08-24 17:25:51 +02:00
mattias
0a6344270a fcl-css: comment 2024-08-24 16:43:42 +02:00