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
Michaël Van Canneyt
859fa9fe8f
* Some fixes in code generation
2024-01-07 14:02:53 +01:00
mattias
c90503812a
fcl-js: fixed TBufferWriter on nodejs
2024-01-07 13:48:46 +01:00
mattias
20ac72e7aa
pastojs: fixed parsing multi line comment
2024-01-07 12:53:48 +01:00
mattias
03d7518b9b
pas2js: updated nodepas2js and compile with ecmascript6
2024-01-07 12:53:20 +01:00
Nikolay Nikolov
e3f4bad164
* fixed internal linker crash if no tags are defined (i.e. no WASM native exceptions used)
2024-01-07 03:29:32 +02:00
Nikolay Nikolov
9681378d37
+ enable the WASI internal linker
2024-01-07 03:17:07 +02:00
Nikolay Nikolov
93365f7e38
* wasm internal linker: produce an internal error on unknown relocations
2024-01-07 02:41:53 +02:00
Nikolay Nikolov
cd72a8910e
+ wasm internal linker: implemented RELOC_TAG_INDEX_LEB relocations
2024-01-07 02:39:57 +02:00
Nikolay Nikolov
4084da63ab
+ wasm internal linker: create the tag section (if not empty)
2024-01-07 02:35:35 +02:00
Nikolay Nikolov
033a2ae2e7
* wasm internal linker: set mempos of the .wasm_tags (and .wasm_globals) section to 0
2024-01-07 02:12:49 +02:00