Commit Graph

69183 Commits

Author SHA1 Message Date
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
Rika Ichinose
7bf502ad40 Change Mov*DQ to Mov*PS; they are always equivalent because no operations but the memory transfers are performed, and 1 byte shorter each. 2024-02-10 22:47:40 +00:00
Rika Ichinose
12f18177ae Simplify x86_64.inc:Move non-temporal loops, and adjust thresholds for move distances considered too short for NT. 2024-02-10 22:47:40 +00:00
Rika Ichinose
0b5998ee8b Write two last values after 2× loops unconditionally instead of an extra check. 2024-02-10 22:47:40 +00:00
Rika Ichinose
e395166cb7 Check for Move overlaps in more obvious way (that also does no jumps in forward case). 2024-02-10 22:47:40 +00:00
florian
8a48d1bbbc * clean up of arrayconstructor_to_set, the stringdef case didn't work for years and is not tested, so it probably is not supposed to be there at all 2024-02-10 22:16:02 +01:00
Michaël Van Canneyt
cbbcc4356a * Make color distinct from cardinal 2024-02-10 20:23:14 +01:00
marcoonthegit
78eb340a4f * change elfid to 1400097 aka FreeBSD 14.0 2024-02-10 17:02:44 +01:00
florian
bc0d2293a1 * stricter type checking for set constants, resolves #40631 2024-02-09 23:36:44 +01:00
Sven/Sarah Barth
43721f21c4 * fix #40621: when checking for visibility of members then always use the genericdefs for specializations for correct scoping
+ added test
2024-02-09 17:24:39 +01:00
Sven/Sarah Barth
ed8a05d697 * use iscurrentunit only when there isn't a suitable def that the moduleid of the symtables can be compared to 2024-02-09 17:22:46 +01:00
Sven/Sarah Barth
ddc2259e5e * protect against comparisons of nested types of generics and specializations 2024-02-09 17:14:29 +01:00
Sven/Sarah Barth
244d3df869 * make Lazarus' CodeTools happy 2024-02-09 15:10:31 +01:00
Sven/Sarah Barth
75b5e8e63d * fix #40603:
- initialize thrdinfo record using Default() so that padding bytes are zeroed as well
  - correctly pass the count of ULONG_PTRs
2024-02-09 15:08:27 +01:00
Sven/Sarah Barth
2c527cfc01 * fix typos in comment, no code changes 2024-02-09 14:01:00 +01:00
florian
4fd5237c0e * mask FPU exceptions during libxml initialization to avoid an fpu exception with newer libxml, resolves #40622 2024-02-08 23:03:04 +01:00
Michaël Van Canneyt
be7b9a66db * Patch from Werner Pamler to implement GetInternalSize. Fixes issue #40630 2024-02-08 21:27:43 +01:00
Nikolay Nikolov
26855a29c8 * fix warning 2024-02-08 16:54:33 +02:00
Nikolay Nikolov
e073d5f7f7 + implemented support for the local.get, local.set and local.tee instructions in TWasmValidationStacks.Validate 2024-02-08 16:49:45 +02:00
Michaël Van Canneyt
3a5db26abf * Add TRttiEnumerationType for Delphi compatibility 2024-02-07 15:31:00 +01:00
J. Gareth "Curious Kit" Moreton
b4eabbe5ce * x86: Fixed CPU feature flags for AMD Jaguar and Piledriver 2024-02-06 22:15:51 +00:00
J. Gareth "Curious Kit" Moreton
e4bd58d66a * x86: Replaced CPU features array with "cpu_x86_64_v1_flags" where possible 2024-02-06 22:15:51 +00:00
florian
d7a486f225 * comment fixed, hint by Maxim Ganetsky 2024-02-06 22:09:52 +01:00
Michaël Van Canneyt
cde58d66fc * Make GetEnumName safer, check actual type. Allow passing an integer 2024-02-06 18:04:44 +01:00
Pierre Muller
46508f6af1 Add some output to explain failure for test tests/webtbs/tw40624.pp 2024-02-06 13:09:15 +00:00
florian
f80f1112d4 + Zen 4 2024-02-05 23:18:07 +01:00
Nikolay Nikolov
28c4c58b34 * fix warning 2024-02-05 23:35:45 +02:00
Nikolay Nikolov
d7581aa1ee + implemented TWasmValidationStacks.Validate for many (but not all, yet) instructions 2024-02-05 23:29:44 +02:00
Pierre Muller
7ffbbdd50b Fix dummy and wince fcl-process code after commit 54157a17 2024-02-05 07:21:36 +00:00
florian
b6ccf369b9 * patch by Евгений Савин to make Variant to string convertion use CurrToStr for varCurrency, resolves #40624 2024-02-04 14:10:49 +01:00
Rika Ichinose
9ac0a54ad2 Waaay faster TJSONScanner. 2024-02-04 13:18:09 +03:00
Michaël Van Canneyt
299c90b91d * Patch from Martin to set FCloseHandleOnExecute before invoking OnGetHandle - the handler might change it 2024-02-04 10:47:49 +01:00
Michaël Van Canneyt
8c8b336914 * Fix compilation of processunicode 2024-02-04 10:47:49 +01:00
Michaël Van Canneyt
abb5792aed * Patch from Martin to improve backwards compatibility: do not use Startf_UseStdHandles if all descriptors are iotDefault 2024-02-04 10:47:49 +01:00
Michaël Van Canneyt
d56da2d930 * Introduce ToString for all enumerateds. 2024-02-04 10:47:49 +01:00
Martin Frb
54157a17c6 * Patch from Martin to rename iotNone to iotDefault. 2024-02-04 10:47:49 +01:00
florian
ac6dc582be + also add x86-64 as cpu type (gcc compatibility) 2024-02-03 22:40:54 +01:00
J. Gareth "Curious Kit" Moreton
3882066f23 * Speed optimisations for peephole register tracking functions 2024-02-03 20:30:46 +00:00
J. Gareth "Curious Kit" Moreton
05d6e20acc * New Boolean "SetAndTest" utility function 2024-02-03 20:30:46 +00:00
Michaël Van Canneyt
9c9497375e * Made Log call virtual. Fixes issue #40623 2024-02-03 20:45:44 +01:00
florian
d44cae14f5 * decide more sophisticately if a temp. var is needed for fixing #40618 2024-02-02 22:00:22 +01:00
Sven/Sarah Barth
27a2a04279 * fix #40618: apply adjusted patch by Евгений Савин (@jack128a) so that a non-load case expression is loaded into a temp first when converting a single range branch into an if-clause
+ added test
2024-02-02 15:55:40 +01:00
Pierre Muller
c3b2e35a8f Also use 60 seconds as max_count in new code 2024-02-02 10:53:52 +01:00
Pierre Muller
ac4927aef7 Fix typo in %opt 2024-02-02 10:47:21 +01:00
florian
b431d6203c * patch by Olivier Guichard to fix lpi files, resolves #40617 2024-02-01 22:28:37 +01:00
florian
f8dbb09a46 * fixed some issues with the x86-64 instruction versions
* use more of the constants
2024-02-01 22:08:27 +01:00
Nikolay Nikolov
e53620ebdb * fix warnings 2024-02-01 01:20:15 +02:00
florian
ae465fa8dc + introduce x86-64 microarchitecture levels for cpu and fpu flags 2024-01-31 22:32:57 +01:00
Nikolay Nikolov
5e0dcfb49b + introduced TWasmValidationStacks.Unreachable 2024-01-31 02:57:19 +02:00
Nikolay Nikolov
24315a7f28 + introduced TWasmValidationStacks.label_types 2024-01-31 02:45:43 +02:00