Commit Graph

51585 Commits

Author SHA1 Message Date
svenbarth
236a9b0aa5 * rework the checks for a helper's extended def to be a class so that it can be more easily extended by other objecttypes
git-svn-id: trunk@37022 -
2017-08-21 20:48:02 +00:00
svenbarth
7d47c24be2 * fix unit name
git-svn-id: trunk@37021 -
2017-08-21 20:45:46 +00:00
marcus
a57a6d09f3 amunits, morphunits: adjusted ASL library unit to latest SDK
git-svn-id: trunk@37020 -
2017-08-21 18:05:05 +00:00
nickysn
627f45abac + define cpucg64shiftsupport for i8086, which enables the 64-bit inline sar
support (64-bit shl and shr are already inlined on i8086, regardless of the
  presence of this define). As a side effect, this also improves the code,
  generated for 64-bit divisions by power-of-2 constants on i8086.

git-svn-id: trunk@37019 -
2017-08-21 14:38:56 +00:00
pierre
048991f670 Regenerated after: Add units and rules required for some packages
git-svn-id: trunk@37018 -
2017-08-21 14:37:40 +00:00
pierre
214d3d3902 Add units and rules required for some packages
git-svn-id: trunk@37017 -
2017-08-21 14:37:25 +00:00
pierre
f395d83db5 Fix compilation for EMX
git-svn-id: trunk@37016 -
2017-08-21 14:36:03 +00:00
pierre
961bd0b56f Fix compilation for EMX
git-svn-id: trunk@37015 -
2017-08-21 14:35:42 +00:00
pierre
ed58ca8492 Compile syncobjs unit for EMX
git-svn-id: trunk@37014 -
2017-08-21 14:15:45 +00:00
pierre
cc9d506512 Save and restore ES register in InitDelay and Delay
git-svn-id: trunk@37013 -
2017-08-21 14:09:42 +00:00
pierre
5d96ca4baf Add EMX to SocketsOses constant
git-svn-id: trunk@37012 -
2017-08-21 14:06:27 +00:00
pierre
efafecbf9f Also use .byte version of emms instruction
git-svn-id: trunk@37011 -
2017-08-21 13:47:47 +00:00
pierre
239b623027 Fix typo in last commit
git-svn-id: trunk@37010 -
2017-08-21 13:37:54 +00:00
pierre
d1e091d5a3 Use .byte substitutes for ldmxcsr and stmxcsr instructions
if OLD_ASSEMBLER macro is defined.

  Do not use PIC code for fpc_exp_real if OLD_ASSEMBLER is defined
  (this generates unsupported relocations for GNU assembler 2.6 used by EMX)

git-svn-id: trunk@37009 -
2017-08-21 13:29:29 +00:00
pierre
df7946a9cc * Do not use fastmove.inc if OLD_ASSEMBLER is defined,
as older assembler do not support 64-bit instructions use in there.
    * Use .byte substitutes for ldmxcsr and movaps instructions

git-svn-id: trunk@37008 -
2017-08-21 13:26:44 +00:00
pierre
b416fa79bf Add explicit rules for all units
git-svn-id: trunk@37007 -
2017-08-21 13:14:19 +00:00
pierre
b54e3bea6a Add OLD_ASSEMBLER macro to circumvent limitation of 2.6 GNU assembler used for EMX
git-svn-id: trunk@37006 -
2017-08-21 13:13:41 +00:00
michael
42e716278b * Forgot to commit FormatFloat builtin
git-svn-id: trunk@37005 -
2017-08-21 12:07:40 +00:00
nickysn
aa415bfc6b + optimized division by negative power of 2 constants in the i8086 code
generator as well

git-svn-id: trunk@37004 -
2017-08-21 11:56:11 +00:00
nickysn
6634141bf4 + generate better code for division by negative power of 2 constants in the x86
(i386 and x86_64) code generator (same as the division by a positive power of
  2, followed by a NEG instruction, to invert the sign of the result; previously
  the code generator generated an IMUL instruction with a magic constant,
  followed by shift; the new code sequence should be both shorter and faster)

