florian
421d67556a
+ set pi_do_call on loongarch64 as well if we check for fpu exceptions
2024-02-15 22:47:31 +01:00
florian
1ee9a39fe2
+ lazarus project for a loongarch64 compiler
2024-02-15 22:47:31 +01:00
Michaël Van Canneyt
2e9a846543
* The order of calling class constructors is not guaranteed.
...
But LookupExtendedEqualityComparer is called during class constructor of another class.
So it needs to init tables, or it returns a nil result.
This results in a crash when the comparer is used because FEqualitycomparer is nil.
2024-02-15 18:18:53 +01:00
Michaël Van Canneyt
d45556666e
* Properly handle stdout for redir
2024-02-15 14:08:42 +01:00
Michaël Van Canneyt
84e230f6e5
* Remove some hints/warnings, add extra check for poStdErrToOutPut
2024-02-15 14:05:47 +01:00
Michaël Van Canneyt
3165409337
* Extra check for poStdErrToStdOut
2024-02-15 14:00:42 +01:00
Michaël Van Canneyt
58f9dc27ea
* Add test for stderrtooutput
2024-02-15 13:57:05 +01:00
Michaël Van Canneyt
aa4136ce52
* Add TList<T>.list property for Delphi compatibility. Fixes #40642
2024-02-15 12:22:45 +01:00
Pierre Muller
a3b730b0f1
Add POPCNTSupport call to avoid use of unsupported instruction
2024-02-15 09:01:04 +00:00
florian
57f6ed804e
+ set pi_do_call on xtensa as well if we check for fpu exceptions
...
* cosmetics
2024-02-14 23:04:25 +01:00
J. Gareth "Curious Kit" Moreton
f7e4c0f282
* 3-operand LEA instructions are now expanded if the latency could cause slowdown
2024-02-14 20:59:01 +00:00
Michaël Van Canneyt
6d49f7db7b
* Correct UTF8 detection
2024-02-14 20:08:16 +01:00
Michaël Van Canneyt
186f93a8c9
* Add TestStreamFormat
2024-02-14 18:18:21 +01:00
Michaël Van Canneyt
7506277dc1
* Add TReader.SetName for Delphi compatibility
2024-02-14 18:02:45 +01:00
Michaël Van Canneyt
3a1f180a56
* Add delphi-compatible TPointF.EqualsTo overload
2024-02-14 15:30:19 +01:00
Michaël Van Canneyt
2b0d98bf2c
* Add TTouchTracking for Delphi compatibility
2024-02-14 14:38:05 +01:00
Michaël Van Canneyt
2d9ef694dd
* Make TComponent.GetObservers virtual and protected for Delphi compatibility
2024-02-14 14:30:16 +01:00
Michaël Van Canneyt
d1b7a49700
* Move move free notifications to separate procedure. Fixes issue #40638
2024-02-14 12:41:59 +01:00
Michaël Van Canneyt
0211583388
* Fix compilation in dotted units
2024-02-14 11:08:21 +01:00
Michaël Van Canneyt
76648d4022
* Fix compilation in unicode rtl
2024-02-14 11:08:03 +01:00
Michaël Van Canneyt
4af99236b0
* Add TDispatchMessage
2024-02-13 19:57:05 +01:00
Michaël Van Canneyt
b7b665d273
* Implement TFile.OpenText
2024-02-13 19:49:54 +01:00
Michaël Van Canneyt
fe62b3ace8
* Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently
2024-02-13 19:44:36 +01:00
florian
a71cc71585
+ function needs_check_for_fpu_exceptions to unify fpu exception handling
2024-02-13 17:42:21 +01:00
J. Gareth "Curious Kit" Moreton
629c87efc8
* x86-64: Typo fixed in FPU type string array
2024-02-13 14:39:29 +00:00
Michaël Van Canneyt
ef688a3785
* Add EndOfStream property for Delphi compatibility
2024-02-13 09:52:47 +01:00
Michaël Van Canneyt
cc195c649a
* Guard against empty source, fixes build of docs
2024-02-13 09:07:50 +01:00
florian
3ed5a4a022
+ when calling FPC_THROWFPUEXCEPTION in a sub routine, pi_do_call must be set, fixed for aarch64
2024-02-12 23:25:35 +01:00
Michaël Van Canneyt
23ac6c3090
* Make paramdefs owned, so IDE can trace back changes to owning component
2024-02-12 20:54:06 +01:00
Pierre Muller
eae74aaee0
Follow sdas documentation for .ascii limitations by using only printable chars and .byte for others
2024-02-12 14:03:02 +00:00
Pierre Muller
53bf5dc6ef
Avoid wrong typecast by adding check that p1 is an instuction before casting it to taicpu
2024-02-12 10:39:18 +00:00
J. Gareth "Curious Kit" Moreton
271f69db12
* arm/a64: "OptPass2AND" and "OptPass2CMP" adapted to remove vestigial CMP and TST instructions
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
6b2e4fa413
* arm: "OpCmp2OpS" moved to Pass 2 so it doesn't conflict with AND; CMP -> TST optimisation
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
bf29f2051c
* arm/a64: Added new TST post-peephole optimisation to replace previous AND/CMP/B(c) optimisation
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
b18c10d0d8
* arm/a64: New "OptPass2TST" routine to catch "TST; B.c; AND -> ANDS; B.c" optimisation
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
9f19f582c4
* arm/a64: New AND/CMP -> TST or ANDS optimisation
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
29916bc6f6
* arm: Fixed "RegInInstruction" and "RegModifiedByInstruction" not handling the flags properly
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
38d2f3d58c
* a64: Renamed OptPostCMP/And to PostPeepholeOptCMP/AND for internal consistency
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
d7d4b446c1
* FindRegAllocBackward will now return nil if it hits a dealloc for the register first
2024-02-11 21:39:19 +00:00
J. Gareth "Curious Kit" Moreton
1fafcbc125
* New "TryRemoveRegAlloc" optimisation utility
2024-02-11 21:39:19 +00:00
florian
4f82fade82
* extend LeaCallLeaRet2Jmp optimization to work on windows
2024-02-11 18:56:26 +01:00
florian
e7600ee245
* patch by Rika: Small improvements to (a|u)strings.inc, resolves #40364
2024-02-11 16:29:53 +01:00
J. Gareth "Curious Kit" Moreton
62495c964a
* x86: New "aoc_DoPass2JccOpts" option to catch branch and
...
STC/CLC optimisations that only manifest in Pass 2
2024-02-11 15:05:57 +00:00
J. Gareth "Curious Kit" Moreton
2055ef4e88
* x86: STC/CLC optimisations can now handle multiple Jcc instructions
2024-02-11 15:05:57 +00:00
J. Gareth "Curious Kit" Moreton
de03a1b894
* x86: Additional STC/CLC; J(N)C deterministic jump optimisation
2024-02-11 15:05:57 +00:00
J. Gareth "Curious Kit" Moreton
698d432cce
* x86: Separated out Jcc; STC/CLC optimisation and added additional peephole optimisations
2024-02-11 15:05:57 +00:00
J. Gareth "Curious Kit" Moreton
3e06242fd8
* x86: New "STC/CLC; MOV" peephole optimisation
2024-02-11 15:05:57 +00:00
J. Gareth "Curious Kit" Moreton
d06dd2b0ea
* x86: New "Jcc; CLC/STC; .Lbl" optimisation
2024-02-11 15:05:57 +00:00
Rika Ichinose
c29dd86bb2
Remove runtime ABI adapter in x86_64.inc:IndexByte/Word, and save two jumps in the common case.
2024-02-11 15:05:03 +00:00
florian
2575cbc439
* complain about turned off support of c style operators only in the parser,
...
so error recovery is better
2024-02-11 11:05:05 +01:00