Commit Graph

7295 Commits

Author SHA1 Message Date
Jonas Maebe
b97c8bdf55 testobj3: fix test
Use RTL StringRefCount instead of local GetRefCount that only supports some
platforms and depends on the internal layout of ansistring headers
2022-02-12 15:25:19 +01:00
Nikolay Nikolov
2d5f0fbde0 Merge remote-tracking branch 'origin/main' into unicodekvm 2022-02-12 09:28:38 +02:00
Nikolay Nikolov
2c0f10d988 * when adding WebAssembly object info, traverse through current_module.used_units,
as well as the usedunits global. This resolves #39543
2022-02-12 08:32:48 +02:00
florian
79cf1dd9cf + store also ecx and edx after cpuid call with eax=7
+ test VNNI and BIGALG instructions
2022-02-07 21:22:16 +01:00
Nikolay Nikolov
39daa64949 Merge remote-tracking branch 'origin/main' into unicodekvm 2022-02-06 16:35:22 +02:00
Pierre Muller
7a444281e8 Retry incase of thread initialization failure 2022-01-31 22:40:09 +01:00
Florian Klämpfl
f36a665879 * test for fixed bug to play safe 2022-01-30 22:35:14 +01:00
J. Gareth "Curious Kit" Moreton
9b4033fa80 Fast mod 2022-01-30 08:22:39 +00:00
florian
f21f7f0f50 * handle result type of unsigned ordinal operations in ISO/Extpas mode similiar to TP, solves
#37875
2022-01-28 22:48:50 +01:00
Nikolay Nikolov
9579759f01 + added wasi to the list of targets without thread support 2022-01-26 15:39:24 +02:00
Pierre Muller
140fe74efb Add possibility to pass jvm target compilation parameters and clean up if no problem is detected 2022-01-24 16:35:33 +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
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
florian
2e8321e0fa + routines to test for AVX512VNNI and AVX512BITALG support 2022-01-21 18:23:04 +01: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
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
florian
e19b45a71b * tests fixed after last commit 2022-01-15 22:30:25 +01:00
florian
894c49ca93 * enable brenchmark to be compiled with -Sh 2022-01-12 20:33:59 +01:00
florian
11b069fa61 + test 2022-01-11 22:10:21 +01:00
florian
fc3b635013 * patch by Bart B to fix the value of Code for unsigned types if the input is negative, resolves #39523 2022-01-11 21:29:56 +01:00
florian
beecbf1581 Merge branch 'val_sint' into main 2022-01-10 22:11:01 +01:00
Sven/Sarah Barth
b5e57a63f5 + add test for already fixed #22252 2022-01-09 12:29:08 +01:00
florian
62f1771121 * fix test for improved fpc_Val_SInt_ShortStr 2022-01-08 14:54:18 +01:00
Pierre Muller
3b8b549eaa Fix compilation of the two tests for jvm-android target 2022-01-07 22:56:13 +00:00
florian
d29a482cd1 * fixes for fpc_Val_SInt_ShortStr by Bart B
+ new test for fpc_Val_SInt_ShortStr
  + benchmark
2022-01-07 19:19:55 +01:00
J. Gareth "Curious Kit" Moreton
fd54c958c9 New POPCNT tests to evaluate new optimisations 2022-01-06 20:57:48 +00:00
florian
89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 2022-01-06 21:13:19 +01:00
Sven/Sarah Barth
52ed79c7f3 * fix #39506: add assignment operator overloads for all string types so that assignments of constant strings can be handled correctly
+ added adjusted/extended test (the test isn't enabled by default however as it requires libffi on most platforms)
2022-01-04 23:41:38 +01:00
Florian Klämpfl
4aebfe97a9 + x86: ADXSupport
+ x86: RDSEEDSupport
2022-01-03 22:51:00 +01:00
florian
983fbff871 * proper range checking for TryStrToDWord, should resolve all issues in #39406 2022-01-02 21:46:14 +01:00
florian
435f3a9fe2 * allow a range of Low(Longint) to High(DWord) in TryStrToInt, see also issue #39406
* moved test
2022-01-02 21:33:01 +01:00
florian
2a93e65511 * seperator => separator 2022-01-02 13:12:33 +01:00
florian
d2447026de + modeswitch UNDERSCOREISSEPERATOR, active by default in delphi modes:
support _ as seperator in numbers, it is ignored while reading them, resolves #39504
2022-01-01 23:28:36 +01:00
Florian Klämpfl
25eab57a58 * allow %... for binary constants in delphi mode, resolves #39503 2021-12-29 15:37:53 +01:00
Florian Klämpfl
dde8f54ee7 + LZCNTSupport
+ test extended
2021-12-28 17:05:56 +01:00
Nikolay Nikolov
efe08183be Merge commit 'f289f2694ab837b414aa131a0514c56fee4950bc' into unicodekvm 2021-12-26 05:25:41 +02:00
florian
781b2d0a80 * patch by Rika: second part of #39496, resolves #30496
+ extended test
2021-12-25 20:01:32 +01:00
florian
159201d054 * activate missing test 2021-12-19 22:57:33 +01:00
florian
c6874df5c8 * better error recovery, resolves #39485 2021-12-16 22:27:38 +01:00
florian
2cf68f6dbf * files moved as strutils is now in rtl-objpas 2021-12-10 22:05:57 +01:00
Florian Klämpfl
60c26a11ef * patch by Bart B. to improve DelSpace1, resolves #39465
+ test
2021-12-09 22:52:01 +01:00
Sven Barth
69bfff046a + add a test for converting a 64-bit Boolean (either QWordBool or Boolean64) to a 32-bit signed integer (this problematic case was discovered after e65b822a on PowerPC 2021-12-05 15:11:24 +01:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +01:00
J. Gareth "Curious Kit" Moreton
55d5b11deb Converted tabs to spaces in toverflow.inc for consistency 2021-11-18 20:31:49 +00:00
J. Gareth "Curious Kit" Moreton
29ea731b2f Added two new overflow tests 2021-11-17 20:18:57 +00:00