Commit Graph

57695 Commits

Author SHA1 Message Date
Jonas Maebe
b355ba3d39 * record whether a function uses fastmath, and define the function as
strictfp if it doesn't (so LLVM doesn't perform transformations that can
    change the fp/exception behaviour)

git-svn-id: trunk@43818 -
2019-12-30 15:05:06 +00:00
Jonas Maebe
67dbd0cdb3 * support nf_internal to ignore currency conversion adjustments also on
platforms that implement currency using a floating point type

git-svn-id: trunk@43817 -
2019-12-30 15:05:02 +00:00
Jonas Maebe
9bd33f7a45 + support for LLVM metadata constant string parameters
o they are implemented as a new metadata register class, whereby the
     subregister indicates the metadata type (currently always a string)
     and the superregister is an index in the metadata array (which
     contains the strings). LLVM metadata can only be passed as parameters
     to intrinsics in bitcode, so moves of metadata into other registers
     triggers internal errors and when moving them into parameters, we
     replace the parameter's register with the metadata register (and look
     up the corresponding string when writing out the bitcode)

git-svn-id: trunk@43816 -
2019-12-30 15:04:57 +00:00
marcus
9b67c65749 AROS, OS4, MorphOS: Console, ConUnit added, Crt first Version
git-svn-id: trunk@43815 -
2019-12-30 14:32:32 +00:00
marcus
643c1ea7e0 Amiga: First Version of crt for Amiga
git-svn-id: trunk@43814 -
2019-12-30 13:14:10 +00:00
Mattias Gaertner
366ee5e835 pastojs: added libpas2js hook SetPas2JSUnitAliasCallBack
git-svn-id: trunk@43813 -
2019-12-30 11:00:58 +00:00
marcus
25c11a94c4 Amunits: console and conunit, fixed alignment and fixes from 3.9 SDK
git-svn-id: trunk@43812 -
2019-12-30 10:45:31 +00:00
Mattias Gaertner
4dc84b2a78 pastojs: added libpas2js hook SetPas2JSUnitAliasCallBack
git-svn-id: trunk@43811 -
2019-12-30 08:53:27 +00:00
Mattias Gaertner
a3a67b13d8 fcl-passrc: allow using unit twice with different alias
git-svn-id: trunk@43810 -
2019-12-29 21:34:03 +00:00
Mattias Gaertner
9a496c2470 pastojs: pcu srcmap
git-svn-id: trunk@43809 -
2019-12-29 16:10:33 +00:00
florian
f7a052f884 + inline high(<dyn. array>), resolves #28536
git-svn-id: trunk@43808 -
2019-12-28 21:38:38 +00:00
michael
3418f0e977 * Set default font to postscript name
git-svn-id: trunk@43807 -
2019-12-28 21:21:45 +00:00
michael
f01495668e * Search with Postscript font name and humanreadable font name
git-svn-id: trunk@43806 -
2019-12-28 21:21:13 +00:00
florian
9bd7401ce9 * comment fixed
git-svn-id: trunk@43805 -
2019-12-28 18:18:41 +00:00
florian
00859420ab * correctly handle reading of class/object pointers in combination with @, resolves #26326
git-svn-id: trunk@43804 -
2019-12-28 17:59:23 +00:00
michael
1c171e1ad3 * Fix bug ID #36486, add parameter to force use of largeint for sqlite
git-svn-id: trunk@43802 -
2019-12-28 14:10:59 +00:00
florian
7032c80041 * accept #26 as eof in iso mode, resolves #35136
git-svn-id: trunk@43801 -
2019-12-28 10:35:46 +00:00
michael
a816ad9a74 * Fix recno
git-svn-id: trunk@43800 -
2019-12-27 22:09:52 +00:00
michael
a37cb2d2fa * Fix bug #36478: add array of category names
git-svn-id: trunk@43799 -
2019-12-27 11:08:52 +00:00
michael
0485f59cad * Fix bug ID #36484: macos forbids loading unversioned library
git-svn-id: trunk@43798 -
2019-12-27 11:02:30 +00:00
florian
94d222ba69 + test for #26791, meanwhile fixed
git-svn-id: trunk@43797 -
2019-12-26 21:10:34 +00:00
ondrej
0b5bc00855 Remove misleading comment
git-svn-id: trunk@43796 -
2019-12-26 16:22:51 +00:00
florian
ccf409c8a0 * use 64 bit code page in tppcshlshrnode.pass_generate_code for all 64 bit types,
resolves #33582

git-svn-id: trunk@43795 -
2019-12-25 22:11:31 +00:00
florian
051b9840a5 * write a proper error message if <int>/<int> is encountered while no
floating point support is available, resolves #32006

git-svn-id: trunk@43794 -
2019-12-25 18:09:30 +00:00
florian
fd0012deff * when copying goto nodes take care if the label node is part of the copied tree
or not, resolves #35820

