Commit Graph

64225 Commits

Author SHA1 Message Date
J. Gareth "Curious Kit" Moreton
29625c7112 Fixed registers in references not being tracked properly in MovMovXX2MovXX 1 optimisation 2022-01-28 20:17:24 +00:00
J. Gareth "Curious Kit" Moreton
f8e04aad03 CMOV now modifies rather than writes to the destination register so RegUsedAfterInstruction behaves properly 2022-01-28 20:17:24 +00:00
J. Gareth "Curious Kit" Moreton
69fff102af Added correct flag tracking for JccMov2CMov optimisations 2022-01-28 20:17:24 +00:00
Michaël Van Canneyt
4d5d1c8e10 * Demo authenticator app 2022-01-28 12:24:05 +01:00
Michaël Van Canneyt
2391d317bc * Sample to demonstrate generating/showing/checking a TOTP 2022-01-28 11:37:30 +01:00
florian
d5d9716916 * fix thlcgxtensa.g_intf_wrapper as proposed by Anton in #39326, resolves #39326 2022-01-27 22:37:31 +01:00
Sergey Larin
ee2d313aa0 Added TranslatePlaceholderCP in fpc_Read_Text_AnsiStr procedure.
This is a small optimization.
2022-01-26 20:28:17 +00:00
Sergey Larin
a8b0e0ed65 Added TranslatePlaceholderCP before Wide2AnsiMoveProc call.
In the fpc_setstring_ansistr_pwidechar procedure, before calling Wide2AnsiMoveProc, the translation cp = 0 to the DefaultSystemCodePage has been added.
Note: In all other places such translation is present.
2022-01-26 20:28:17 +00:00
Nikolay Nikolov
68cd1c3973 + define USE_NOTHREADMANAGER in the WASI system unit 2022-01-26 16:39:29 +02:00
Nikolay Nikolov
9579759f01 + added wasi to the list of targets without thread support 2022-01-26 15:39:24 +02:00
Ionut Stoica
bef4da339a fphttpclient - only handle Unix in conditional compilation for UnixSocketPath feature 2022-01-26 08:33:08 +01:00
Karoly Balogh
f12fcc9e06 * rtl/atari: do not default to tinyheap for now. the compiler itself doesn't work with tinyheap for some reason 2022-01-26 01:06:01 +01:00
Karoly Balogh
1e90a4db3e * rtl/atari: get rid of the old prt0.as startup code, which is not in use any more. this way, we do not require GAS any more for a build 2022-01-26 00:01:30 +01:00
Karoly Balogh
6010ece532 * m68k-atari: make vasm the default assembler. also don't claim we have an internal linker 2022-01-25 23:50:07 +01:00
Karoly Balogh
a87b38f753 * m68k-atari: make the Atari target always default to VLink, even for crosscompilers 2022-01-25 23:50:07 +01:00
Karoly Balogh
ed2dca9a9b * m68k-atari: make the Atari target use 68000 CPU as default 2022-01-25 23:50:07 +01:00
Karoly Balogh
9739a88e11 * regenerated message includes 2022-01-25 23:50:07 +01:00
Karoly Balogh
b3cbf07f27 + m68k-atari: fixed bogus TOS program flags passed to VLink. added -WF argument to allow the user to specify their own flags if needed 2022-01-25 23:50:07 +01:00
Pierre Muller
ca8a94e693 Disable utils tply package for all wasm32 targets as it uses goto's 2022-01-25 22:02:56 +00:00
Pierre Muller
91f29419a5 Avoid use of fastmath optimization inside compiler 2022-01-25 21:50:03 +00:00
Ionut Stoica
54efcc4bbb Client support of HTTP over unix socket 2022-01-25 17:38:35 +01:00
Karoly Balogh
88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 2022-01-25 12:04:49 +01:00
Nikolay Nikolov
c4f9ec91c9 + fix support for 8-byte records, held in a register pair on the WebAssembly target. This fixes #39524 2022-01-25 13:03:35 +02:00
Pierre Muller
40cf71c9a5 Disable h2pas utils package for wasm32 as this CPU does not support goto 2022-01-24 18:25:51 +00:00
Pierre Muller
140fe74efb Add possibility to pass jvm target compilation parameters and clean up if no problem is detected 2022-01-24 16:35:33 +00:00
Pierre Muller
9c20a033e0 Fix fullinstall make target 2022-01-24 15:16:26 +00:00
Florian Klämpfl
773babd45d + test for already fixed bug so this avoids that is is reintroduced 2022-01-23 20:11:12 +01:00
florian
2a7744df80 * check also for 64 bit registers in TX86AsmOptimizer.RegModifiedByInstruction 2022-01-23 12:30:30 +01:00
Michaël Van Canneyt
7097a1030f * Added Read64/Write64 2022-01-23 12:18:43 +01:00
Michaël Van Canneyt
042eb7e8c1 * Small safety precaution 2022-01-23 12:03:24 +01:00
Sergey Larin
e27ea76b88 The TStream.ReadBuffer and TStream.WriteBuffer methods have changed the Count parameter type to NativeInt.
Changed the implementation of ReadBuffer, WriteBuffer so that the size of the blocks when calling Read and Write does not exceed High(Longint).
Notes:
- Thanks to this change, for example, a file larger than 2GB can be loaded into TMemoryStream.
- The fact that the Count parameter has the NativeInt type is compatible with the latest versions of Delphi.
2022-01-23 10:25:55 +00:00
Robert Roland
fbc65314b9 Correct linker script for aarch64-embedded
Start address was wrong, should be 0x80000, not 0x8000
2022-01-22 22:28:38 +01:00
Sven/Sarah Barth
1a8444087a * ensure that result of factor_handle_sym is initialized 2022-01-22 22:28:01 +01:00
Sven/Sarah Barth
5ce96de0f2 * ensure that an expression that involves an overloaded generic in mode Delphi isn't handled as a specialization if it shouldn't be
+ added tests
2022-01-22 20:27:01 +01:00
Sven/Sarah Barth
d4e0a79d9e * move the handling of the symbol found in factor_read_id to a separate function 2022-01-22 20:27:01 +01:00
florian
366aedc6d8 * more false positives of unintialized varibles worked around 2022-01-22 17:36:19 +01:00
marcoonthegit
45840da4dd * fixed spelling error implicitEly in errore.msg, regenned msg. 2022-01-22 17:00:24 +01:00
florian
115f83794b * avoid warning/error on uninitialized variable 2022-01-22 14:13:59 +01:00
Michaël Van Canneyt
30b0d98636 * Change return type of some functions, so -1 can actually be returned, patch by Zeljko Avramovic (issue 39268). 2022-01-22 11:17:44 +01:00
Rika Ichinose
986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. 2022-01-21 22:13:39 +01:00
florian
2e8321e0fa + routines to test for AVX512VNNI and AVX512BITALG support 2022-01-21 18:23:04 +01:00
marcoonthegit
7238985091 * spelling fix to make Debian Lintian happy. 2022-01-21 12:51:24 +01:00
Sven/Sarah Barth
2e70bd7dcb * change cgsize2subreg and reg_cgsize on Z80 to behave more like they do on AVR; this fixes compilation of Z80 now that the array and string length fields are indeed of type SizeSInt instead of OSSInt 2022-01-21 07:40:22 +01:00
florian
a6921fff7b + Aarch64: SxthSxtw2Sxth optimization 2022-01-20 22:15:14 +01:00
florian
a362c93f73 * Aarch64: operations affect always the full 64 bit register, so
TCpuAsmOptimizer.RegLoadedWithNewValue can use SuperRegistersEq
2022-01-20 22:15:14 +01:00
florian
a7a689ca16 * fpc_AnsiStr_To_ShortStr: set length before moving, should result in better memory access pattern 2022-01-20 22:14:33 +01:00
Pierre Muller
9b7f24841c Fix compilation of jvm-java and jvm-android rtl 2022-01-20 18:02:00 +00:00
florian
cecb24344c Merge branch 'main' into val_range_check 2022-01-19 22:20:24 +01:00
florian
63d8282f8f * do not use sysutils anymore 2022-01-19 22:03:24 +01:00
florian
02abad58d8 * some fixes for 8 Bit CPUs 2022-01-19 22:03:09 +01:00