Commit Graph

57829 Commits

Author SHA1 Message Date
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
ondrej
af98f78c63 TIniFile: fix encoding support:
* preserve loaded encoding (regression from r42932, issue #36052)
* preserve BOM of the original file.

git-svn-id: trunk@43938 -
2020-01-14 10:13:58 +00:00
ondrej
6385d582bb IniFiles: fix OwnsEncoding default values
git-svn-id: trunk@43937 -
2020-01-14 08:51:59 +00:00
ondrej
0c528a911d TIniFile: remove obsolete FBOM (it will be implemented with TEncoding support)
git-svn-id: trunk@43936 -
2020-01-14 08:44:35 +00:00
Jeppe Johansen
2678522db5 - RISC-V: Add controller types for common RV32 MCUs.
- Adds initial controller units for these MCUs.

Code contributed by Michael Ring

git-svn-id: trunk@43935 -
2020-01-13 22:54:26 +00:00
Jeppe Johansen
02c3f328a2 - RISC-V: Share optimizations between 32 and 64-bit.
git-svn-id: trunk@43934 -
2020-01-13 22:49:23 +00:00
Jeppe Johansen
7cfb87b325 - Handle jump optimizations on RISC-V
git-svn-id: trunk@43933 -
2020-01-13 22:42:39 +00:00
florian
931d4dcfee * ensure the rtl and the packages for embedded compile with features exceptions and classes disabled
git-svn-id: trunk@43931 -
2020-01-13 21:20:03 +00:00
michael
91f416fa80 * Fix from Pascal Riekenberg to fix nested groups (bug ID 36532)
git-svn-id: trunk@43930 -
2020-01-13 21:14:41 +00:00
ondrej
34fecf90f3 SysUtils: add ExpandFileName with a BasePath overload
git-svn-id: trunk@43928 -
2020-01-13 12:36:35 +00:00
florian
9926eb8dc6 * patch by Christo Crause: Passing a file name with extension to cross compiler
with -o causes error, fixed, resolves #36562

git-svn-id: trunk@43921 -
2020-01-12 20:57:52 +00:00
florian
5a1e6c2e91 * compilation on i386 fixed
git-svn-id: trunk@43920 -
2020-01-12 12:00:44 +00:00
florian
2b70c64d09 * patch by J. Gareth Moreton: Some cleaning up of OptPass2JMP and OptPass2MOV, resolves #36553
git-svn-id: trunk@43919 -
2020-01-12 10:33:21 +00:00
florian
124c64152d * patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 2 of #36551
git-svn-id: trunk@43918 -
2020-01-12 09:20:01 +00:00
florian
236c11ef71 * patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 1 of #36551
git-svn-id: trunk@43917 -
2020-01-12 09:20:00 +00:00
florian
1ceb5ea343 + lazarus project
git-svn-id: trunk@43916 -
2020-01-11 22:45:32 +00:00
joost
0c4fee714e * Removed some left-overs of dependencies on specific versions of packages
git-svn-id: trunk@43915 -
2020-01-11 21:46:51 +00:00
florian
007df5d0fa * fix for #36554
git-svn-id: trunk@43913 -
2020-01-11 21:15:19 +00:00
florian
aabd7c7217 * more fixes for loop strength reduction
git-svn-id: trunk@43912 -
2020-01-11 20:37:05 +00:00
florian
a9a711763f * some fixes to loop strength reduction
git-svn-id: trunk@43911 -
2020-01-11 16:08:46 +00:00
florian
2f2b378c03 * moved conversion of for into while loops in a separate pass, so node optimizations on the node tree can be
carried out without losing information from for loops

git-svn-id: trunk@43910 -
2020-01-11 16:08:45 +00:00
pierre
3b39ec84e4 Examine all exception bits in m68k fpsr register to decide which into which run time error it is converted
git-svn-id: trunk@43909 -
2020-01-10 22:58:34 +00:00
pierre
90d2982977 Wipe out any pre-existing exception on SetExceptionMask call for m68k cpu
git-svn-id: trunk@43908 -
2020-01-10 22:56:03 +00:00
florian
6f87a572af * factored out tcgprocinfo.OptimizeNodeTree
git-svn-id: trunk@43907 -
2020-01-10 21:47:20 +00:00
florian
f424ae3929 - cleanup comment
git-svn-id: trunk@43906 -
2020-01-10 21:34:30 +00:00
florian
30e186be78 * renamed sum -> defsum to avoid confusion with usesum
git-svn-id: trunk@43905 -
2020-01-10 21:34:30 +00:00