Commit Graph

61247 Commits

Author SHA1 Message Date
florian
fe57cd3536 * fix LLVM after r48828
* global gotos really use the return type of fpc_setjmp to test where we come from

git-svn-id: trunk@48835 -
2021-02-27 22:07:58 +00:00
Jonas Maebe
9c831677ff * support Objective-C classes and protocols with -gw3 (mantis #36250)
git-svn-id: trunk@48834 -
2021-02-27 21:44:53 +00:00
Jonas Maebe
803779002d * the new constant string arraydefs are also implicit pointers types for JVM
git-svn-id: trunk@48833 -
2021-02-27 19:30:37 +00:00
Jonas Maebe
ab0531f0ce * fixed JVM stack height calculation after calls returning an
implicit pointer tpe

git-svn-id: trunk@48832 -
2021-02-27 19:30:34 +00:00
florian
4c2e0b9ff0 * for setjmp based exception handling, get the type of the exception reason from the setjmp result
git-svn-id: trunk@48828 -
2021-02-27 16:47:36 +00:00
pierre
58171b4308 Extend list of CPUs defining slowcpu conditional in tmt1 and tw8177 sources
git-svn-id: trunk@48816 -
2021-02-26 23:39:14 +00:00
florian
2932787dee * use SizeInt for counters in math unit, all non-32 bit targets should benefit from this
git-svn-id: trunk@48815 -
2021-02-26 22:47:06 +00:00
pierre
f767a4ac09 Do not add libgcc directory to library directories with -Fl option if -Xd option is used
git-svn-id: trunk@48814 -
2021-02-26 17:15:30 +00:00
Károly Balogh
8d0ef71e37 m68k-linux: revert maxCrecordalign to 2, as an experiment to fix some linking-against-C regressions since the alignment changes
git-svn-id: trunk@48809 -
2021-02-26 10:57:05 +00:00
florian
c6443809ba + SETcc/Mov -> SETcc optimization
git-svn-id: trunk@48808 -
2021-02-25 22:07:40 +00:00
florian
857cbddf04 * applied patch by Pierre to fix make cycle -Cr
git-svn-id: trunk@48806 -
2021-02-24 21:10:05 +00:00
marcus
53d847f268 Amiga, AROS, MorphOS: Prevent crash when access socket without TCP/IP Stack running
git-svn-id: trunk@48805 -
2021-02-24 19:00:58 +00:00
Jonas Maebe
cfa3f4fa8c + added b.cc/b.cs support to AArch64 assembler reader (mantis #38485)
git-svn-id: trunk@48803 -
2021-02-24 15:40:22 +00:00
pierre
236bef961c Patch by Gareth Moreton
* Fix lea optimizations which lead to more failures with -O3 and -O4 options.

 - LeaLea2Lea now checks to see if the index register is in use.
 - For both the base and index registers, RegUsedBetween is changed to
 RegModifiedBetween, since just reading the register is harmless for the
 optimisation (it finds additional optimisations in the RTL as a result).
 - Because I saw the mis-optimisation with MOVZX that occurred (even
 though it was due to the mis-optimisation of LEA instructions), I wrote
 some extra code in OptPass2Movx as a safety measure to ensure this
 doesn't happen (although no additional instances of it happening have
 been noted so far - best be safe than sorry).

git-svn-id: trunk@48802 -
2021-02-24 12:58:04 +00:00
pierre
e2386ae876 * Remove obsolete -OG2p3 option for extcycle
+ Add extoptcycle to cycle compiler with both -dEXTDEBUG and -dDEBUG_ALL_OPT

git-svn-id: trunk@48801 -
2021-02-24 10:40:15 +00:00
pierre
63a3c25493 Add wposuffix to keep different logs for each pass when passes is > 1
git-svn-id: trunk@48800 -
2021-02-24 10:36:45 +00:00
Károly Balogh
0216f77819 m68k: adjusted some max alignment values for m68k-linux based on i386-linux, because the ELF loader on m68k should be able to provide the same alignments for globals
git-svn-id: trunk@48799 -
2021-02-24 09:20:04 +00:00
Károly Balogh
2703b36fe1 m68k: removed some helper function which was added, but in the end it never saw any use
git-svn-id: trunk@48798 -
2021-02-24 09:10:40 +00:00
pierre
f85d7d2591 Fix tw28713 for big endian CPUs
git-svn-id: trunk@48795 -
2021-02-23 22:04:18 +00:00
florian
5afa26ddd1 * fix compilation for CPUs without thumb
git-svn-id: trunk@48794 -
2021-02-23 20:39:25 +00:00
Mattias Gaertner
1b6eab81ef pastojs: anonymous vartype
git-svn-id: trunk@48793 -
2021-02-23 01:37:05 +00:00
pierre
2cd6951205 Apply patch proposed by J. Gareth Moreton in bug report #0038527
The patch reworks the LeaLea2Lea optimisation and hopefully fixes the bug (admittedly by adding a brand new optimisation!).

git-svn-id: trunk@48792 -
2021-02-22 23:15:31 +00:00
florian
cefa05c8b1 * correctly allocate edx for mulx, resolves #38533
git-svn-id: trunk@48791 -
2021-02-22 20:39:12 +00:00
Károly Balogh
0ca1e2fb42 * attempt to fix bitpacked records with qwords in them (tw36156) when cross-compiling to big endian targets from x86. essentially the x86 shifting workarounds in the code already weren't covering all corner cases.
git-svn-id: trunk@48773 -
2021-02-21 23:00:41 +00:00
Jonas Maebe
6beb28316e * Darwin targets that don't support link order sym files can't smart link
vectorized sections

git-svn-id: trunk@48765 -
2021-02-21 21:41:09 +00:00
Jonas Maebe
8b82e2a9cb * iphonesim targets support link order sym files
git-svn-id: trunk@48764 -
2021-02-21 21:41:05 +00:00
florian
5a26c58285 * allow in-operator to be used on type parameters, resolves #38497
git-svn-id: trunk@48763 -
2021-02-21 21:29:40 +00:00
Jonas Maebe
0f36b85a3d - Darwin/ppc64 linker does not support symbol order file
git-svn-id: trunk@48762 -
2021-02-21 21:09:38 +00:00
svenbarth
c7f4be71dc * correctly set the defowner of the exception symtable to the surrounding routine as suggested by Blaise.ru
git-svn-id: trunk@48760 -
2021-02-21 19:15:52 +00:00
florian
60c8b71bae * string constants have a size of 0, resolves #38504
git-svn-id: trunk@48759 -
2021-02-21 18:46:00 +00:00
florian
34f7c3e6d4 + array defs. of open arrays are now marked by ado_OpenArray, so (internally!) zero sized array can be declared with 0..-1
git-svn-id: trunk@48758 -
2021-02-21 18:45:58 +00:00
florian
f333fb08ec * patch by Alfred to fix cutils.CompareVersionStrings, resolves #38514
git-svn-id: trunk@48757 -
2021-02-21 18:04:12 +00:00
nickysn
71887b902b + added unit EastAsianWidth, which contains the EastAsianWidth unicode data property
git-svn-id: trunk@48755 -
2021-02-21 17:43:42 +00:00
nickysn
0c22ee8678 + added an eawparser tool - tool for parsing the EastAsianWidth.txt unicode
property table and converting it to code

git-svn-id: trunk@48754 -
2021-02-21 17:21:13 +00:00
nickysn
99f3a03386 - excluded embedded,zxspectrum,msxdos,amstradcpc from the targets that compile GraphemeBreakProperty
git-svn-id: trunk@48753 -
2021-02-21 16:23:41 +00:00
florian
17a3ca31ff * fix by avk for issue #38513
+ test

git-svn-id: trunk@48752 -
2021-02-21 13:54:25 +00:00
florian
3d0eac3ee6 * patch by Michael Ring: remove lm4f120 from armv7m as it is armv7em
git-svn-id: trunk@48750 -
2021-02-21 09:02:29 +00:00
florian
29b0712418 * patch by Michael Ring to fix errors introduced by r48722
git-svn-id: trunk@48734 -
2021-02-20 20:50:04 +00:00
marcus
fb5cd1aefd MorphOS: TProcess implementation supporting async mode and pipes
git-svn-id: trunk@48733 -
2021-02-20 18:39:40 +00:00
Károly Balogh
2ffe777b44 m68k: extend the the register to full size, when multiplied by an immediate in memory references. Patch based on the work of Pierre Muller.
git-svn-id: trunk@48732 -
2021-02-20 11:21:14 +00:00
nickysn
8c06529ae2 + added and implemented a TUnicodeStringExtendedGraphemeClustersEnumerator class
in the graphemebreakproperty unit - an enumerator that splits a UTF-16 string
  into extended grapheme clusters (i.e. user-perceived characters), conforming
  to the Unicode 9.0 algorithm:
  https://www.unicode.org/reports/tr29/tr29-29.html

git-svn-id: trunk@48726 -
2021-02-20 01:24:46 +00:00
nickysn
4ab485225c + added modified LGPL license header to the new graphemebreakproperty.pp unit
git-svn-id: trunk@48725 -
2021-02-19 23:39:18 +00:00
nickysn
80bd080293 + added unit GraphemeBreakProperty, containing the grapheme break property character data from Unicode 9.0
git-svn-id: trunk@48723 -
2021-02-19 22:29:12 +00:00
florian
1213948393 * (modified) patch by Michael Ring to enable the FPU on Cortex-M4F if available
git-svn-id: trunk@48722 -
2021-02-19 21:11:12 +00:00
nickysn
715fb8007f + added the gbpparser tool to fpmake.pp
git-svn-id: trunk@48721 -
2021-02-19 20:16:09 +00:00
nickysn
9bc0f62f45 + added tool for parsing GraphemeBreakProperty.txt and converting it to code
git-svn-id: trunk@48720 -
2021-02-19 19:32:10 +00:00
nickysn
26253b9e88 * updated readme with URLs of the Unicode 9.0 and CLDR 30 data files (to the best of my knowledge)
git-svn-id: trunk@48719 -
2021-02-19 19:27:55 +00:00
nickysn
5677ef4bdd * fixed the file name in the cldrparser help screen
git-svn-id: trunk@48718 -
2021-02-19 19:24:58 +00:00
nickysn
2b73b5bf9a * fixed the parse-collations script/bat file
git-svn-id: trunk@48717 -
2021-02-19 19:24:20 +00:00
michael
1357eedf09 * Month constants appeared in Delphi
git-svn-id: trunk@48716 -
2021-02-19 08:12:46 +00:00