florian
567dfef9a7
+ object files for sparc64-linux to test linking with gcc
...
git-svn-id: trunk@36655 -
2017-07-06 18:02:20 +00:00
Károly Balogh
4001435454
fixed typo in previous commit
...
git-svn-id: trunk@36614 -
2017-06-29 01:21:35 +00:00
Károly Balogh
a12111e1bd
m68k: define safecall_is_cdecl on m68k too in tcalvar6 and tcalst6
...
git-svn-id: trunk@36613 -
2017-06-29 00:33:55 +00:00
Károly Balogh
50332a97bc
textthr test to be more verbose on error conditions
...
git-svn-id: trunk@36584 -
2017-06-23 06:03:26 +00:00
Károly Balogh
8a6c995b75
troundm: fixed 32bit rmNearest tests and wrong result values
...
git-svn-id: trunk@36522 -
2017-06-18 18:49:32 +00:00
marcus
d4d7778e86
+ Linux/m68k test object files
...
git-svn-id: trunk@36502 -
2017-06-14 20:33:26 +00:00
florian
f25c9c0956
* hopefully proper fix for 8 and 16 bit CPUs
...
git-svn-id: trunk@36473 -
2017-06-09 21:05:52 +00:00
florian
0fe5541459
--- Reverse-merging r36464 through r36463 into 'trnd1.pp':
...
U trnd1.pp
--- Recording mergeinfo for reverse merge of r36464 through r36463 into 'trnd1.pp':
G trnd1.pp
--- Eliding mergeinfo from 'trnd1.pp':
U trnd1.pp
git-svn-id: trunk@36472 -
2017-06-09 20:59:46 +00:00
pierre
605e6defc7
Fix compilation due to syntax error in previous commit
...
git-svn-id: trunk@36464 -
2017-06-09 12:17:04 +00:00
pierre
8c370a4e6f
Avoid Data element too large error for I8086 CPU
...
git-svn-id: trunk@36463 -
2017-06-09 06:11:54 +00:00
michael
f406d7cbef
* Fix bug #31947 : upgrade natve unicode implementation to version 9 and CLDR 30 (Patch from Inoussa)
...
git-svn-id: trunk@36407 -
2017-06-03 16:10:39 +00:00
pierre
eec40b3ed0
Fix test for go32v2, by adding explicit loading of cpall unit
...
git-svn-id: trunk@36353 -
2017-05-28 05:28:20 +00:00
svenbarth
72c595eefe
+ implement support for Insert() for dynamic arrays; the parameter that is inserted can be a dynamic or static array of the same type, an array constructor or a single element of the arrays type; all that is determined based on the second type
...
+ added test
git-svn-id: trunk@36307 -
2017-05-23 19:11:49 +00:00
Jonas Maebe
744facb7fc
* properly support accepting register parameters of assembler routines in
...
the intel assembler reader: no longer parse them as register tokens,
but as local operands that are later converted into registers. This
ensures in particular that the type of the operand is set, which is
necessary in case this operand later subscripted (as in tasm10a)
git-svn-id: trunk@36288 -
2017-05-21 20:17:15 +00:00
svenbarth
d073e07244
+ add a test to ensure that array constructors correctly handle managed types (though there might be a temp floating around for longer than one might expect)
...
git-svn-id: trunk@36243 -
2017-05-18 20:04:29 +00:00
svenbarth
5971e1327e
* fix for Mantis #31756 : have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility
...
+ added test
git-svn-id: trunk@36175 -
2017-05-10 21:01:23 +00:00
svenbarth
c552b2957a
* implement support for 4 Byte UTF-8 codepoints that result in a surrogate pair for UTF-16
...
git-svn-id: trunk@36116 -
2017-05-05 14:03:57 +00:00
svenbarth
52ddce608f
+ add test for enumerating a set without ranges
...
git-svn-id: trunk@36105 -
2017-05-04 22:00:29 +00:00
svenbarth
c349151504
+ add test for array constructors
...
git-svn-id: trunk@36104 -
2017-05-04 21:59:49 +00:00
nickysn
5393daa994
+ added compile time const evaluation for Bsf/Bsr(const) as well
...
git-svn-id: trunk@35941 -
2017-04-24 20:35:08 +00:00
nickysn
32395bbcbb
+ added compile time const evaluation optimization for PopCnt(const)
...
git-svn-id: trunk@35937 -
2017-04-24 16:11:43 +00:00
nickysn
256dc546ac
+ implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will
...
be used (TBD in a future commit) for optimizing x:=-x and x:=not x on CPUs
that support performing these operations directly in memory (such as x86)
git-svn-id: trunk@35749 -
2017-04-07 16:02:40 +00:00
nickysn
f19ebe2acf
* fixed compiler internal error in the in_[and/or/xor]_assign_x_y inline nodes
...
when their second parameter is a large 64-bit unsigned constant
git-svn-id: trunk@35684 -
2017-03-29 14:55:07 +00:00
sergei
8ae0864c9a
* x86 Intel asm reader: handle special variables "self" and "result" similar to regular ones in terms of subscripting. This makes fix from r34911 apply to these special variables. Resolves #31542 .
...
git-svn-id: trunk@35669 -
2017-03-27 19:58:55 +00:00
nickysn
fc59649a98
+ added inline nodes for handling and/or/xor in place (i.e. x:=x op y, where
...
op=and/or/xor). They generate more optimal code on certain architectures
(including x86). The new inline nodes aren't generated by the compiler yet,
but will be used in the future, at certain optimization levels, whenever the
pattern x:=x op y is detected by the compiler.
git-svn-id: trunk@35666 -
2017-03-26 23:16:53 +00:00
florian
e8f7c9dfdd
+ test for large case statements
...
git-svn-id: trunk@35646 -
2017-03-23 17:57:31 +00:00
sergei
2357ca1fe6
* Fixed size suffix generated for CVTSI2SS, CVTSI2SD, VCVTSI2SS, VCVTSI2SD instructions. Mantis #31550 .
...
* tasm2.pp already detected this bug if run with -al option. Added a copy of tasm2.pp and configured it with -al, so it is run daily on all suitable machines.
git-svn-id: trunk@35626 -
2017-03-19 10:29:28 +00:00
florian
5dd6232c0e
* fix test for case sensitive file system, resolves #31452
...
git-svn-id: trunk@35543 -
2017-03-08 20:18:25 +00:00
michael
9787c44c78
* Additional tests from Karl-Michael Schindler
...
git-svn-id: trunk@35521 -
2017-03-04 17:06:27 +00:00
michael
cc81abdd83
* Patch from Michal Gawrycki to implement streaming interface properties (IComponent) Bug ID
...
git-svn-id: trunk@35474 -
2017-02-22 21:14:35 +00:00
maciej-izak
533c89e128
* New test for management operators to detect regressions like regression fixed in r35461 (many times initialized global variables)
...
git-svn-id: trunk@35463 -
2017-02-21 14:20:15 +00:00
florian
a80fcb74d8
* make test working for architectures with no float and ansistring support
...
git-svn-id: trunk@35460 -
2017-02-19 22:29:52 +00:00
maciej-izak
92c0e57c59
* Test suite for management operators. We have management operators on trunk! Enjoy ^^
...
git-svn-id: trunk@35452 -
2017-02-19 14:34:09 +00:00
Jonas Maebe
265c8e7bbc
+ support for specifying ms_abi_default, ms_abi_cdelc, sysv_abi_default, and
...
sysv_abi_cdecl calling conventions on x86-64 to force using the SYSV/
Microsoft ABI on platforms that don't use it by default (mainly to ease
porting pure assembler routines)
git-svn-id: trunk@35425 -
2017-02-11 19:57:12 +00:00
svenbarth
58abeb4a34
* also test IIDStr of raw interfaces
...
git-svn-id: trunk@35414 -
2017-02-10 16:06:47 +00:00
svenbarth
9ead39404b
+ print headers for the tested interfaces
...
git-svn-id: trunk@35413 -
2017-02-10 16:06:18 +00:00
svenbarth
6418f22ae0
* enable raw interface testing
...
git-svn-id: trunk@35412 -
2017-02-10 16:05:35 +00:00
svenbarth
c1390b3442
* fix for Mantis #31249 : applied (adjusted) patch provided by Maciej Izak
...
Commit message:
[PATCH] More consistent RTTI (also better performance) for classic
objects (reference to initrtti from fullrtti).
git-svn-id: trunk@35376 -
2017-01-31 18:21:53 +00:00
svenbarth
c2d68e35b5
* also assume register calling convention for m68k
...
git-svn-id: trunk@35352 -
2017-01-28 14:55:41 +00:00
svenbarth
26135d605f
+ implement interface RTTI inspired by the changes from Steve Hildebrandt, yet not exactly the same. Like his implementation this one isn't Delphi compatible either.
...
+ added test
git-svn-id: trunk@35341 -
2017-01-27 17:00:15 +00:00
svenbarth
25842d70c8
* adjust test so it also checks the full ParamFlags instead of only the reduced one
...
git-svn-id: trunk@35263 -
2017-01-08 12:42:17 +00:00
florian
1bea9e36eb
+ entropy test for random
...
git-svn-id: trunk@35260 -
2017-01-08 10:26:12 +00:00
florian
29a2c433f7
* -Sr option for iso mode: in case no command line parameter is passed, the file name for program parameters is derived from their variable name
...
git-svn-id: trunk@35257 -
2017-01-07 14:50:58 +00:00
svenbarth
150441627a
+ add test for Boolean RTTI
...
git-svn-id: trunk@35187 -
2016-12-23 16:05:57 +00:00
svenbarth
73ed1a9bf1
* fix for Mantis #31140 : applied patch by Maciej Izak; this way it's clear what purpose ManagedFldCount has in FPC compared to Delphi
...
Commit message of patch:
+ New field TotalFieldCount for TTypeData
* Mark ManagedFldCount as deprecated
* Adjusted test trtti12.pp
git-svn-id: trunk@35180 -
2016-12-23 15:32:44 +00:00
svenbarth
8e765ef807
* extend test for 64-bit subranges
...
git-svn-id: trunk@35179 -
2016-12-23 15:11:38 +00:00
svenbarth
2acf542737
* extend TParamFlag by pfConstRef which is set for constref parameters
...
* extend test trtti9.pp accordingly
git-svn-id: trunk@35175 -
2016-12-20 21:37:07 +00:00
svenbarth
a9d14fe30b
* extend TOrdType by entries for 64-bit values
...
* have tkInt64 and tkQWord entries also contain the OrdType field (basically the compiler can now use the same function to generate them only with different type kinds)
+ added test
git-svn-id: trunk@35135 -
2016-12-16 14:22:04 +00:00
svenbarth
460f309035
* fix for Mantis #31123 , applied patch by Maciej Izak
...
* adjusted test trtti10.pp due to renamed RecInitTable field
Original commit message:
Public interface for init table for records in TypInfo:
* Rename RecInitTable to RecInitInfo (because it is special kind of PTypeInfo for init table of record). Has more sense in practical usage.
+ New structure TRecInitData (and related PRecInitData) to handle data for (init) type info for records (aka init table)
+ New structure TInitManagedField and pointer type PInitManagedField (for init table)
+ Special helper property RecInitData to get PRecInitData for tkRecord
+ test attached
git-svn-id: trunk@35134 -
2016-12-16 13:43:12 +00:00
svenbarth
121a857af8
* fix for Mantis #31118 : applied patch by Maciej Izak to fix usage of wrong variable
...
+ added test
git-svn-id: trunk@35133 -
2016-12-15 13:47:26 +00:00