Mattias Gaertner
4f7882c8af
fcl-passrc: fixed type helper intdouble/uintdouble
...
git-svn-id: trunk@45121 -
2020-04-26 19:23:54 +00:00
florian
1395b2850e
+ xtensa-linux support for several packages
...
git-svn-id: trunk@45119 -
2020-04-26 17:24:30 +00:00
florian
7dfefcb1f6
* Xtensa: fpc_setjmp dummy
...
git-svn-id: trunk@45118 -
2020-04-26 17:24:06 +00:00
florian
8ef29235c3
* Xtensa: set source_cpu_string
...
git-svn-id: trunk@45117 -
2020-04-26 17:23:24 +00:00
marcus
ca0689df53
AmigaOS4: fixed packing in clipboard unit
...
git-svn-id: trunk@45115 -
2020-04-26 16:52:53 +00:00
marcus
86fa90b400
amiga: Crt, fixed cursor x and y position
...
git-svn-id: trunk@45114 -
2020-04-26 16:47:47 +00:00
florian
f72a795cc7
* fixed SetIsEmpty
...
git-svn-id: trunk@45094 -
2020-04-26 13:11:02 +00:00
svenbarth
04554d7505
* use a more detailed error message if a type is not allowed for a generic constant parameter
...
git-svn-id: trunk@45092 -
2020-04-26 11:46:24 +00:00
svenbarth
287c298f37
* regenerate msg{txt,idx}.inc
...
git-svn-id: trunk@45091 -
2020-04-26 11:46:18 +00:00
svenbarth
258331e914
+ add an explicit error message if a type is not supported for a generic constant parameter
...
git-svn-id: trunk@45090 -
2020-04-26 11:46:14 +00:00
svenbarth
a467332187
* fix for Mantis #36975 : arraydefs are not allowed for generic types (this is only used for type declarations; for specializing constant strings which are char arrays are still allowed)
...
+ added test
git-svn-id: trunk@45089 -
2020-04-26 11:46:10 +00:00
svenbarth
7757306c78
* destroying constnone constsyms can occur when parsing a generic with a constant parameter that results in an error (e.g. unsupported type)
...
git-svn-id: trunk@45088 -
2020-04-26 11:46:06 +00:00
Jonas Maebe
f5e89ded35
* fix tc_bool_2_int simplification in case pass typecheck runs again, e.g.
...
after getting a copy of the node during CSE (fixes taddset4 compilation
with LLVM after r44712)
git-svn-id: trunk@45087 -
2020-04-26 11:36:42 +00:00
svenbarth
60345366f2
* fix for Mantis #35140 : apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
...
+ added tests
git-svn-id: trunk@45080 -
2020-04-25 22:12:35 +00:00
florian
951f02d188
* correctly set register size
...
git-svn-id: trunk@45076 -
2020-04-25 19:35:28 +00:00
Mattias Gaertner
bb4557c5fe
fcl-passrc: allow static directive repetition in method implementation
...
git-svn-id: trunk@45069 -
2020-04-25 13:54:15 +00:00
pierre
687b31575b
Update revision.inc after commit 44920
...
git-svn-id: trunk@45060 -
2020-04-25 08:14:17 +00:00
florian
670e778643
+ assembler optimization MovxMov2Movx
...
git-svn-id: trunk@45057 -
2020-04-24 20:56:56 +00:00
Mattias Gaertner
1af626817e
fcl-passrc: resolver: mode delphi: allow member with same name as ancestor member
...
git-svn-id: trunk@45054 -
2020-04-24 16:38:34 +00:00
svenbarth
bd01182ff0
* add support for AND, OR, XOR and NOT of integer values in preprocessor directives (Delphi allows that as well)
...
+ added test
git-svn-id: trunk@45053 -
2020-04-24 14:09:04 +00:00
svenbarth
ae2801c707
* use asInt64 instead of asInt to evaluate an Integer expression
...
git-svn-id: trunk@45052 -
2020-04-24 14:09:02 +00:00
svenbarth
bffe99f59f
+ add an asInt64 to texprvalue
...
git-svn-id: trunk@45051 -
2020-04-24 14:09:00 +00:00
svenbarth
89434f0124
* extract calculation of a NOT value to a separate function
...
git-svn-id: trunk@45050 -
2020-04-24 14:08:58 +00:00
michael
c7c4f0bf39
* V2 may not contain error object
...
git-svn-id: trunk@45047 -
2020-04-24 05:41:19 +00:00
florian
8b71455e3b
+ Xtensa: enable jump optimizer
...
git-svn-id: trunk@45045 -
2020-04-23 20:17:28 +00:00
yury
8d95da3fea
* Windows: Reworked handling of command line arguments to properly support Unicode:
...
- Use the CommandLineToArgvW API function to parse the Unicode command line (we can use it since Win9x is not supported anymore).
- Implemented non-public functions ParamStrA and ParamStrU which are exposed in the objpas and uuchar units to provide correct AnsiString and UnicodeString versions of ParamStr().
- The cleanup code is moved from InternalExit to the finalization section of the System unit.
git-svn-id: trunk@45037 -
2020-04-23 12:38:42 +00:00
florian
483837ae5c
+ Xtensa: make use of ADDX*
...
git-svn-id: trunk@45001 -
2020-04-22 21:03:08 +00:00
florian
74abe87315
* Xtensa: do SAR by a constant using SRAI
...
git-svn-id: trunk@45000 -
2020-04-22 21:03:06 +00:00
svenbarth
5ef9a78f5f
* fix for Mantis #36951 : B and BL can take immediate literals as well
...
+ added test
git-svn-id: trunk@44999 -
2020-04-22 20:19:14 +00:00
svenbarth
03eb114e97
* fix for Mantis #36951 : if the instruction only has one operand and it's a reference then don't internal error, but instead return OS_NO
...
git-svn-id: trunk@44998 -
2020-04-22 20:19:09 +00:00
yury
7b425ed4a6
* Moved the common interface part of the win32 and win64 System units to the syswinh.inc include file.
...
git-svn-id: trunk@44996 -
2020-04-22 12:04:05 +00:00
yury
0f4ddf7b34
* Do not report about unimplemented unicodestring manager when HAS_WIDESTRINGMANAGER is defined (on Windows). In such case unimplemented parts are never executed unless you call them directly.
...
* Do not assign DefaultGetStandardCodePage when HAS_WIDESTRINGMANAGER is defined (on Windows).
git-svn-id: trunk@44995 -
2020-04-22 09:13:20 +00:00
florian
2d3cd25fd8
* patch by Michael Ring: adds license headers to th FreeRTOS files and some renames to make the interrupts cmsis compatible.
...
git-svn-id: trunk@44973 -
2020-04-21 20:34:15 +00:00
yury
c3954a0cee
* Fixed r44960. Also copy a trailing implicit #0 of the original string to the new larger string.
...
git-svn-id: trunk@44970 -
2020-04-21 18:55:24 +00:00
yury
1e32b96bc2
* Minor improvement. No need to move the terminating null char, since it is written later anyway. Remove a local var.
...
git-svn-id: trunk@44960 -
2020-04-21 14:18:35 +00:00
Károly Balogh
ef790adc28
m68k-amiga: document which legacy support functions are unimplemented and why, and where are they used in the RTL code
...
git-svn-id: trunk@44959 -
2020-04-21 13:54:22 +00:00
svenbarth
184d6d61ed
* regenerate makefiles
...
git-svn-id: trunk@44958 -
2020-04-21 06:09:20 +00:00
svenbarth
2aa0e50873
* implement dogetcopy for the Aarch64 variant of the tryfinally node
...
git-svn-id: trunk@44957 -
2020-04-21 06:07:06 +00:00
svenbarth
55c1ecedac
* set implicitframe for copied tryfinally nodes as well
...
git-svn-id: trunk@44956 -
2020-04-21 06:07:03 +00:00
svenbarth
90040983b6
* stub out assembly functions for non-x86 platforms
...
git-svn-id: trunk@44955 -
2020-04-21 06:06:59 +00:00
svenbarth
aa1c1174e6
* correctly implement assembly routines for non-i386 (x86_64 did not work correctly either)
...
git-svn-id: trunk@44954 -
2020-04-21 06:06:55 +00:00
svenbarth
6dc7e28604
* prefix and suffixes are only required for StdCall callining convention which is only available for i386-Win32
...
git-svn-id: trunk@44953 -
2020-04-21 06:06:51 +00:00
svenbarth
246bcd75f6
* use StdCall like naming conventions only for Win32; on x86_64-win64 this import unit never worked and on aarch64-win64 this leads to an error in clang's assembler...
...
git-svn-id: trunk@44952 -
2020-04-21 06:06:48 +00:00
svenbarth
06e3feb919
* don't set ASMMODE to INTEL on non-x86 targets
...
git-svn-id: trunk@44951 -
2020-04-21 06:06:44 +00:00
svenbarth
e01de80981
* register the DLL scanner for aarch64-win64
...
git-svn-id: trunk@44950 -
2020-04-21 06:06:40 +00:00
svenbarth
7f4b94e408
* generate jump tables into the same section as the code as otherwise we'll get bogus relocations (in case of clang.exe) or a future support for armasm64.exe will reject the relative symbols outright
...
git-svn-id: trunk@44949 -
2020-04-21 06:06:36 +00:00
svenbarth
b88107fa1d
* due to an apparent bug in the clang assembler for COFF when assembling ADRP instructions we can't use symbols that are offset into their section
...
git-svn-id: trunk@44948 -
2020-04-21 06:06:31 +00:00
svenbarth
042aae2455
* the clang assembler does not provide support for the SEH directives we need (only the LLVM backend would be able to use them), thus we need to manually convert them to data sections
...
git-svn-id: trunk@44947 -
2020-04-21 06:06:28 +00:00
svenbarth
531c93a04e
* regenerate msg{idx,txt}.inc
...
git-svn-id: trunk@44946 -
2020-04-21 06:06:24 +00:00
svenbarth
7f0d582a4a
+ add Win64 target to help text
...
git-svn-id: trunk@44945 -
2020-04-21 06:06:20 +00:00