git-svn-id: trunk@43793 -
2019-12-25 17:10:14 +00:00
svenbarth
40ffb54129 * Currency and Comp are correctly handled by GetFloatProp/SetFloatProp, so use these instead of GetOrdProp/SetOrdProp
git-svn-id: trunk@43792 -
2019-12-25 15:23:35 +00:00
svenbarth
3c4c206081 * correctly handle smaller enums on Big Endian systems
git-svn-id: trunk@43791 -
2019-12-25 15:23:31 +00:00
svenbarth
f59eae4f81 * correctly handle local reference in the RISC V assembler readers (both 32 and 64 bit)
git-svn-id: trunk@43790 -
2019-12-25 15:23:28 +00:00
svenbarth
4ad7d552a1 * increase support for multilib binutils for RISC V by passing the correct ABI to the linker
git-svn-id: trunk@43789 -
2019-12-25 15:23:25 +00:00
svenbarth
114c27fb4e * increase support for multilib binutils for RISC V by passing the ABI to the assembler
git-svn-id: trunk@43788 -
2019-12-25 15:23:21 +00:00
michael
dd0d606a0a * Remove some unused identifiers
git-svn-id: trunk@43787 -
2019-12-25 13:56:23 +00:00
Jonas Maebe
1a9e246c29 * added is_normal_fieldvarsym() helper and use it
o fixes several places where there was a check whether something is a
     fieldvarsym, but not whether it's an instance rather than a class field

git-svn-id: trunk@43786 -
2019-12-24 22:12:44 +00:00
Jonas Maebe
6d51c69dbe * fixed writing of calling convention for function declarations/definitions
in LLVM

git-svn-id: trunk@43785 -
2019-12-24 22:12:40 +00:00
Jonas Maebe
b89487e721 * fix paraloc def for vectors with vectorcall calling convention (was a single
element instead of a vector)

git-svn-id: trunk@43784 -
2019-12-24 22:12:37 +00:00
Jonas Maebe
96dfe3d03a * LLVM support for writing vector types
git-svn-id: trunk@43783 -
2019-12-24 22:12:34 +00:00
Jonas Maebe
f5833dc048 * support for marking arraydefs as vectors
git-svn-id: trunk@43782 -
2019-12-24 22:12:31 +00:00
Jonas Maebe
1e3f72403e * renamed getintparaloc to getcgtempparaloc
o it can be used for more than integer parameters

git-svn-id: trunk@43781 -
2019-12-24 22:12:25 +00:00
svenbarth
9853ed53e8 * partial fix for Mantis #36358: apply partial, adjusted patch by Imants Gulbis to extend TRttiProperty.SetValue and TRttiProperty.GetValue
* extended test suite

git-svn-id: trunk@43780 -
2019-12-24 21:30:18 +00:00
svenbarth
be1439e93e * partial fix for Mantis #36356: apply partial, adjusted patch by Imants Gulbis to add methods for TValue to retrieve a AnsiChar or WideChar (this is not Delphi compatible, but convenient)
git-svn-id: trunk@43779 -
2019-12-24 21:30:13 +00:00
svenbarth
f782d3fe7a * partial fix for Mantis #36358: apply partial, adjusted patch by Imants Gulbis to implement TValue.ToString for enumerations, AnsiChar and WideChar
git-svn-id: trunk@43778 -
2019-12-24 21:30:07 +00:00
svenbarth
8ff14ed5d1 + partial fix for Mantis #36358: apply partial patch by Imants Gulbis to add assignment operator for TValue from Comp and IUnknown
git-svn-id: trunk@43777 -
2019-12-24 21:30:03 +00:00
svenbarth
5610f992b4 * if a CPU platform does not provide a FarPointer type then declare it as an alias to a mere Pointer
git-svn-id: trunk@43776 -
2019-12-24 21:30:00 +00:00
svenbarth
abe6e740f5 * Delphi allows overloading based on Comp, so declare it as a type rename instead of a mere alias
git-svn-id: trunk@43775 -
2019-12-24 21:29:57 +00:00
svenbarth
ad0d885880 * if a CPU platform doesn't explicitely provide the Comp type we declare it as an alias to Int64
git-svn-id: trunk@43774 -
2019-12-24 21:29:53 +00:00
svenbarth
042bbdf613 * as long as the Comp type is declared, declare PComp as well
git-svn-id: trunk@43773 -
2019-12-24 21:29:51 +00:00
svenbarth
12ae68f503 * also allow TValue.AsExtended for Integer types
git-svn-id: trunk@43772 -
2019-12-24 21:29:47 +00:00
florian
a20209e691 + tf_init_final_units_by_calls
* arm-embedded generates direct calls for unit init/final now as well

git-svn-id: trunk@43771 -
2019-12-24 16:14:30 +00:00
florian
e332c17bbd * some inconsistency regarding FPC_NONE usage fixed
git-svn-id: trunk@43770 -
2019-12-24 16:14:30 +00:00
florian
be0054eeb4 * fixed output of line numbers/columns with -vR
git-svn-id: trunk@43769 -
2019-12-24 16:14:29 +00:00
florian
ef87879402 * common naming for fpu_none string
git-svn-id: trunk@43768 -
2019-12-24 16:14:28 +00:00