Commit Graph

55563 Commits

Author SHA1 Message Date
Jonas Maebe
73e8d5b39e Linux/PPC64: fix missing TOC loads
Routines loading a global symbol need the TOC register

(cherry picked from commit 2de72c8541)
2022-03-04 21:33:08 +01:00
florian
084e3e7b9a * use high level interface wrappers for powerpc64 if pic is generated as the abi does not support branches between functions located in different tocs which might happen for inter-module branches
(cherry picked from commit 12f48c230b)
2022-03-04 21:33:08 +01:00
Jonas Maebe
65733801e5 .gitattributes: restore after accidental deletion 2022-02-13 14:56:05 +01:00
Jonas Maebe
1c3fc6e2df * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsize
if not required, to avoid translating OS_C64 into OS_F64 (fix for x86
    test failures after r45205)

git-svn-id: trunk@45221 -
(cherry picked from commit 3f6ad30b69)
2022-02-13 12:02:28 +01:00
Jonas Maebe
8a31764a7b * support floating point parameters split over multiple locations, including
integer registers, for homogeneous records/arrays on ppc64le (related to
    mantis #36934)

git-svn-id: trunk@45205 -
(cherry picked from commit 722ad1ff7b)
2022-02-13 12:01:36 +01:00
Jonas Maebe
28b2b299da * ppc64le: fix storing homogeneous 64 bit float parameters in case they are
split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
(cherry picked from commit 05923af386)
2022-02-13 12:01:14 +01:00
florian
3ef2ab1019 * cleaning up tcgsize: it makes no sense to declare every combination and type
the different vector types must be either handled in the high level cg or
    by using the shuffle parameter

git-svn-id: trunk@43860 -
(cherry picked from commit b7c6e01b03)
2022-02-13 12:00:45 +01:00
svenbarth
dba65567f1 * use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different platforms
git-svn-id: trunk@47198 -
(cherry picked from commit 16eb670e67)
2022-02-02 17:12:31 +01:00
Pierre Muller
700628d545 Add soft fpu units to buildrtl also for aros and morphos 2022-02-02 10:55:17 +01:00
Pierre Muller
33927a2deb Add missing soft fpu units to buildrtl 2022-02-02 10:44:59 +01:00
Pierre Muller
4789afb4b0 Regenerated Makefile's after cherry-pick adding soft fpu related units 2022-02-01 14:02:07 -07:00
svenbarth
10838d8c19 + add all softfpu units for various targets
git-svn-id: trunk@47187 -
(cherry picked from commit 707034b271)
2022-02-01 13:55:16 -07:00
Florian Klämpfl
2ea6e0c82e * test for fixed bug to play safe
(cherry picked from commit f36a665879)
2022-01-30 22:42:28 +01:00
Sven Barth
6279283ce1 * fix for #39310 by fixing various small issues in tabstractrecordsymtable.has_single_field:
- initialize the returned def to a safe default
  - correctly reset the found symbol for each loop
  - reset the result when descending into a record
+ added test

(cherry picked from commit efd0c250df)
2022-01-30 22:42:10 +01:00
Pierre Muller
90301426fc Avoid use of fastmath optimization inside compiler
(cherry picked from commit 91f29419a5)
2022-01-27 00:08:50 +01:00
Pierre Muller
48f68cbeed Add FillWord procedures and implement unicode StringOfChar for JVM cpu
(cherry picked from commit 74c97e8928)
2022-01-25 22:05:14 +00:00
Florian Klämpfl
8731c5f7fd * message files regenerated 2022-01-23 17:58:24 +01:00
Florian Klämpfl
5cd1c4f5bc * manually fix unwanted stripping of exception frame info based on a patch by Gareth J. Moreton 2022-01-23 17:32:40 +01:00
marcoonthegit
08bb8c8dfc * fixed spelling error implicitEly in errore.msg, regenned msg.
(cherry picked from commit 45840da4dd)
2022-01-22 18:09:05 +01:00
marcoonthegit
96c2f883d2 * spelling fix to make Debian Lintian happy.
(cherry picked from commit 7238985091)
2022-01-22 17:42:50 +01:00
marcoonthegit
c31fa9b0ce * set version of delchars, requested by Bart B issue #39473
(cherry picked from commit a89a3f1577)
2022-01-21 18:29:03 +01:00
marcoonthegit
c214b949d4 * implemented stringofchar unicodestring, bug #39483
(cherry picked from commit 4568c77f57)
2022-01-21 18:28:56 +01:00
marcoonthegit
bcdfa7c926 * 24-bit byteswap color constants. Due to Opengl vs GDI conventions confusion?
(cherry picked from commit 742ec5680f)
2022-01-21 18:28:33 +01:00
marcoonthegit
b0db3a20d4 * copyright added based on Michael's original commit message
(cherry picked from commit 9773021315)
2022-01-21 18:28:02 +01:00
marcoonthegit
ac1cd0da9b * fix for 39413
Update DwmApi to support new DWM windows attributes like Windows 8 cloaking, Windows 10 dark mode and new Windows 11 rounded corners

patch by Taufik Rahmad Hidayanto

(cherry picked from commit 36ff644401)
2022-01-21 18:27:54 +01:00
pierre
34a9cc229f Second trial to fix commit 48688
git-svn-id: trunk@48691 -
(cherry picked from commit acf2567bda)
2022-01-16 17:14:14 +00:00
pierre
39ba1c39be Fix previous commit 48688 to avoid accessing 'invalid' positions in sym.value.valueptr
git-svn-id: trunk@48689 -
(cherry picked from commit 34fd36f817)
2022-01-16 17:13:58 +00:00
pierre
09f6a2ad0c Avoid writing characters after sym.value.len for conststring constant symbols
git-svn-id: trunk@48688 -
(cherry picked from commit 6a408fe97e)
2022-01-16 17:13:48 +00:00
florian
7c7f2cfdea * pass float abi always to the arm assembler
git-svn-id: trunk@39996 -
(cherry picked from commit 2cbb9895be)
2022-01-10 22:29:44 +01:00
FPK
31af8ea1a0 * new image
(cherry picked from commit 91337a3675)
2022-01-08 23:42:45 +01:00
florian
d63ad582a7 * cherry picked commit did not compile, fixing it, resolves #24863 2022-01-08 23:06:11 +01:00
florian
5a17765841 * if a variant is read/written, include the variants unit
git-svn-id: trunk@47459 -
(cherry picked from commit bcdfd07bdd)
2022-01-08 22:55:18 +01:00
Michaël Van Canneyt
0df4f6fcaa * --example-dir support
(cherry picked from commit 45c6833258)
2021-12-26 22:13:11 +01:00
florian
c0f20e0e5f * 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
(cherry picked from commit c6659d62f8)

# Conflicts:
#	.gitattributes
2021-11-28 15:22:20 +01:00
florian
a76d096254 * workaround missing optimizer capabilites of the fixes branch to fix avr compilation with -CriotR 2021-11-21 22:57:24 +01:00
svenbarth
8b21bf1cce * fix writing of the method and parameter names for the Variant call description
git-svn-id: trunk@49479 -
(cherry picked from commit 7330a0156c)
2021-11-14 11:41:56 +01:00
Sven Barth
28f86382e5 * FPC side fix for #39432: declare TColor the same way as Lazarus does (this way it's also a distinct type from LongInt)
(cherry picked from commit c950bcba9f)
2021-11-13 11:53:19 +01:00
Jonas Maebe
383c4a8e04 iphonesim: use ios_simulator_version_min
The linker expects ios_simulator_version_min rather than -iphoneos_version_min
when targeting the iOS simulator platform. Fixes compilation with Xcode 11
toolchains, which is more strict about this.

(cherry picked from commit 3263e12a3e)
2021-10-30 17:12:29 +02:00
Jonas Maebe
29d0a2a70a iphonesim target: requires proper alignment
Just like the native iOS targets

(cherry picked from commit 334cf9c19d)
2021-10-30 17:12:29 +02:00
marcoonthegit
8c765cf938 * add BI_ALPHABITFIELDS
(cherry picked from commit 9e1606f221)
2021-10-29 22:43:25 +02:00
ondrej
46a96d568e freetype: include bearings and invisible characters into text bounds
git-svn-id: trunk@49629 -
(cherry picked from commit b9db32ca05)
2021-10-29 22:43:11 +02:00
ondrej
cd4cdf65b3 freetype: fix font output, isuue 17156
git-svn-id: trunk@49628 -
(cherry picked from commit 41d6374bb6)
2021-10-29 22:42:59 +02:00
ondrej
36e8c54875 * glyph advances are stored in 16.16 fixed-point format and not 26.6 format (https://www.freetype.org/freetype2/docs/reference/ft2-glyph_management.html#ft_glyph)
git-svn-id: trunk@49627 -
(cherry picked from commit 83bb854f1e)
2021-10-29 22:42:48 +02:00
ondrej
daeb159232 TBAseStringBitmaps.CalculateGlobals: the first <non-empty> bitmap should be used, not the first one
git-svn-id: trunk@49625 -
(cherry picked from commit ade1bad057)
2021-10-29 22:42:39 +02:00
michael
0bd2aa7487 * Fix (by Han) for issue ID #35080
git-svn-id: trunk@49336 -
(cherry picked from commit 18a78020fa)
2021-10-29 22:42:19 +02:00
marco
b56aa3d475 * fix for mantis #39153 to fix calling release unbalanced wrt initialize.
git-svn-id: trunk@49615 -
(cherry picked from commit 84507b49c2)
2021-10-24 17:35:19 +02:00
marco
765c8bb557 * ProjectDir changes broke adding index and toc to latex CHMs
git-svn-id: trunk@49617 -
(cherry picked from commit 622554b59f)
2021-10-24 17:35:03 +02:00
florian
d9cb4be507 * last commit was wrong 2021-10-24 13:57:27 +02:00
florian
62875030b5 * hopefully i8086 compilation fixed 2021-10-24 13:50:48 +02:00
florian
feb9274963 * fix tcgobj.a_op_reg_ref and tcgobj.a_op_ref_reg after recent avr related merges 2021-10-24 12:40:38 +02:00