Commit Graph

69244 Commits

Author SHA1 Message Date
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
Nikolay Nikolov
f3e667da42 + introduced TWasmValidationStacks.PopCtrl 2024-01-31 02:38:09 +02:00
Nikolay Nikolov
4cb97dcdb3 * fixed warning 2024-01-31 02:33:31 +02:00
Nikolay Nikolov
4cc5cf4d0e + introduced TWasmValidationStacks.PushCtrl 2024-01-31 02:25:44 +02:00
Nikolay Nikolov
18c6e13f45 * fixed warning 2024-01-31 02:19:03 +02:00
Nikolay Nikolov
064adbf3f8 + introduced TWasmValidationStacks.PopVals 2024-01-31 02:15:09 +02:00
Nikolay Nikolov
4d5479741d + introduced TWasmValidationStacks.PushVals 2024-01-31 02:11:59 +02:00
Nikolay Nikolov
2d5c1d43cf + introduced TWasmValidationStacks.PopVal(expect) 2024-01-31 02:10:05 +02:00
Nikolay Nikolov
d575aa5240 + introduced TWasmBasicTypeList 2024-01-31 01:55:38 +02:00
Nikolay Nikolov
1786875319 + implemented TWasmValueStack.GetCount
+ implemented TWasmControlStack.GetCount
+ implemented TWasmValidationStacks.PopVal
2024-01-31 01:52:05 +02:00
Nikolay Nikolov
3f0853692c + implemented methods in TWasmControlStack: Push, Pop, GetItems, SetItems 2024-01-31 01:20:24 +02:00
Nikolay Nikolov
506634f261 * TWasmControlFrame changed to a record 2024-01-31 01:05:02 +02:00
florian
ff3b4adc27 + more CPU and FPU flags added 2024-01-30 22:55:42 +01:00
Michaël Van Canneyt
c9b7a3b3b5 * Use value for fmShareNoLocking which does not overlap with classes fmCreate 2024-01-30 13:35:54 +01:00
florian
dc30431d89 * compile with stack checking 2024-01-29 23:28:21 +01:00
Michaël Van Canneyt
d89851d094 * Fixed compilation with FPC 3.2.2 2024-01-29 21:15:20 +01:00
Michaël Van Canneyt
f0703c4dac * Fix exit code 2024-01-29 20:58:39 +01:00
Pierre Muller
529b64790b Avoid 'false' warning: Local variable "gap_index" does not seem to be initialized on cycle with -O3 option 2024-01-29 18:15:28 +01:00
Pierre Muller
57e74e0c8b Regenerated Makefile's after: Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:47 +00:00
Pierre Muller
2e6a31df8b Add linux dependency on syscall unit for libc on i386 and x86_64 2024-01-29 11:20:09 +00:00
Michaël Van Canneyt
1546c4a794 * Set executeredir 2024-01-29 08:59:56 +01:00
Michaël Van Canneyt
031539dd69 * Use TProcess file redirection facilities 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
2e1c7cbc10 * Do not lock output files 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
c3339e9a51 * Prevent file handle leak 2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
e79f5ef577 * Introduce fmShareNoLocking to disable locking of file descriptors on unix 2024-01-28 11:30:37 +01:00
J. Gareth "Curious Kit" Moreton
bac4ca19e7 * Fixed internal error 2022041701 number clash (LLVM changed to 2022041730) 2024-01-28 09:34:14 +00:00
Henrique Gottardi Werlang
664f8fc2ba Fix for default value of a class of type. 2024-01-28 07:47:51 +00:00
florian
b32573d1eb * inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608 2024-01-27 22:05:31 +01:00
florian
272417e602 * while on windows the max. possible year should be 1980+127=2127, 2104 causes an error (seems to be limited to 2099), so stay with 2096 2024-01-27 20:38:06 +01:00
J. Gareth "Curious Kit" Moreton
b514e979bd * Fixed issue where OptPass2CMP and OptPass2TEST didn't drop out on labels etc. 2024-01-27 19:00:50 +00:00
J. Gareth "Curious Kit" Moreton
2e441609be * Fixed issue where TryCmpCMovOpts produced bad
code if the last MOV got moved.
2024-01-27 19:00:50 +00:00
Michaël Van Canneyt
bcaae57798 * Replace widestring with unicodestring (faster on windows). Fixes issue #40613 2024-01-27 17:45:10 +01:00
Rika Ichinose
48815baef6 Load oleaut32.dll for widestrings on demand.
Most of the applications don’t and shouldn’t use widestrings, as unicodestrings are superior.
2024-01-26 22:09:41 +00:00
florian
d901f72002 * named test properly 2024-01-26 21:43:18 +01:00
florian
acb6c7f36b * win64 has always SetThreadStackGuarantee 2024-01-26 21:42:26 +01:00
Rika Ichinose
a774075f2f Support Windows XP where SetThreadStackGuarantee is absent. 2024-01-26 16:57:49 +03:00
florian
a2f2af87d2 * Windows CE does not support SetThreadStackGuarantee 2024-01-25 22:06:13 +01:00
Pierre Muller
11b0b9dc57 Use reverse_byte to write constant sets in cross-endian configuration 2024-01-25 11:04:42 +00:00
Pierre Muller
5eda6e027d * Add internal_endian field to tppudumpfile class
* Check that this new field is indeed set, once only, by
    header flags.
  * Use this flag to extract high and low parts of floatx80
    record for soft floatx80 support.
2024-01-25 11:00:28 +00:00
Pierre Muller
71ba76532b * Fix writing of 'comp' type depending on FPC_COMP_IS_INT64 macro.
* Fix writing of floatx80 on systems with gaps due to alignment requirements.
2024-01-25 10:17:11 +00:00