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
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
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
Pierre Muller
52cc8df079
Add some delay and a maximum attempt number in GenerateTempDir to avoid getting oversized execution log files
2021-11-12 12:08:20 +01:00
florian
03ce23246f
* patch by Don Siders: Fixes spelling, grammar errors in source and compiler messages, resolves #39434
2021-11-10 19:16:14 +01:00
J. Gareth "Curious Kit" Moreton
99d04fb5b4
Added missing inc file
2021-11-08 21:46:12 +00:00
J. Gareth "Curious Kit" Moreton
671c674d65
Expanding division to 64-bit and tests
2021-11-08 21:46:12 +00:00
florian
292be9029e
* when converting a*a into sqr(a), set the result type correctly
...
* removefloatupcasts takes care of cs_excessprecision, resolves #39012
2021-11-07 21:54:25 +01:00
florian
67e7dc0194
* consecutive naming
2021-11-07 20:03:09 +01:00
florian
d708bef92f
+ Aarch64: read register sets with ranges properly
...
+ tests
2021-11-07 20:02:29 +01:00
florian
dcb1fcd9b8
+ support $lgeacyifend directive, resolves #37676
2021-11-01 23:24:42 +01:00
Jonas Maebe
15865e7602
Record variant discriminators: check types
2021-10-31 21:13:35 +01:00
Jonas Maebe
4426d0da7a
Fixed variant discriminator types
2021-10-31 21:13:35 +01:00
florian
0f14bd45b1
* run fcl-image tests with regression tests
2021-10-29 23:06:26 +02:00
florian
95ad8f1694
* correctly read the region label in $region directives, resolves #39395
2021-10-28 21:13:01 +02:00
florian
2ee6a81cff
* extended test to cover last commit
2021-10-20 22:33:53 +02:00
florian
3eefff75df
* pass a randseed which is known to be problematic
2021-10-20 20:04:32 +02:00
florian
7e73e0dd23
+ support reading of .p2align with op code and/or max. bytes in the gas assembler reader
...
+ test
2021-10-18 22:12:27 +02:00
florian
08050086b9
* keep type when removing "1*", resolves #38840
2021-10-17 22:23:49 +02:00
florian
ee10850a57
* patch by Sergey Larin: Reducing and aligning the size of TAnsiRec, TUnicodeRec for CPU64, resolves #38018 :
...
For CPU64, the size of record TAnsiRec and TUnicodeRec is 16 bytes instead of 24.
Which is very good also because of the alignment. when allocating memory, the address
of the first character of the string will be aligned on the 16-byte boundary.
At the same time, the useless Dummy field, which is needed in CPU64 for exactly alignment, has been removed.
For CPU32 (and CPU16), the record size has not changed, so procedures such as
fpc_AnsiStr_Decr_Ref, implemented in assembler (see i386, arm), remained working correctly.
* tests adapted
2021-10-17 11:13:29 +02:00