Commit Graph

55350 Commits

Author SHA1 Message Date
lacak
1a62aa0a4b fcl-db: base: AsLongWord property + getter/setters for TField and TParam + TLongWordField class
git-svn-id: trunk@47219 -


(cherry picked from commit a8cd770b3c)
2021-09-27 12:01:01 +00:00
Yuriy Sydorov
ebc55c0f4e * If in a move instruction "MOV reg1,reg2" one of the registers must be
spilled, but reg1 and reg2 are coalesced, then this is a no-op
  instruction and no spilling is needed.

(cherry picked from commit b43ee41090)
2021-09-09 22:23:28 +02:00
Yuriy Sydorov
7369565caf + Added a test for a bug fixed in b96057ad.
(cherry picked from commit 16d17de1ff)
2021-09-07 21:43:32 +02:00
Yuriy Sydorov
0ca0cd9d0d * Remove register allocations of coalesced registers if the alias
register is spilled.

(cherry picked from commit b96057adeb)
2021-09-07 21:43:16 +02:00
Yuriy Sydorov
0b5951cf22 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation
of flags in tx86typeconvnode.second_int_to_bool and in generic
  tcgtypeconvnode.second_int_to_bool. This fixes random failures of the
  tcnvint1 test and some other tests when compiled with -O2.

(cherry picked from commit 940ac567a5)
2021-09-07 21:37:19 +02:00
Jonas Maebe
9433467ec8 * Darwin support for printing line info for backtraces when using Dwarf,
based on patches by Colin Western, mantis #38483)
   o requires that the program/library is compiled with -Xg (or that
     dsymutil is run on it after compiling), and that the .dSYM bundle
     is in the same directory as the program/library
   o always use the "dl" unit in exeinfo for Darwin, as that's needed for
     dynamic library support, and this does not cause an extra dependency
     since on Darwin we always use libc
   o cleaned up the exeinfo unit for Darwin, and sped it up by using mmap
     instead of small reads
   o fixed unit dependencies for exeinfo, lineinfo and lnfodwarf in Darwin
     RTL Makefile
  * use the process address info from the original exe even when reading
    the debug information from an external file
  - removed outdated ifdef'd darwin code from dl.pp (no longer needed now
    that processaddress gets set correctly in exeinfo for that platform)

