Commit Graph

69288 Commits

Author SHA1 Message Date
J. Gareth "Curious Kit" Moreton
01246e4d30 * Fixed issue where Val shortcutting would not compile under 32-bit systems 2024-01-14 03:43:39 +00:00
J. Gareth "Curious Kit" Moreton
0418078805 * Added unsigned versions of the "tval" tests 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
e6d32f9f36 * Added new "tval2" test that assigns constant string symbol 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
d8079ea239 * New "tval1" test to verify that Val with constants works properly 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
6597f02ebc * The "Val" intrinsic is now simplified for string constants akin to a
pure function.
2024-01-13 22:24:08 +00:00
Nikolay Nikolov
a9316b1953 - removed the DEBUG_WASM_GOTO define from the .lpi file 2024-01-14 00:21:40 +02:00
Sven/Sarah Barth
377bc0d311 * access the legacy method table using the correct alignment 2024-01-12 23:49:47 +01:00
Sven/Sarah Barth
bb5b9acbb2 * ensure that TObject.FieldAddress returns the same values as accessing the RTTI directly 2024-01-12 23:49:46 +01:00
Nikolay Nikolov
1fecb46c52 - removed the ENABLE_WASM_INTERNAL_LINKER define from the .lpi file 2024-01-12 21:17:49 +02:00
Michaël Van Canneyt
5f9bcc2405 * Fix typo in enumeration value rloHTTP 2024-01-12 10:09:15 +01:00
Rika Ichinose
e4a0b1adb4 Use ERMS in all eligible cases, again.
Namely, when Move.count > NtThreshold but move distance is too short. 8310b169b7 messed with the logic and made this case fall back to a regular loop instead of more preferable ERMS.
2024-01-11 21:51:44 +00:00
mattias
70311bffc6 pastojs: less hints 2024-01-11 19:03:17 +01:00
Pierre Muller
637c34571e Avoid range check error in AddNormalStringDef 2024-01-10 23:24:46 +01:00
Michaël Van Canneyt
b4d4c30a45 * Initialize result in CountConnections 2024-01-10 15:53:13 +01:00
Michaël Van Canneyt
107299648f * micro optimization using BsfDWord as proposed in #40590 2024-01-10 10:02:10 +01:00
Michaël Van Canneyt
08b7881083 * Nano optimization. Fixes #40590 2024-01-10 09:46:25 +01:00
Michaël Van Canneyt
c2383fc207 * Correct casing. Fixes #40589 2024-01-10 09:43:51 +01:00
Nikolay Nikolov
a8b4c0772c * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 2024-01-10 03:11:13 +02:00
Pierre Muller
2c622e2fe6 * rtl/macos/dos.pp: Remove unused unixutil in _USES clause of rtl/macos/dos.pp source.
* rtl/macos/Makefile.fpc: Update dependency list DOS_DEPS: remove unixutil and add missing macostp.

* rtl/macos/Makefile: Regenerate.
2024-01-09 11:42:18 +01:00
Karoly Balogh
19fe377455 m68k: fix tw40182 test 2024-01-09 10:57:11 +01:00
Karoly Balogh
88ffc9e228 m68k: refactored the optimizer to avoid direct asml management where possible, and use standard functions instead 2024-01-09 03:03:27 +01:00
Pierre Muller
e13625d562 Revert move of packages/fcl-process/src/win/pipes.inc to packages/fcl-process/src/winall directory: wince should use dummy/pipes.inc file 2024-01-08 20:05:38 +00:00
Jonas Maebe
60e77de115 LLVM: remove flags used to support older LLVM versions 2024-01-08 19:33:28 +01:00
Pierre Muller
2eaa6c5ced Add handling of packages/fcl-process/src/amicommon directory 2024-01-08 17:46:23 +01:00
Pierre Muller
848c3a252e Add fcl-process/src/winall include directory for Windows targets 2024-01-08 17:25:30 +01:00
marcoonthegit
66520ad5ab * add dragonfly and openbsd to cnetdb target list 2024-01-08 15:29:21 +01:00
Karoly Balogh
020ca55e25 m68k: add more cases, where TST instructions can beoptimized away, because the previous instruction already sets all the required flags 2024-01-08 15:06:38 +01:00
Karoly Balogh
3c57eb42f9 do not display the changing assembler note, if the internal and the external assemblers are the same, or there's no internal assembler defined 2024-01-08 14:19:20 +01:00
Karoly Balogh
db137d0528 tabs to spaces cosmetics, no functional change 2024-01-08 14:19:20 +01:00
Pierre Muller
e429be38e8 Fix compilation of fcl-process for wince target OS, FIXME: untested :-( 2024-01-08 11:28:20 +01:00
Karoly Balogh
6ef3aef5f2 m68k-sinclairql: regenerated Makefile 2024-01-08 02:22:15 +01:00
Karoly Balogh
21156bc5d3 m68k-sinclairql: fixed the installation of many units that are otherwise built 2024-01-08 02:22:15 +01:00
Karoly Balogh
a1863d8dc8 m68k-sinclairql: also build the various softfpu flavors for the QL 2024-01-08 02:22:15 +01:00
Karoly Balogh
be4e5f240c m68k-sinclairql: make heaptrc compile for the QL 2024-01-08 02:22:15 +01:00
Karoly Balogh
3b7a347169 m68k-human68k: regenerated Makefile 2024-01-08 02:22:15 +01:00
Karoly Balogh
919b556049 m68k-human68k: fix installation of sysconts and heaptrc units 2024-01-08 02:22:15 +01:00
Nikolay Nikolov
fbcd90f286 + generate DWARF debug info for WebAssembly locals 2024-01-08 01:18:35 +02:00
Pierre Muller
3edd92dab1 Examinc OPT and CROSSOPT instead of FPCOPT in [prerules] to check if syscall unit needs objpas dependency 2024-01-07 23:23:49 +01:00
Michaël Van Canneyt
82ac429954 * Fix missing escape for dollar sign 2024-01-07 20:19:38 +01:00
Sven/Sarah Barth
170c05592b * ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64) 2024-01-07 18:09:51 +01:00
Sven/Sarah Barth
98a25439c3 + add a test that checks for correct working of the legacy method table 2024-01-07 18:09:51 +01:00
Sven/Sarah Barth
7163a893e9 * search using the real package name instead of the uppercased one so that an as-is cased package will be found as well 2024-01-07 18:09:50 +01:00
florian
7bb9638094 * copyright year updated 2024-01-07 17:58:52 +01:00
florian
f7bfa0e426 * range checking is already performed in pass_typecheck 2024-01-07 17:51:35 +01:00
florian
dbf6527508 * factor out pointer_dec 2024-01-07 17:32:50 +01:00
J. Gareth "Curious Kit" Moreton
1f178d381f * x86: PostPeepholeOptMov attempts to convert mov $0,%reg to
xor %reg,%reg and mov $-1,%reg to or $-1,%reg under
	 -Os even if the flags are in use by looking ahead.
2024-01-07 14:29:42 +00:00
J. Gareth "Curious Kit" Moreton
63879e74cd * x86: Additional TEST/CMP optimisations to optimise CMOV blocks
that aren't optimal due to register pressure
2024-01-07 14:29:42 +00:00
J. Gareth "Curious Kit" Moreton
0b6faeba68 * x86: CMOV block optimisation overhauled 2024-01-07 14:29:42 +00:00
Pierre Muller
9dc75c3005 Avoid double declaration of seterrno 2024-01-07 14:40:04 +01:00
Pierre Muller
b1e1a107d3 Fix compilation of syscall unit for i386-beos target 2024-01-07 14:13:03 +01:00