Commit Graph

6595 Commits

Author SHA1 Message Date
florian
e1433adc2e * check in the internal assembler for references with incorrect use of RIP
+ test

git-svn-id: trunk@43461 -
2019-11-13 20:47:42 +00:00
Jonas Maebe
7bf50d261e * fixed test for non-64 bit platforms
git-svn-id: trunk@43451 -
2019-11-11 09:26:55 +00:00
florian
9d0389aa53 + readded accidently deleted file
git-svn-id: trunk@43448 -
2019-11-10 21:22:33 +00:00
florian
7747c5fc27 -- Zusammenführen von r43307 bis r43443 in ».«:
D    tests/webtbs/tw32219.pp
U    compiler/i386/i386att.inc
U    compiler/i386/i386atts.inc
U    compiler/i386/i386int.inc
U    compiler/i386/i386nop.inc
U    compiler/i386/i386op.inc
U    compiler/i386/i386prop.inc
U    compiler/i386/i386tab.inc
U    compiler/i8086/i8086att.inc
U    compiler/i8086/i8086atts.inc
U    compiler/i8086/i8086int.inc
U    compiler/i8086/i8086nop.inc
U    compiler/i8086/i8086op.inc
U    compiler/i8086/i8086prop.inc
U    compiler/i8086/i8086tab.inc
U    compiler/x86/x86ins.dat
U    compiler/x86_64/x8664ats.inc
U    compiler/x86_64/x8664att.inc
U    compiler/x86_64/x8664int.inc
U    compiler/x86_64/x8664nop.inc
U    compiler/x86_64/x8664op.inc
U    compiler/x86_64/x8664pro.inc
U    compiler/x86_64/x8664tab.inc
U    tests/utils/avx/avxopcodes.pas
-- Aufzeichnung der Informationen für Zusammenführung von r42706 bis r43443 in ».«:
 U   .

git-svn-id: trunk@43444 -
2019-11-10 16:44:34 +00:00
Jonas Maebe
af97c43bdc + tests for r43436
git-svn-id: trunk@43438 -
2019-11-10 13:13:57 +00:00
svenbarth
d813edef72 * also advance the error code in the case of success
git-svn-id: trunk@43419 -
2019-11-08 22:34:07 +00:00
svenbarth
b0ac0ddcc9 + add support for the IsManagedType() intrinsics which reports for a type (or variable) whether it needs initialization/finalization
+ added tests

git-svn-id: trunk@43409 -
2019-11-06 23:04:52 +00:00
tg74
1454e8b29d new avx512-opcodes VBMI2,VNNI,BITALG ...
git-svn-id: branches/tg74/avx512merge@43406 -
2019-11-06 19:51:01 +00:00
florian
fabe4cc067 * patch by Christo Crause: reg. allocation information if non-volatile registers
are used for parameter passing as it is might happen on avr, resolves #36079

git-svn-id: trunk@43390 -
2019-11-04 20:14:46 +00:00
florian
d3c5bd2a3e * test for tw36212
git-svn-id: trunk@43385 -
2019-11-03 17:33:26 +00:00
florian
c6659d62f8 * do not join register deallocations/allocations as it makes no use and causes later on trouble in
the assembler optimizer as register allocations are not correct, resolves #33565

git-svn-id: trunk@43384 -
2019-11-03 17:13:59 +00:00
florian
b8f186dab2 * reverted r43366
git-svn-id: trunk@43382 -
2019-11-03 14:42:02 +00:00
florian
5ead23513d * more overloads for Math.Min/Max, resolves #36161
git-svn-id: trunk@43366 -
2019-11-02 16:21:43 +00:00
svenbarth
fdeaacac21 * fix for Mantis #36223: when parsing a helper type its extendeddef might be Nil
+ added test

git-svn-id: trunk@43346 -
2019-11-01 15:02:31 +00:00
florian
cb67577002 * fix length(<dyn. type>)=0 optimization, resolves #36215
git-svn-id: trunk@43343 -
2019-10-31 21:29:41 +00:00
florian
2bcf1b7f59 * fptime works now usefully on unix systems
+ support -n <number> to run the command <number> times
  + display average runtime when -n is passed

git-svn-id: trunk@43338 -
2019-10-30 20:07:28 +00:00
florian
fa9c7a92c7 -- Zusammenführen von r42725 bis r43306 in ».«:
A    tests/webtbs/tw32219.pp
U    tests/utils/avx/avxopcodes.pas
U    tests/utils/avx/asmtestgenerator.pas
U    compiler/i386/i386tab.inc
U    compiler/i386/i386nop.inc
U    compiler/i8086/i8086tab.inc
U    compiler/i8086/i8086nop.inc
U    compiler/x86_64/x8664tab.inc
U    compiler/x86_64/x8664nop.inc
U    compiler/x86/aasmcpu.pas
U    compiler/x86/x86ins.dat
U    compiler/x86/rax86.pas
-- Aufzeichnung der Informationen für Zusammenführung von r42706 bis r43306 in ».«:
 U   .

git-svn-id: trunk@43307 -
2019-10-23 18:17:50 +00:00
florian
99d44ce40e + test for the initial bug
git-svn-id: branches/tg74/avx512merge@43301 -
2019-10-21 20:14:46 +00:00
svenbarth
9dcd897ce6 * fix for Mantis #36196: free a property's attributes when the property is destroyed
+ added test

