Commit Graph

57904 Commits

Author SHA1 Message Date
florian
fc44c2d4c9 + insert alignments after break/goto/exit/continue jmp instructions, if it is
superfluous, the assembler optimizer will take care of it

git-svn-id: trunk@44007 -
2020-01-20 21:56:39 +00:00
florian
08c2afb0a4 * AVR: use CP ...,r1 instead of CPI ...,0 to enable all registers being used as first operand
git-svn-id: trunk@44006 -
2020-01-20 21:14:28 +00:00
florian
ae8d2dc69a * omit first not, helps the reg. allocator to find a workable colouring, resolves #36611
git-svn-id: trunk@44005 -
2020-01-20 21:13:34 +00:00
michael
dad9126d45 * Clear search path (fix from Pascal Riekenberg, bug ID #36609)
git-svn-id: trunk@44004 -
2020-01-20 18:23:58 +00:00
yury
392fc0b637 * android: Changed additions to the linker script to prevent misalignment of the .data section. It fixes crash when linking using recent versions of LD where the "relro" option is default. Issue #35641.
* android: Always pass "-z relro" to the linker.

git-svn-id: trunk@44002 -
2020-01-19 20:31:54 +00:00
florian
16152cf948 * patch by J. Gareth Moreton: get rid of another pass through the assembler list by integrating OptReferences
into the post optimizer pass

git-svn-id: trunk@44001 -
2020-01-19 20:11:05 +00:00
florian
069e040e49 * do for-loop unrolling after for-loop simplification, resolves #36589
git-svn-id: trunk@43999 -
2020-01-19 18:21:12 +00:00
pierre
2b658ef11c Add missing trampoline size found in libffi version 3.3
git-svn-id: trunk@43998 -
2020-01-19 18:20:59 +00:00
florian
799ea31a5f * AVR: due to recent fixes, EXCLUDE_COMPLEX_PROCS is not needed anymore
git-svn-id: trunk@43997 -
2020-01-19 18:04:59 +00:00
florian
429130fa34 * AVR: attiny can do post increment operations, so remove code working around this
git-svn-id: trunk@43996 -
2020-01-19 18:04:59 +00:00
florian
bd96765632 * AVR: do not insert jmp if not supported
git-svn-id: trunk@43995 -
2020-01-19 18:04:58 +00:00
michael
5236f756d1 * More verbose error for array with non-supported element type
git-svn-id: trunk@43993 -
2020-01-19 16:46:30 +00:00
michael
d6894f2814 * Add calendar example
git-svn-id: trunk@43991 -
2020-01-19 16:34:03 +00:00
florian
28391e04bc + AVR: initial support of the avrtiny architecture in the rtl
git-svn-id: trunk@43988 -
2020-01-19 15:55:25 +00:00
florian
2d9cdab264 + AVR: initial support for the avrtiny architecture
git-svn-id: trunk@43987 -
2020-01-19 15:55:24 +00:00
florian
f629fa1bb9 * AVR: tcgavr.normalize_ref must always load the reference into tmpreg
git-svn-id: trunk@43986 -
2020-01-19 15:55:23 +00:00
florian
26eae3672b + AVR: GetDefaultZeroReg and GetDefaultTmpReg
git-svn-id: trunk@43985 -
2020-01-19 15:55:23 +00:00
florian
aaa6ae5770 + AVR: cputype cpu_avrtiny
git-svn-id: trunk@43984 -
2020-01-19 15:55:22 +00:00
florian
96a4cda03b * AVR: fixes pushing and handling of stack passed parameters
git-svn-id: trunk@43983 -
2020-01-19 15:55:21 +00:00
florian
6f434b6751 * AVR: fixed TDwarfAsmCFILowLevel.generate_initial_instructions
git-svn-id: trunk@43982 -
2020-01-19 15:55:21 +00:00
florian
4b4e316af0 * compilation fixed
git-svn-id: trunk@43981 -
2020-01-19 15:55:20 +00:00
michael
2266804e4d * Fix bug #36603, disable inline
git-svn-id: trunk@43977 -
2020-01-19 09:38:32 +00:00
florian
48236401e0 * voidcodepointertype => voidpointertype as suggested by Pierre
git-svn-id: trunk@43976 -
2020-01-18 21:51:27 +00:00
pierre
367eac9743 Enable libffi package on win32,win64 and BSD targets, remove CPU restriction
git-svn-id: trunk@43975 -
2020-01-18 21:23:21 +00:00
michael
0176697483 * Fix regression
git-svn-id: trunk@43974 -
2020-01-18 16:44:22 +00:00
michael
6984cf8606 * Fix bug #0036581, amended patch by Pascal Riekenberg
git-svn-id: trunk@43973 -
2020-01-18 16:40:57 +00:00
michael
0c2400e856 * Fix bug ID #0036482, various fixes by Alexey T.
git-svn-id: trunk@43972 -
2020-01-18 15:35:25 +00:00
marco
37a8536bd4 * undo 43513 which ifdefed usage of ismanagedtype for 3.2. 3.2 now supports ismanagedtype
git-svn-id: trunk@43971 -
2020-01-18 15:17:02 +00:00
marco
de7c03bd42 * License clarification OS2/emx after discussion. Be more clear it is emx-lib
license in copying.emx, and that allows to remove the NOT GPL clause that
   triggers license scanners. 

git-svn-id: trunk@43969 -
2020-01-18 11:53:10 +00:00
florian
22ab6dd329 * disabled mm procs again, they are not usable yet neither supposed to be
used

git-svn-id: trunk@43968 -
2020-01-18 11:37:57 +00:00
svenbarth
8184815780 * ensure that the new mm related procs are only used for 3.3.1 and newer as 3.2 and older don't support the corresponding SSE types
git-svn-id: trunk@43967 -
2020-01-18 11:22:24 +00:00
svenbarth
b3c579f49c * ensure that the includes for the new mm related files are indeed enabled
git-svn-id: trunk@43966 -
2020-01-18 11:22:20 +00:00
marco
ee760a60f4 * changed copyright to Sven since he is the first one with an implementation.
Florian added the file, but as empty skeleton

git-svn-id: trunk@43965 -
2020-01-17 17:51:20 +00:00
marco
edb07af423 * more GPL -> GPL with modification.
git-svn-id: trunk@43964 -
2020-01-17 15:01:23 +00:00
marco
c35ada7639 * short op for ident is t not d, probably copy and paste. Patch by Margers, mantis 36597
git-svn-id: trunk@43963 -
2020-01-17 12:23:42 +00:00
marco
3053f8c2e8 * many syscallh header files had GPL license instead of modified. I owned the copyright, or in one case, Thomas did, but it was a full copy of mine. -> changed to modified
* removed the remark about calling convention from several implementations. Oldfpccall no longer used.

git-svn-id: trunk@43962 -
2020-01-17 12:07:50 +00:00
Mattias Gaertner
2d9975fdcc pastojs: filer: generic class
git-svn-id: trunk@43960 -
2020-01-16 21:23:15 +00:00
michael
887c5e81b2 * Remove debug statement, patch by Pascal Riekenberg (Bug ID 36585)
git-svn-id: trunk@43955 -
2020-01-16 10:27:16 +00:00
michael
b938a9654e * Patch from Pascal Riekenberg to fix running a report twice. (Bug ID 36592)
git-svn-id: trunk@43954 -
2020-01-16 09:40:03 +00:00
Mattias Gaertner
e741c6aadd pastojs: filer: anonymous procedure
git-svn-id: trunk@43953 -
2020-01-15 21:06:56 +00:00
Mattias Gaertner
f3249cfe4d pastojs: filer: try-except
git-svn-id: trunk@43952 -
2020-01-15 20:53:38 +00:00
Mattias Gaertner
4f2861be1a pastojs: filer: with-do
git-svn-id: trunk@43951 -
2020-01-15 19:36:33 +00:00
marco
7fc9212ecd Two static inline constructors
git-svn-id: trunk@43950 -
2020-01-15 11:09:17 +00:00
florian
70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135
is merged by this commit with a lot of adaptions

git-svn-id: trunk@43949 -
2020-01-14 21:52:39 +00:00
ondrej
77fecff30e TStrings.SaveToStream(TStream): use FEncoding as the default for IgnoreEncoding=False so that loaded files are correctly resaved
git-svn-id: trunk@43948 -
2020-01-14 15:33:53 +00:00
ondrej
461a648f67 TStrings: default options:
* remove soWriteBOM for FPC backwards compatibility
* add soPreserveBOM so that a loaded file is correctly resaved

git-svn-id: trunk@43947 -
2020-01-14 15:30:38 +00:00
ondrej
c3f8b7c914 Revert r43942: TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
git-svn-id: trunk@43946 -
2020-01-14 15:17:30 +00:00
ondrej
6ed89d4101 TStrings: add missing SaveToFile overload with IgnoreEncoding parameter
git-svn-id: trunk@43945 -
2020-01-14 15:16:04 +00:00
ondrej
7dba9f0294 TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
git-svn-id: trunk@43942 -
2020-01-14 10:47:13 +00:00
ondrej
98a494c5d6 TIniFile: allow to set Encoding
git-svn-id: trunk@43939 -
2020-01-14 10:30:23 +00:00