Commit Graph

51597 Commits

Author SHA1 Message Date
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
a87df638e7 m68k-atari: reenable threading feature. even if it's technically unsupported, it breaks the build of too many otherwise applicable packages
git-svn-id: trunk@37033 -
2017-08-22 11:07:10 +00:00
Mattias Gaertner
c53a9a07db fcl-passrc: resolver: const eval ignore Assigned(), copy(), concat(), typeinfo()
git-svn-id: trunk@37032 -
2017-08-22 10:54:23 +00:00
Károly Balogh
3c5011aedc macos: patched up the system unit to build at least on m68k
git-svn-id: trunk@37031 -
2017-08-22 10:51:39 +00:00
Károly Balogh
925ffcc744 regenerated compiler messages after r37029
git-svn-id: trunk@37030 -
2017-08-22 10:45:52 +00:00
Károly Balogh
2126f008f9 m68k: added NetBSD and MacOS to the compiler help output as targets
git-svn-id: trunk@37029 -
2017-08-22 10:42:27 +00:00
Károly Balogh
1d78e73ed8 m68k: there are now cross-binutils for old MacOS, so based on the old/existing bits, fix the support in the compiler
git-svn-id: trunk@37028 -
2017-08-22 10:41:02 +00:00
Károly Balogh
8db10af841 m68k: palmos and atari doesn't support threading
git-svn-id: trunk@37027 -
2017-08-22 09:06:52 +00:00
Károly Balogh
f4a8a29aea m68k: try to restore compilability with a 3.0 compiler
git-svn-id: trunk@37026 -
2017-08-22 09:05:20 +00:00
florian
a1a14eaaa8 * fix aarch64 building
git-svn-id: trunk@37025 -
2017-08-22 08:44:56 +00:00
Károly Balogh
b179ceefd4 fpcmake: enabled m68k-macos, disabled i386-qnx. there's now cross-binutils for the former, the later was recently obsoleted in the compiler, as no one worked on it since 1.x times
git-svn-id: trunk@37024 -
2017-08-22 08:28:59 +00:00
svenbarth
239d0704ca + add support for type helpers to also extend interface types
git-svn-id: trunk@37023 -
2017-08-21 20:49:20 +00:00
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