git-svn-id: trunk@49140 -
(cherry picked from commit 0eb9dd3879)
2021-09-04 15:09:22 +02:00
Jonas Maebe
7c75193865 * add missing unixtype dependencies
git-svn-id: trunk@46989 -
(cherry picked from commit de095258a7)
2021-09-04 10:27:30 +02:00
florian
61e9be551a * update dependencies of sysutils
git-svn-id: trunk@43315 -
(cherry picked from commit c7fb1b8db7)
2021-09-04 10:27:23 +02:00
florian
58dacbd625 * generate a def. file only if really necessary
(cherry picked from commit d3615788a8)
2021-08-29 21:40:31 +02:00
FPK
4597a05c11 * factored out the fullcycle job as proposed by Marcus
(cherry picked from commit e9b880c947)
2021-08-28 19:41:34 +02:00
florian
0a4d6df7b9 * fix test for targets with FPC_COMP_IS_INT64 defined
(cherry picked from commit e80560e59c)
2021-08-27 22:42:56 +02:00
Pierre Muller
5894c13c63 Also ignore compiler/gppc* pattern
(cherry picked from commit c426791a1b)
2021-08-27 10:19:41 +02:00
Jonas Maebe
b7b9c5d94c * fix false possitive tconstexprint range errors after r41441 (mantis #35144)
git-svn-id: trunk@41469 -
(cherry picked from commit eb71a30933)
2021-08-27 10:02:15 +02:00
Pierre Muller
b2ce589dae Delete binary file added by error 2021-08-27 09:11:05 +02:00
Jonas Maebe
197f5cbec5 * let all the case code generation work with tconstexprint instead of aint,
so it also works for 32 bit targets and a high level code generator
    (where aint is still 32 bit, but 64 bit operations are not decomposed)

git-svn-id: trunk@41441 -
(cherry picked from commit 07bd4ba517)

With local change to fix compilation for x86_64 CPU
2021-08-26 23:28:28 +02:00
FPK
d7dcda75b9 + do fullcycle
(cherry picked from commit 98574a88a3)
2021-08-26 23:14:31 +02:00
FPK
2f887ff577 * build fpts2junit after testing so all directories are present
(cherry picked from commit 683e5b873b)
2021-08-26 23:14:24 +02:00
FPK
23f64d024b + build fpts2junit
+ generate testresult.xml artifact

(cherry picked from commit 2be893cb17)
2021-08-26 23:14:17 +02:00
FPK
335b6acc4d * build and test must be one job
(cherry picked from commit 21914bf43b)
2021-08-26 23:14:10 +02:00
FPK
21cead61d5 * Cleaned up .gitlab-ci.yml
* Added regression testing

(cherry picked from commit db677c9fe3)
2021-08-26 23:14:03 +02:00
FPK
3f0a692820 Added make command to .gitlab-ci.yml
(cherry picked from commit ff69b7479e)
2021-08-26 23:13:55 +02:00
FPK
09224069a8 Initial .gitlab-ci.yml file
(cherry picked from commit 0919916ba7)
2021-08-26 23:13:44 +02:00
florian
9a7a015109 * properly handle result size for avx/sse based frac function, resolves #38248
git-svn-id: trunk@47839 -
(cherry picked from commit b28aa5c684)
2021-08-24 23:26:25 +02:00
Pierre Muller
bbe0f05a7f Add test for bug report #38973 (already fixed in trunk/main)
Fixed by in fixes_3_2 branch by cherry-pick commit g4e5fb2c

(cherry picked from commit 0bc827e9e2)
2021-08-24 13:30:49 +00:00
florian
4e5fb2c6a8 * might_have_sideeffects gets flags: if mhs_exceptions is passed, nodes which might cause an exception are considered as having a side effect
git-svn-id: branches/laksen/riscv_new@39483 -
(cherry picked from commit 32a58ba7d1)
2021-08-24 10:43:24 +02:00
florian
f6dee4c3e0 * process fma intrinsic parameters in an order which takes care of multiple x87 stack parameters, resolves #38295
(cherry picked from commit 9592c033e5)

# Conflicts:
#	.gitattributes
2021-08-24 00:14:05 +02:00
florian
e683e6e912 * fix spilling of (v)min/max/s/ps/d operations
git-svn-id: trunk@48856 -
(cherry picked from commit 90710d055b)
2021-08-24 00:08:44 +02:00
florian
7a77369d5e * another loop counter copying fix
git-svn-id: trunk@49028 -
(cherry picked from commit a32a870f33)
2021-08-24 00:06:47 +02:00
florian
f7f0d53604 * prefetch instructions read only the operand
git-svn-id: trunk@49089 -
(cherry picked from commit aa1a68000b)
2021-08-24 00:06:20 +02:00
florian
cc53864fc8 * pass suitable sysroot to aarch64-darwin compiler, if none is supplied by SYSROOTPATH
(cherry picked from commit fe06cddbbf)

# Conflicts:
#	utils/fpcm/fpcmake.inc
2021-08-24 00:05:15 +02:00
florian
7ceb3854c5 * AVR: fixed TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49126 -
(cherry picked from commit 05cf47f995)
2021-08-24 00:01:42 +02:00
florian
26f200b0ff * even if currency is handled by torddef, it is a real number, so using / is perfectly right, resolves #38718
(cherry picked from commit 09628e56cb)

# Conflicts:
#	.gitattributes
2021-08-24 00:00:50 +02:00
florian
30c6cc295c * newer linux distros might have powerpc64 libraries in /usr/lib or /lib
git-svn-id: trunk@49182 -
(cherry picked from commit 0a99028128)
2021-08-24 00:00:01 +02:00
florian
83219f5592 * fpsr and fpcr are 64 bit on aarch64
git-svn-id: trunk@49257 -
(cherry picked from commit 047d13e7e1)
2021-08-23 23:58:54 +02:00
florian
1f8c547561 * fix exception generation in ln(...), resolves #38832
(cherry picked from commit 1e1848da92)

# Conflicts:
#	.gitattributes
2021-08-23 23:57:33 +02:00
florian
078a6c31c9 * explicitly reset successor if noreturn is set
git-svn-id: trunk@49487 -
(cherry picked from commit a988c0fab1)
2021-08-23 23:53:22 +02:00
Bernd Kreuss
68766018ea gdeque: remove unused variable
(cherry picked from commit 69883e04f1)
2021-08-23 18:30:13 +02:00
Pierre Muller
ac3a97a649 Add some more patterns to .gitignore
(cherry picked from commit 8fbd6dedbb)
2021-08-23 13:47:45 +02:00
florian
9f2ab5eb2f + new switches -DD and DT which allow to pass an arbitrary string which is used by %DATE%/%TIME%
git-svn-id: trunk@47132 -
(cherry picked from commit 9ea52b8578)

# Conflicts:
#	compiler/msgidx.inc
#	compiler/msgtxt.inc
2021-08-21 21:26:25 +02:00
florian
7fca3c9b1f * check if git executable really exists
(cherry picked from commit a77f5221f3)
2021-08-21 20:57:24 +02:00
Don
5e06e89678 Allow custom definition of GIT.
(cherry picked from commit f6636c9c1c)
2021-08-21 20:55:44 +02:00
florian
d1f11bb292 * always use $(GIT) to call git
(cherry picked from commit a4878d892c)

# Conflicts:
#	compiler/Makefile
2021-08-21 20:55:38 +02:00
florian
7ae51087e5 * compiler Makefile checks if SOURCE_SOURCE_DATE_EPOCH_DATE is set or if git is used, in either case the former or the latter are used for the build date reported by the compiler
git-svn-id: trunk@47133 -
(cherry picked from commit 201281ae2a)
2021-08-21 20:46:54 +02:00
florian
055283f9cb * set register size correctly for popcnt(<byte>), resolves #37400
(cherry picked from commit ed158f1e52)

# Conflicts:
#	.gitattributes
2021-08-21 16:36:43 +02:00
Pierre Muller
b9090f9117 Add several pattern from tests sub-directory to ignore list
(cherry picked from commit 9700c03699)
2021-08-20 23:37:55 +02:00
Pierre Muller
a837c8d47a Add several pattern from tests sub-directory to ignore list 2021-08-20 21:17:13 +00:00
florian
f58f92f005 * fix change information for popcnt
(cherry picked from commit a45123a87b)
2021-08-19 23:05:07 +02:00
Pierre Muller
18aae139cb Add support for hash generation for git repository (local modifier not implemented)
(cherry picked from commit 3da7d62b1a)
2021-08-18 12:27:22 +02:00
florian
1fd49868c7 * properly check if -unpushed should be appended in revision.inc
(cherry picked from commit 3e3f99c328)
2021-08-18 10:57:27 +02:00
florian
d48e34a81d + include -unpushed in revision.inc if not all changes are pushed to the remote
(cherry picked from commit 4c1eb4e454)
2021-08-17 23:01:40 +02:00