git-svn-id: trunk@37003 -
2017-08-21 11:35:20 +00:00
florian
99ce914a61 * fix tcg.a_load_cgparaloc_ref for ref. sizes of 7 on little endian systems
git-svn-id: trunk@37002 -
2017-08-21 09:08:02 +00:00
michael
608aad5dd3 * Remove targets go32 and nativent, missing syncobjs unit for those platforms (bug ID 32305)
git-svn-id: trunk@37001 -
2017-08-21 06:49:38 +00:00
michael
6513755e2e * Fix from Michl to fix bug ID #32304
git-svn-id: trunk@37000 -
2017-08-21 06:42:35 +00:00
michael
291cd08d72 * Remove wrong (old) dependency
git-svn-id: trunk@36999 -
2017-08-21 06:32:37 +00:00
florian
b8354b9b60 * fix trgcpu.do_spill_replace for sparc64
git-svn-id: trunk@36998 -
2017-08-20 20:35:10 +00:00
florian
08fd0b1c5c * fix jump. tables for sparc64
git-svn-id: trunk@36997 -
2017-08-20 20:35:08 +00:00
florian
c8e448345a * return correct reg_cgsize for int. registers on sparc64
git-svn-id: trunk@36996 -
2017-08-20 20:35:06 +00:00
svenbarth
eed63eed5c * document %CONFIGFILE option in ReadMe
git-svn-id: trunk@36995 -
2017-08-20 20:26:38 +00:00
svenbarth
0f484eb032 * change from SimpleTestRunner to ConsoleTestRunner and specify CONFIGFILE flag for the testsuite
git-svn-id: trunk@36994 -
2017-08-20 20:25:02 +00:00
svenbarth
bd6b4b97a7 + add default config file for FPCUnit ConsoleTestRunner
git-svn-id: trunk@36993 -
2017-08-20 20:24:21 +00:00
svenbarth
c7df4d3d2f * implement support for copying a central, pre-created configuration file for a test
git-svn-id: trunk@36992 -
2017-08-20 20:23:50 +00:00
svenbarth
292dff2e8c + add test for TValue.DataSize
git-svn-id: trunk@36991 -
2017-08-20 19:50:49 +00:00
svenbarth
a8167f897d * allow making a TValue with a pointer
git-svn-id: trunk@36990 -
2017-08-20 19:50:19 +00:00
svenbarth
e74034dc34 * allow making a TValue with a procedure/function or method variable
git-svn-id: trunk@36989 -
2017-08-20 19:50:00 +00:00
svenbarth
9dff6043d9 * correctly handle DataSize for ShortString
git-svn-id: trunk@36988 -
2017-08-20 19:49:14 +00:00
svenbarth
c74afe6824 * expand test cases
git-svn-id: trunk@36987 -
2017-08-20 19:21:48 +00:00
svenbarth
00757ec79f + add AsInt64 and AsUInt64
git-svn-id: trunk@36986 -
2017-08-20 19:21:05 +00:00
svenbarth
5f116c4cec * empty class and object instance seems to be handled a bit different
git-svn-id: trunk@36985 -
2017-08-20 19:20:42 +00:00
svenbarth
ae6352611f * correctly handle IsEmpty if Nil had been passed to Make
git-svn-id: trunk@36984 -
2017-08-20 19:19:41 +00:00
svenbarth
a03b9d0fc4 * correctly handle AsString if Nil had been passed to Make
git-svn-id: trunk@36983 -
2017-08-20 19:19:07 +00:00
michael
31f5836e06 * Added fcl-db as dependency
git-svn-id: trunk@36982 -
2017-08-20 19:14:08 +00:00
svenbarth
0387df3228 * allow the buffer passed to Make() to be Nil
git-svn-id: trunk@36981 -
2017-08-20 19:08:57 +00:00
svenbarth
bd74f9af64 * also initialize variant part in Empty function
git-svn-id: trunk@36980 -
2017-08-20 19:08:27 +00:00
svenbarth
3cb8cb293d * correctly raise exception
git-svn-id: trunk@36979 -
2017-08-20 19:07:55 +00:00
michael
de469955b3 * Test statements removed
git-svn-id: trunk@36978 -
2017-08-20 19:04:03 +00:00
florian
4a54a88cca + implement tcg.a_load_cgparaloc_ref for un-even sizes and little endian systems as well
git-svn-id: trunk@36977 -
2017-08-20 18:40:58 +00:00
michael
f65a36685c * Fix resourcestring deps
git-svn-id: trunk@36976 -
2017-08-20 18:33:53 +00:00
svenbarth
6a95291eda * always clear the variant part of FData
git-svn-id: trunk@36975 -
2017-08-20 18:31:52 +00:00
svenbarth
3b27c39934 * allow making of a TValue out of a raw interface
git-svn-id: trunk@36974 -
2017-08-20 18:31:15 +00:00
svenbarth
2d226e5db5 * allow making of a TValue out of a record or object (TP style) value
git-svn-id: trunk@36973 -
2017-08-20 18:30:40 +00:00