git-svn-id: trunk@43299 -
2019-10-21 19:42:19 +00:00
svenbarth
6f74dd4207 * fix memory leak of tcustomattr13
git-svn-id: trunk@43298 -
2019-10-21 19:42:15 +00:00
florian
d3c898a96b * properly round in ISO mode, resolves #35626
git-svn-id: trunk@43281 -
2019-10-20 21:11:40 +00:00
florian
e4b21cc6c8 * indention fixes
git-svn-id: branches/tg74/avx512merge@43278 -
2019-10-20 16:02:19 +00:00
florian
bb1c03b538 + test movntss and movntsd
git-svn-id: branches/tg74/avx512merge@43277 -
2019-10-20 16:00:26 +00:00
florian
e02321029f * test fixed for i386
git-svn-id: trunk@43193 -
2019-10-13 20:11:55 +00:00
florian
626ef4ae0c * give an error if an explicit enumeration valid exceeds the valid range, resolves #34633
git-svn-id: trunk@43191 -
2019-10-13 15:48:21 +00:00
florian
6457846435 * sorted out tests
git-svn-id: trunk@43189 -
2019-10-13 11:42:33 +00:00
florian
b02470468b * handle off by one in FilePos due to the filled buffer in iso mode, resolves #40850
git-svn-id: trunk@43188 -
2019-10-13 11:37:37 +00:00
Jonas Maebe
33c4a5dda7 * don't try to bitpack arrays of non-ordinals (mantis #36157)
git-svn-id: trunk@43187 -
2019-10-13 11:11:28 +00:00
Jonas Maebe
51c6ebfe54 * work around broken x86 shifting in bitpacked value calculation
(mantis #36156)

git-svn-id: trunk@43186 -
2019-10-13 10:47:31 +00:00
florian
fb91899457 * adapted 16 byte alignment handling on linux: it is now assumed that the callee tries to clear the stack, so in the caller, the stack is re-adjusted
git-svn-id: trunk@43176 -
2019-10-12 21:51:13 +00:00
tg74
87e7a823b6 bugfix 35700 - delete invalid opcodes
git-svn-id: branches/tg74/avx512merge@43153 -
2019-10-08 09:16:45 +00:00
svenbarth
beb606be13 * fix for Mantis #36114: when converting a static class field to a global variable the varspez of the field needs to be respected
+ added test

git-svn-id: trunk@43116 -
2019-10-03 16:39:40 +00:00
svenbarth
b4e998b3f8 + add tests to check for correct definition of the FPC_* mode defines
git-svn-id: trunk@43115 -
2019-10-03 12:34:42 +00:00
tg74
1d41faa5df new test opcodes SSE scalar
git-svn-id: branches/tg74/avx512merge@43094 -
2019-09-29 20:05:29 +00:00
tg74
d721bedd56 new test opcodes SSE scalar
git-svn-id: branches/tg74/avx512merge@43093 -
2019-09-29 19:58:20 +00:00
tg74
72c6d6d909 add new testcode ADDSS,ADDSD
git-svn-id: branches/tg74/avx512merge@43092 -
2019-09-29 19:29:06 +00:00
florian
9f97e18aa2 * test properly (with fno-exceptions) compiled
git-svn-id: trunk@43083 -
2019-09-26 20:47:40 +00:00
florian
7837356954 + extra test to test remap functionality with -gh
git-svn-id: trunk@43082 -
2019-09-26 20:33:12 +00:00
svenbarth
e4c275a349 * extend test so that it also covers the SetToString/StringToSet variants take/return Integer arguments
git-svn-id: trunk@43047 -
2019-09-21 14:36:16 +00:00
svenbarth
ad8de624b8 * make halt codes unique
git-svn-id: trunk@43046 -
2019-09-21 14:36:13 +00:00
pierre
0b2a6e5a74 * tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
* tests/Makefile: Regenerate.
  * tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
    recompilation rules, to avoid truobles for cross-compilation.
  * tests/tstunits/Makefile: Regenerate.

git-svn-id: trunk@43019 -
2019-09-16 07:41:37 +00:00
florian
49005d3948 * tests are not supposed to work anymore on linux with a fixed 16 byte aligned stack
git-svn-id: trunk@43007 -
2019-09-15 17:17:28 +00:00
florian
72391dc4b8 * fix tests for targets with fixed stack which must be 16 byte aligned
git-svn-id: trunk@43005 -
2019-09-15 17:17:26 +00:00
Jonas Maebe
9b70c7623d * initialise local variable to prevent random failures
git-svn-id: trunk@42992 -
2019-09-14 07:30:38 +00:00
Jonas Maebe
ef6dde6de3 * fixed loading the address of a copied labelnode in a loadnode
(mantis #35877)

git-svn-id: trunk@42987 -
2019-09-13 19:06:40 +00:00
tg74
a2c4d868f4 bugfix 35700 xmmrm - zmmrm, mem32/64
git-svn-id: branches/tg74/avx512merge@42968 -
2019-09-09 14:44:04 +00:00
tg74
dc41dcd3d8 bugfix 35700 xmmrm - zmmrm, mem32/64
git-svn-id: branches/tg74/avx512merge@42959 -
2019-09-08 19:24:14 +00:00
florian
9c00a8b616 + FMA support for aaarch64
git-svn-id: trunk@42885 -
2019-08-31 19:37:17 +00:00
florian
fd20dc1086 * support unique copies of currencies which are handles by torddef, resolves #36013
git-svn-id: trunk@42837 -
2019-08-26 19:31:48 +00:00
Jonas Maebe
59b846a2ec * fixed after implementation of Objective-C "related result type" convention
git-svn-id: trunk@42817 -
2019-08-25 15:23:56 +00:00