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
florian
bd104270ae
* clean up
2022-01-19 22:02:58 +01:00
florian
07cd469ade
Merge branch 'main' into val_range_check
...
# Conflicts:
# rtl/inc/sstrings.inc
2022-01-19 21:30:58 +01:00
florian
713074ded5
* test does not need to use sysutils anymore
2022-01-19 21:25:00 +01:00
Nikolay Nikolov
b407b67ca1
* regenerate all makefiles with latest fpcmake
2022-01-19 07:08:32 +02:00
Sven/Sarah Barth
c59b6a5d8d
* High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction)
2022-01-18 23:39:31 +01:00
florian
c062061d6d
+ MovapXComisX2ComisX2 optimization
2022-01-18 23:05:20 +01:00
ccrause
4640120dbd
esp32.rom.api.ld was only introduced in esp-idf v4.3. Remove invalid linker search path.
2022-01-18 21:34:26 +00:00
ccrause
73287c35d2
GenerateDefaultLinkerScripts should set out_ld_filename.
2022-01-18 21:34:26 +00:00
ccrause
a9d883ada1
Add link unit for esp-idf v4.1. Version checks to allow for different patch levels in idf_version.
2022-01-18 21:34:26 +00:00
mattias
d76cfdd913
pas2js: compileserver: added commandline param --version
2022-01-18 16:54:45 +01:00
Sven/Sarah Barth
f8aaab3cd7
* regenerate packages\wasmtime with an up to date fpcmake
2022-01-18 07:38:54 +01:00
florian
718709c87d
* all val helpers now use the ValValueArray
2022-01-17 22:46:19 +01:00
florian
2f8750924f
* patch by Bart B: fixes fpc_val_word_shortstr() and refactors fpc_val_longword_shortstr() so that it uses the same algorithm and naming conventions as the other unsigned val-helpers.
2022-01-16 23:08:37 +01:00
J. Gareth "Curious Kit" Moreton
32d6cf7093
Fixed and refactored MOVX optimisation that occasionally caused crashes on i386 platforms
2022-01-16 20:04:53 +00:00
Rika Ichinose
0634d5349d
* add const
2022-01-16 17:24:48 +01:00
Rika Ichinose
92771760b7
Get rid of some global variables.
2022-01-16 17:17:23 +01:00
florian
5f089afdfb
* unified ValueArray
2022-01-15 22:36:57 +01:00
florian
e19b45a71b
* tests fixed after last commit
2022-01-15 22:30:25 +01:00
florian
55f0103248
o patch by Bart B:
...
* fixes fpc_Val_UInt_Shortstr, part of #15633
* fpc_val_qword_shortstr uses the ValueArray constant
2022-01-15 22:18:38 +01:00
florian
6dd0a1c078
* year of copyright updated to 2022
2022-01-14 22:56:09 +01:00
mattias
ec1766ac3f
pas2js: compileserver: added cmd line option interface
2022-01-14 15:47:12 +01:00
mattias
52e30aa332
pas2js: compileserver exitcode 1 on ESocketError
2022-01-14 15:47:12 +01:00
Michaël Van Canneyt
6cc82086a9
* Patch from Laco to add tests
2022-01-14 15:41:48 +01:00
Michaël Van Canneyt
fecc6db4c2
* AsString takes into account empty true or false. Fix issue #39371
2022-01-14 10:05:28 +01:00
Michaël Van Canneyt
d9996607b8
* Displayvalues can omit false part. Fix issue #39371
2022-01-14 10:01:23 +01:00