svenbarth
76c45b1a72
* fix for Mantis #34333 : improve error output for incorrect calls to Copy()
...
git-svn-id: trunk@39817 -
2018-09-26 21:33:51 +00:00
svenbarth
cc354f9d72
* have the fpc_*_copy compiler intrinsics reference the intrinsic symbol they belong to
...
git-svn-id: trunk@39816 -
2018-09-26 21:33:46 +00:00
florian
51644f497b
* fixes broken compilation after merging
...
git-svn-id: trunk@39815 -
2018-09-26 20:22:13 +00:00
florian
a34d4e715c
Merged riscv_new branch
...
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
florian
7082b6e34a
* compilation fixed
...
git-svn-id: trunk@39812 -
2018-09-26 19:38:17 +00:00
pierre
41d2a0a496
Disable libraries not compiling for jvm-java or jvm-android targets
...
git-svn-id: trunk@39808 -
2018-09-26 09:29:33 +00:00
pierre
25892dca18
Explicitly also disable java OS target
...
git-svn-id: trunk@39807 -
2018-09-26 09:27:33 +00:00
pierre
bc53dda542
Rename Result parameter to _Result to avoid compilation error for ppcjvm
...
git-svn-id: trunk@39806 -
2018-09-26 09:25:54 +00:00
florian
88f83280dc
* correctly take care of short boolean evaluation when rearranging nodes during CSE
...
git-svn-id: branches/laksen/riscv_new@39803 -
2018-09-25 20:31:03 +00:00
svenbarth
bf91991bae
* fix for Mantis #34332 : allow 2 parameter form of Copy also for ShortString variables
...
+ added test
git-svn-id: trunk@39802 -
2018-09-25 19:10:06 +00:00
pierre
0e6c072365
define iconv_is_in_libc by default for netbsd OS (can be disabled by adding -dDISABLE_ICONV_LIBC option
...
git-svn-id: trunk@39801 -
2018-09-24 22:20:30 +00:00
Mattias Gaertner
a672107894
pastojs: fixed override class interface map
...
git-svn-id: trunk@39799 -
2018-09-24 17:28:58 +00:00
Jeppe Johansen
d33b520690
Clean up peephole optimization code.
...
Add hardfloat ABI option for RiscV. Still needs proper implementation though.
Add CG support for profiling.
git-svn-id: branches/laksen/riscv_new@39798 -
2018-09-24 17:15:22 +00:00
Jeppe Johansen
2b4532d3fa
asm-generic syscalls only selectively include nr_renameat. Instead nr_renameat2 seems to be the new default.
...
git-svn-id: branches/laksen/riscv_new@39795 -
2018-09-22 12:34:48 +00:00
marco
5e7e4814d9
* suppress keyword if seealso is assigned. Fix for code that is scheduled to be rewritten.
...
git-svn-id: trunk@39793 -
2018-09-22 11:44:20 +00:00
svenbarth
116230f759
* forgot to commit extension to tspecializenode
...
git-svn-id: trunk@39788 -
2018-09-21 15:17:52 +00:00
svenbarth
9a99ab9dda
* fix for Mantis #34287 : correctly handle "inherited method" calls if "method" is a generic (no matter if it's mode Delphi or not)
...
+ added test
git-svn-id: trunk@39787 -
2018-09-21 15:16:18 +00:00
svenbarth
06267006f3
* explicitely handle the boolean types to determine the bit size as all of them have the bit size 1
...
+ added test
git-svn-id: trunk@39786 -
2018-09-21 13:24:49 +00:00
svenbarth
f0761d3995
* apply patch by Andrey Zubarev to avoid a hint regarding the position parameter not being initialized
...
git-svn-id: trunk@39785 -
2018-09-21 12:59:59 +00:00
marco
25369b556d
* set EOL properties on data2inc.exm since it is a textfile.
...
git-svn-id: trunk@39784 -
2018-09-21 08:28:46 +00:00
Jeppe Johansen
8f4173c54d
Add a number of optimizations.
...
Don't do CSE restructuring when has full evaluation enabled.
git-svn-id: branches/laksen/riscv_new@39781 -
2018-09-20 20:27:58 +00:00
Mattias Gaertner
ffc099be8a
pastojs: test precompile with -Jminclude
...
git-svn-id: trunk@39771 -
2018-09-19 13:06:51 +00:00
Mattias Gaertner
680f6c125b
fcl-passrc: less hints
...
git-svn-id: trunk@39770 -
2018-09-19 13:06:25 +00:00
Mattias Gaertner
6b30c5f7c7
fcl-js: srcmap: added option smoAllowSrcLine0
...
git-svn-id: trunk@39769 -
2018-09-19 13:06:05 +00:00
pierre
202146bf48
Update revision number after commit #39757
...
git-svn-id: trunk@39765 -
2018-09-17 12:06:54 +00:00
Jeppe Johansen
576ef934bd
Fix bug in lui+addi immediate load for spilling code.
...
git-svn-id: branches/laksen/riscv_new@39764 -
2018-09-16 20:51:15 +00:00
florian
7855b3cf1b
* relax formula for max. nodes to inline
...
git-svn-id: trunk@39763 -
2018-09-16 19:15:30 +00:00
Jeppe Johansen
74a7963d58
Redo overflow checking code.
...
Fix shift operators in case of unsigned subreg operations. There should be no sign extension here.
Add some unittest implementations that test stack execution and writing to readonly constants.
git-svn-id: branches/laksen/riscv_new@39762 -
2018-09-16 18:37:59 +00:00
florian
49e7e5f512
* support aitconst_*bit_unaligned in the intel assembler writer, resolves #34222
...
git-svn-id: trunk@39761 -
2018-09-16 15:27:03 +00:00
florian
ee338fc709
* patch by Karl-Michael Schindler to update the german messages files, resolves #34218
...
git-svn-id: trunk@39760 -
2018-09-16 15:13:04 +00:00
florian
a21397e356
+ based on a patch by Laksen, optimize (v>=x) and (v<=y) into (v-x)<(y-x)
...
git-svn-id: trunk@39759 -
2018-09-16 13:09:36 +00:00
michael
8307e46e4b
* Fix bug #0034288 , wrong check when converting floats
...
git-svn-id: trunk@39758 -
2018-09-16 12:03:36 +00:00
pierre
1602d3743c
Add SHAREDLIBEXT=.a for AIX OS to fpcmake.ini
...
git-svn-id: trunk@39757 -
2018-09-14 14:07:38 +00:00
pierre
c7cc85fb1d
Add AIXSharedLibExt to avoid failure on pas2js shared library installation for AIX OS
...
git-svn-id: trunk@39756 -
2018-09-14 14:06:27 +00:00
florian
64ad48e89e
* forgotten part of r39750
...
git-svn-id: trunk@39752 -
2018-09-13 20:20:40 +00:00
florian
800ce23499
* fixed some issues to get correct values of section_count, works better than before but it is still not perfect for unknown reasons
...
git-svn-id: trunk@39750 -
2018-09-12 20:33:18 +00:00
yury
15476898ca
* Re-generated lists of android syscalls by a new script. The lists are more correct now. The script's location: https://svn.freepascal.org/svn/fpcbuild/scripts/android
...
git-svn-id: trunk@39749 -
2018-09-12 16:54:52 +00:00
michael
e1b5f21b01
* Patch from Ondrej Pokorny to enable Alpha blending in (stretch)Draw (bug ID 34266)
...
git-svn-id: trunk@39748 -
2018-09-12 15:21:38 +00:00
michael
a84554ef9f
* Patch from Ondrej Pokorny to improve performance
...
git-svn-id: trunk@39747 -
2018-09-12 15:18:20 +00:00
marco
6fbff7f7a6
* some more case fixes by Ondrej, mantis #34267
...
git-svn-id: trunk@39744 -
2018-09-12 12:39:05 +00:00
marco
7833dbf6a4
* uppercase relative_P_ath. Mantis #34262
...
git-svn-id: trunk@39743 -
2018-09-12 11:24:19 +00:00
yury
3a2884df70
* Android: The list of supported syscalls has been auto-generated directly from android sources for each CPU.
...
* Minor adjustments to make all compilable with the proper list of Android syscalls.
git-svn-id: trunk@39739 -
2018-09-11 16:10:50 +00:00
pierre
32001975bf
* Add PAGESIZE local constant.
...
+ Set LAST_PAGE_GENERATES_SIGNAL macro for linux powerpc/powerpc64.
+ Use page_size for StackBottom computation.
+ Use LAST_PAGE_GENERATES_SIGNAL in StackBottom computation.
git-svn-id: trunk@39736 -
2018-09-11 13:13:50 +00:00
pierre
16e2bdad5a
Avoid wrap on 32-bit system for StackTop calculation
...
git-svn-id: trunk@39735 -
2018-09-11 13:10:59 +00:00
pierre
70fae803ce
Increase default trace size to 16
...
git-svn-id: trunk@39734 -
2018-09-11 13:08:51 +00:00
pierre
afc25c8838
sparc64-linux objects recompiled with GCC 7.3.0
...
git-svn-id: trunk@39733 -
2018-09-11 08:16:56 +00:00
pierre
b279f24f26
Add FPC_SOFT_FPUX80 and FPC_SOFT_FPU128 define handling
...
git-svn-id: trunk@39732 -
2018-09-11 08:02:48 +00:00
pierre
d46536817c
Disable overflow for UDIVX ans SDIVX 64-bit instructions
...
git-svn-id: trunk@39731 -
2018-09-11 08:00:54 +00:00
svenbarth
cb8f6f637c
* fix big endian targets by using an explicit assignment with typecast instead of an absolute variable
...
git-svn-id: trunk@39728 -
2018-09-10 21:12:29 +00:00
svenbarth
5d9ddf99d4
* use SizeInt instead of LongInt for the size fields of the VMT to match what the compiler generates for non-32-bit targets
...
git-svn-id: trunk@39727 -
2018-09-10 20:57:04 +00:00