yury
d34168742e
* Fixed r46801 for the case of int64 params with a single paralocation.
...
git-svn-id: trunk@46802 -
2020-09-08 20:17:50 +00:00
yury
e159c92967
* Do not use stack parameter location for spilling if its size is less than the register size for all CPU targets except x86.
...
git-svn-id: trunk@46801 -
2020-09-08 18:50:58 +00:00
florian
93eef547ae
* improve call0 calling conventions
...
git-svn-id: trunk@46797 -
2020-09-07 20:28:38 +00:00
Mattias Gaertner
ce9d7f9995
pastojs: specialize procedure using pascal name
...
git-svn-id: trunk@46796 -
2020-09-07 19:44:04 +00:00
Mattias Gaertner
2f661371fe
pastojs: specialize class/record type using pascal name
...
git-svn-id: trunk@46795 -
2020-09-07 17:21:15 +00:00
yury
60c23daa91
* Fixed the stack parameters optimization (r46776) for big endian CPUs.
...
git-svn-id: trunk@46794 -
2020-09-07 12:54:20 +00:00
Mattias Gaertner
e50916a93c
pastojs: specialize array type using pascal name
...
git-svn-id: trunk@46793 -
2020-09-07 12:24:19 +00:00
Mattias Gaertner
a577fa3e58
pastojs: specialized procedure type RTTI now uses pascal name
...
git-svn-id: trunk@46792 -
2020-09-07 11:10:40 +00:00
Mattias Gaertner
7159e63614
pastojs: using pascal names for RTTI
...
git-svn-id: trunk@46791 -
2020-09-07 10:53:13 +00:00
florian
cdf1f710e5
+ C objects for for xtensa-freertos with call0 abi, build with:
...
make create_c_objects TEST_CCOMPILER=xtensa-lx106-elf-gcc TEST_ABI=call0 TEST_FPC=fpc TEST_CPU_TARGET=xtensa TEST_OS_TARGET=freertos "TEST_CFLAGS=-O3 -mlongcalls"
using xtensa-lx106-elf-gcc (crosstool-NG crosstool-ng-1.22.0-100-ge567ec7) 5.2.0
git-svn-id: trunk@46790 -
2020-09-06 20:23:25 +00:00
florian
02df628399
* regenerated
...
git-svn-id: trunk@46789 -
2020-09-06 20:23:23 +00:00
florian
323b3b5d2b
+ create directory for C objects if needed
...
git-svn-id: trunk@46788 -
2020-09-06 20:23:22 +00:00
Mattias Gaertner
43aa4c6b40
pastojs: override specialize name
...
git-svn-id: trunk@46787 -
2020-09-06 09:06:30 +00:00
Mattias Gaertner
f3579bf526
fcl-passrc: resolver specialize name with params
...
git-svn-id: trunk@46786 -
2020-09-06 09:06:03 +00:00
florian
9337b2a3ac
* Xtensa: handle references with offset only properly
...
git-svn-id: trunk@46784 -
2020-09-05 20:25:32 +00:00
florian
243300c85f
* more ABI compliant parameter passing
...
git-svn-id: trunk@46783 -
2020-09-05 20:25:31 +00:00
florian
aea85fcd66
* Xtensa-freeRTOS: fix linking against libc
...
git-svn-id: trunk@46782 -
2020-09-05 20:25:30 +00:00
florian
8ef6372340
* Xtensa: tcgcpu.g_concatcopy makes use of loop extensions if available
...
git-svn-id: trunk@46781 -
2020-09-05 20:25:29 +00:00
florian
451bb09e8f
* Xtensa: tcgcpu.g_concatcopy uses OC_NE so the branch requires one instruction less
...
git-svn-id: trunk@46780 -
2020-09-05 20:25:28 +00:00
florian
1edf99c324
* Xtensa: tcpuunaryminusnode.second_float fixed for double
...
git-svn-id: trunk@46779 -
2020-09-05 20:25:28 +00:00
Jonas Maebe
97bf6d6677
* fix formatfloat for 0 in exponential format (based on patch by
...
Jamie Philbrook, mantis #37374 )
git-svn-id: trunk@46778 -
2020-09-05 18:44:57 +00:00
yury
71fcb74e95
* Fixed r46776: With -O3 do not "coalesce" spilled nodes if the initial location is set.
...
git-svn-id: trunk@46777 -
2020-09-05 18:39:09 +00:00
yury
c2dc342c55
* Use the initial location of stack parameters as a spilling location if spilling is needed. This leads to the following optimizations:
...
- no spill temp is allocated;
- no load of a stack parameter to a spill temp;
- if a stack parameter is used only once do not preload it to a register. The parameter can be accessed directly in the stack if the target CPU supports this.
git-svn-id: trunk@46776 -
2020-09-05 18:20:18 +00:00
yury
acef1e22d3
* Improved output of spilling statistics:
...
- Do not use count_uses, since weight already represents a usage count of a register.
- Do not count spills of registers with weight less than 100.
git-svn-id: trunk@46775 -
2020-09-05 16:06:41 +00:00
Jonas Maebe
23956e9f10
* prevent quadratic complexity in the size of the inheritance chain when
...
comparing objectdefs for equality
git-svn-id: trunk@46774 -
2020-09-05 12:25:13 +00:00
Jonas Maebe
cc315e0ac7
* fix tw3930 after r37927
...
o "unique" class (and interface) type aliases should actually not exist at
all except for overload resolution. All the rest (VMT, UUID, RTTI, ...)
should be taken from the aliased class/interface
o there is one Delphi-incompatibily left after this change, but it shouldn't
matter: tw8180 does not compile if you change the declaration to
"tcl=class(TInterfacedObject,XStr,iinterface)", while Kylix does compile
that. It doesn't really matter though, because in Kylix this actually
adds iinterface twice as implemented interface, so there is no point
in accepting this.
git-svn-id: trunk@46773 -
2020-09-05 12:25:09 +00:00
Mattias Gaertner
c45e56bc91
pastojs: specializations: create initSpec for class/record only if typeinfo or global field exists
...
git-svn-id: trunk@46772 -
2020-09-05 11:52:44 +00:00
florian
965f759c0d
* Xtensa: arrays are always passed as by reference but still returned in up to 4 registers
...
git-svn-id: trunk@46770 -
2020-09-04 20:58:14 +00:00
Mattias Gaertner
6c8b0614b1
pastojs: specializations: create initSpec if params need it
...
git-svn-id: trunk@46769 -
2020-09-04 17:57:19 +00:00
Mattias Gaertner
fc4c48a11c
pastojs: override scope class array and proctype
...
git-svn-id: trunk@46768 -
2020-09-04 17:17:46 +00:00
Mattias Gaertner
9140e9414d
fcl-passrc: allow override scope class array and proctype
...
git-svn-id: trunk@46767 -
2020-09-04 17:17:12 +00:00
svenbarth
b2177fb50e
* fix for Mantis #37650 : apply adjusted patch by Ryan Joseph do not range check the length of ShortStrings if their length parameter is based on a generic constant
...
+ added test
git-svn-id: trunk@46766 -
2020-09-04 15:44:23 +00:00
florian
9a7e977167
* replace tcaldefs.inc by cpudefs.inc
...
git-svn-id: trunk@46765 -
2020-09-04 15:37:01 +00:00
florian
28e2fae09d
+ forgotten file
...
git-svn-id: trunk@46764 -
2020-09-04 15:33:29 +00:00
michael
a49c469a5d
* Fix defines for fpdoc
...
git-svn-id: trunk@46763 -
2020-09-04 15:19:28 +00:00
svenbarth
e2c1a242c0
* fix for Mantis #37696 : correctly declare EDITSTREAMCALLBACK
...
git-svn-id: trunk@46762 -
2020-09-04 15:07:13 +00:00
svenbarth
200e20fd71
* handle unknown reparse tags as non-symlinks
...
git-svn-id: trunk@46761 -
2020-09-04 14:41:40 +00:00
marco
f56539a7c9
* print some values as hex
...
git-svn-id: trunk@46760 -
2020-09-04 11:56:36 +00:00
michael
d856233ea1
* Fix bug ID #37555 , better openssl version call handling
...
git-svn-id: trunk@46759 -
2020-09-04 07:17:28 +00:00
florian
03778f9b7f
* unified settings for CPU "size"
...
git-svn-id: trunk@46757 -
2020-09-03 21:02:27 +00:00
michael
24ea912ff5
* Patch from Luiz Americo to implement SQL_NULL params on firebird (bug ID 37646)
...
git-svn-id: trunk@46756 -
2020-09-03 09:40:44 +00:00
michael
c7628c11c6
* Better error message for array types (bug ID 37685, patch from Henrique Werlang)
...
git-svn-id: trunk@46755 -
2020-09-03 08:38:43 +00:00
michael
3722c820c9
* Fix bug #37592 , improved error message readability
...
git-svn-id: trunk@46753 -
2020-09-02 21:37:44 +00:00
florian
1e38369d06
* Xtensa: set expectloc of not nodes correctly
...
git-svn-id: trunk@46752 -
2020-09-02 20:47:53 +00:00
Mattias Gaertner
dd82f63c3f
fcl-passrc: fixed unit implementation uses namespace as unit intf identifier
...
git-svn-id: trunk@46751 -
2020-09-02 20:23:27 +00:00
Mattias Gaertner
545ee82ec4
pastojs: delay RTTI init of dynamic and static array specializations
...
git-svn-id: trunk@46750 -
2020-09-02 14:11:04 +00:00
Mattias Gaertner
05edd719d5
pastojs: delay RTTI init of dynamic and static array specializations
...
git-svn-id: trunk@46749 -
2020-09-02 14:03:26 +00:00
Mattias Gaertner
4db51d69e4
pastojs: delay RTTI init of record/class/proctype specializations
...
git-svn-id: trunk@46748 -
2020-09-02 12:42:55 +00:00
ondrej
bbdf1b5d27
SysUtils: SInvalidDateTime <> SInvalidDateTimeFloat
...
git-svn-id: trunk@46747 -
2020-09-02 09:58:12 +00:00
Mattias Gaertner
6a0ea119e9
pastojs: fixed concat(a) calling arrayRef
...
git-svn-id: trunk@46745 -
2020-09-01 22:01:52 +00:00