svenbarth
e90cf131fe
* fix for Mantis #37844 : prefer to use the symtable determined in generate_specialization_phase1 for procdefs as that might a withsymtable that is needed to correctly load Self later on
...
+ added test
git-svn-id: trunk@47101 -
2020-10-12 16:55:14 +00:00
svenbarth
2f877218b4
* fix test: TThread.WaitFor calls CheckSynchronize as well, so the thread needs to signal when it's done with removing entries from the queue
...
git-svn-id: trunk@47084 -
2020-10-11 12:38:16 +00:00
florian
56c58b517d
* is_signed does not check the ordtype but the ranges, so it cannot be used to
...
check for valid types for cvtsi2sd/s
git-svn-id: trunk@47083 -
2020-10-11 09:10:42 +00:00
florian
99d3651da9
* generate simplified code for unary minus when sse/avx is used
...
git-svn-id: trunk@47082 -
2020-10-10 21:08:16 +00:00
florian
23af096ef6
* copy only the instruction table related inc files during make insdat
...
git-svn-id: trunk@47081 -
2020-10-10 21:08:16 +00:00
florian
a3920d5356
* proper change information for avx-512 vcvt* instructions
...
git-svn-id: trunk@47080 -
2020-10-10 21:08:15 +00:00
florian
f284a6eda9
* improved (V)MOVA*(V)MOVA*2(V)MOVA* 2 optimization
...
git-svn-id: trunk@47079 -
2020-10-10 21:08:14 +00:00
florian
a8b387a166
+ make use of avx-512 instructions vcvtuis2s* if possible
...
git-svn-id: trunk@47078 -
2020-10-10 21:08:13 +00:00
florian
ad8b2eaf8a
* mm registers 16-31 are also volatile during a call
...
git-svn-id: trunk@47077 -
2020-10-10 21:08:12 +00:00
florian
c2684c0dc3
* use V* instructions if possible
...
* fix i386 compilation
git-svn-id: trunk@47076 -
2020-10-10 13:50:35 +00:00
florian
00c6d530b5
* test needs delphi mode apparently
...
git-svn-id: trunk@47075 -
2020-10-10 13:50:35 +00:00
florian
cf153b0854
* use (V)XORPS/D for unary minus
...
git-svn-id: trunk@47074 -
2020-10-10 13:50:34 +00:00
florian
8e62bf649e
* load 0.0 by (V)XORPS/D instead of (V)PXOR in mm registers
...
git-svn-id: trunk@47073 -
2020-10-10 13:23:35 +00:00
florian
f3a660212d
* avx-512 has 32 mm registers
...
git-svn-id: trunk@47072 -
2020-10-10 13:23:34 +00:00
florian
c2c7c23f21
* fix #35841 also for break and continue
...
git-svn-id: trunk@47070 -
2020-10-09 20:55:38 +00:00
michael
be371d901c
* test for new split option
...
git-svn-id: trunk@47069 -
2020-10-09 11:33:57 +00:00
michael
5283049a62
* Patch from Werner Pamler to implement TStringSplitOptions.ExcludeLastEmpty
...
git-svn-id: trunk@47068 -
2020-10-09 11:21:30 +00:00
florian
73c041a854
* patch by J. Gareth Moreton: propagate exit use in nested try...except statements,
...
resolves #35841
git-svn-id: trunk@47066 -
2020-10-08 20:38:19 +00:00
svenbarth
5e6b4cd2cd
+ add ability to specify a SQLite VFS when opening a SQLite database
...
git-svn-id: trunk@47065 -
2020-10-08 15:44:17 +00:00
michael
48747bd161
* Patch to change numeric constant to symbolic constant for file mode (bug ID 37889)
...
git-svn-id: trunk@47064 -
2020-10-08 12:42:34 +00:00
florian
e4f53a7e41
* don't do illegal type conversions on GetNextInstructionUsingReg results
...
git-svn-id: trunk@47063 -
2020-10-07 19:48:35 +00:00
michael
0baf7db5e4
* Fix bug where position is not advanced when calling ReadAnsiString/ReadString
...
git-svn-id: trunk@47061 -
2020-10-07 10:15:13 +00:00
Mattias Gaertner
8ca7446bf0
pastojs: fixed anonymous asm proc in mode delphi
...
git-svn-id: trunk@47060 -
2020-10-06 21:40:52 +00:00
michael
29b6e4d6de
* Start of write tests by Joe Care, case writing (bug id 0037834)
...
git-svn-id: trunk@47059 -
2020-10-06 21:08:09 +00:00
florian
c9fcc68ec1
* enable the compiler to optimize away parts of System.PushExceptObject, if System.get_frame is not implemented, i.e. returning nil
...
git-svn-id: trunk@47058 -
2020-10-06 19:43:17 +00:00
florian
ab9fa2012b
* inline more aggressively, if the ie for the initial change re-appears, it must be fixed differently
...
git-svn-id: trunk@47057 -
2020-10-06 19:43:16 +00:00
michael
722e8d94cd
* Error when seek fails
...
git-svn-id: trunk@47056 -
2020-10-06 08:09:50 +00:00
michael
d5cbe6809b
* Add GetFileContents and GetFileAsString
...
git-svn-id: trunk@47055 -
2020-10-06 07:59:09 +00:00
florian
549bc49c4a
+ more pxor/vpxor optimizations
...
git-svn-id: trunk@47054 -
2020-10-05 20:11:42 +00:00
florian
36d21d2d81
+ use pxor/vpxor to load 0.0
...
git-svn-id: trunk@47053 -
2020-10-05 20:11:41 +00:00
michael
a8bc2f6947
* Patch from Henrique Werlang to allow setting log config page
...
git-svn-id: trunk@47052 -
2020-10-05 17:37:45 +00:00
Mattias Gaertner
c4ab6b08cd
fcl-passrc: resolver: check class-is-class for specialization params forward class
...
git-svn-id: trunk@47051 -
2020-10-05 14:48:19 +00:00
Mattias Gaertner
301809cc4a
pastojs: enumrange in set
...
git-svn-id: trunk@47050 -
2020-10-04 22:00:46 +00:00
Mattias Gaertner
c746b0e400
pastojs: enum range built in functions, issue #37860
...
git-svn-id: trunk@47049 -
2020-10-04 21:41:01 +00:00
Mattias Gaertner
1b569bf329
fcl-passrc: resolver: enum range str, ord, typecast
...
git-svn-id: trunk@47048 -
2020-10-04 21:40:34 +00:00
florian
e718cb985e
* replace some longint by ObjpasInt
...
git-svn-id: trunk@47047 -
2020-10-04 20:50:39 +00:00
Mattias Gaertner
c62d4e117c
fcl-passrc: resolver: case EnumRg of end; issue #37860
...
git-svn-id: trunk@47046 -
2020-10-04 20:33:17 +00:00
Mattias Gaertner
8771856e7a
fcl-passrc: comment
...
git-svn-id: trunk@47044 -
2020-10-03 17:25:47 +00:00
pierre
399552d350
Refactor setting of NoNativeBinaries:
...
Added NO_NATIVE_COMPILER_CPU_LIST and NO_NATIVE_COMPILER_OS_LIST
Set NoNativeBinaries if target CPU is different from source CPU
and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
Set NoNativeBinaries if target OS is different from source OS
and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
Add FORCE_NATIVE_BINARIES variable to be able to overrule
default behavior of NoNativeBinaries=1
git-svn-id: trunk@47043 -
2020-10-03 15:27:57 +00:00
florian
963fe73d19
+ support all XSAVE instructions, resolves #37864
...
git-svn-id: trunk@47042 -
2020-10-03 14:51:31 +00:00
pierre
0685319be8
Treat metadata as data in agppcmpw.pas
...
git-svn-id: trunk@47041 -
2020-10-03 14:23:52 +00:00
Mattias Gaertner
65bcfe36b3
fcl-json: fixed writing boolean lowercase, as expected by reader
...
git-svn-id: trunk@47040 -
2020-10-03 13:42:43 +00:00
Mattias Gaertner
18f5fab782
fcl-passrc: fixed typecast TList<TBird> to TList<TEagle>
...
git-svn-id: trunk@47039 -
2020-10-03 13:19:46 +00:00
Mattias Gaertner
fdd3d163ff
fcl-passrc: fixed mem leak specialize with param self
...
git-svn-id: trunk@47038 -
2020-10-03 13:05:15 +00:00
Károly Balogh
bb51a2134a
z80-zxspectrum: fix the the linking order in the bss section, so the startup code doesn't crash when linked with vlink
...
git-svn-id: trunk@47036 -
2020-10-03 01:38:01 +00:00
florian
e47f44234c
* AVR: MovMov2Mov 2 optimization
...
git-svn-id: trunk@47035 -
2020-10-02 20:13:17 +00:00
florian
3463d469bf
* set default processor for i386 to Pentium2
...
git-svn-id: trunk@47034 -
2020-10-02 19:40:09 +00:00
florian
65047cecdb
+ optimize comparisons of constant pointers
...
git-svn-id: trunk@47031 -
2020-10-01 20:33:03 +00:00
florian
af20b064ed
* make framecount and framebufsize dependent on the pointer size
...
git-svn-id: trunk@47030 -
2020-10-01 20:33:03 +00:00
florian
1bf58c2a55
+ introduce TExitCode
...
git-svn-id: trunk@47029 -
2020-10-01 20:33:02 +00:00