svenbarth
cba43ebe1b
- remove generic_buf_needs_swapping again as that is now handled with tmodule.change_endian of the generic's module
...
git-svn-id: trunk@44074 -
2020-01-30 21:49:56 +00:00
svenbarth
c6a4d10f61
* for deciding whether to swap a generic's buffer use the module's flag instead of the def's
...
git-svn-id: trunk@44073 -
2020-01-30 21:49:07 +00:00
svenbarth
84dc6621cb
* have the module keep track whether it was loaded from a PPU with a different endianess than the current host system
...
git-svn-id: trunk@44072 -
2020-01-30 21:48:15 +00:00
svenbarth
7bcdc2b37f
* implement interface thunk for RISC V 32- and 64-bit
...
git-svn-id: trunk@44071 -
2020-01-30 21:46:11 +00:00
florian
f1eccca3a6
* catch exceptions in all variants of TextToFloat properly
...
* force x87 exceptions to be thrown on all platforms using x87
git-svn-id: trunk@44070 -
2020-01-30 21:23:10 +00:00
Jonas Maebe
d9f4c85d2e
* llvm sometimes uses the AArch64 framepointer register as a regvar in the
...
main routine (because it can never return) -> attempt to guard against
invalid accesses in get_caller_addr
git-svn-id: trunk@44066 -
2020-01-29 22:21:21 +00:00
Jonas Maebe
254b85c352
+ new pio_inline_forbidden flag to indicate that while parsing the
...
implementation the compiler determined the routine must never be
inlined
o difference with po_noinline: can also be set in the implementation
o difference with pio_inline_not_possible: it indicates that e.g.
LLVM must not inline the routine either
git-svn-id: trunk@44065 -
2020-01-29 22:21:17 +00:00
Jonas Maebe
b625afe800
* never inline routines that call get_frame (otherwise get_frame would return
...
the frame of the caller rather than of the current routine, which could
cause e.g. stackframes to be missed in RTL helpers that are known to be
only called from run time error routines)
git-svn-id: trunk@44064 -
2020-01-29 22:21:14 +00:00
Jonas Maebe
08f9ec98e5
* use same Windows platform name as clang
...
git-svn-id: trunk@44063 -
2020-01-29 22:21:10 +00:00
Jonas Maebe
592df7fa59
* disable cs_opt_regvar on all platforms when compiled for LLVM (LLVM does
...
that itself, our LLVM code generator can't handle it, and if it did then
afterwards we would have to spill 90% of those register variables again
to make them SSA)
git-svn-id: trunk@44062 -
2020-01-29 22:21:07 +00:00
Jonas Maebe
df6516c29f
* fix internalerror if adding the object info for LLVM requires creating new defs
...
git-svn-id: trunk@44061 -
2020-01-29 22:21:03 +00:00
marcus
cfa50b20cf
AROS: TDosList structure fixed
...
git-svn-id: trunk@44059 -
2020-01-29 21:45:20 +00:00
florian
43c83b3ae6
* improve LeaLea2Lea optimization
...
git-svn-id: trunk@44058 -
2020-01-29 21:35:26 +00:00
florian
871136d4f2
* first couple of improvements propose by Stefan Kanthak at https://skanthak.homepage.t-online.de/division.html#fpc
...
git-svn-id: trunk@44057 -
2020-01-29 21:35:25 +00:00
pierre
d1e4066477
Hopefully fix problems related to loading of ppufile generated with other endianess for generics
...
git-svn-id: trunk@44056 -
2020-01-28 23:43:56 +00:00
florian
6a1c09bb43
* simplify type conversions of ordinal constants to currency
...
git-svn-id: trunk@44055 -
2020-01-28 21:19:05 +00:00
yury
45ffa40b71
* Removed inline since it is not supported with open array parameters.
...
git-svn-id: trunk@44054 -
2020-01-28 19:09:42 +00:00
yury
1b3a3a7983
* Removed lot of unused local vars. It is useful to turn on the notes in options. :)
...
git-svn-id: trunk@44053 -
2020-01-28 18:45:33 +00:00
yury
4a756a2d30
* r42239 broke the tw13948b test for aarch64. Fixed this and improved the test.
...
git-svn-id: trunk@44052 -
2020-01-28 17:50:20 +00:00
florian
1486ab7c70
* do not throw a warning about unreachable code if the responsible node was generated internally
...
git-svn-id: trunk@44051 -
2020-01-27 22:27:22 +00:00
yury
405b01f116
* Skip the test for android.
...
git-svn-id: trunk@44050 -
2020-01-27 18:12:16 +00:00
yury
797795e285
* Skip the test for aarch64.
...
git-svn-id: trunk@44049 -
2020-01-27 17:50:35 +00:00
yury
3a31391c39
* tests: When cross-testing, if possible, use the "ppc" native compiler to build fpmake. It solves PPU incompatibility errors.
...
git-svn-id: trunk@44048 -
2020-01-27 17:37:26 +00:00
Károly Balogh
2c12661a17
amunits: fixed position of dol_Name in the DosList struct. this also matches other Amiga-likes, and the RTL version of the header, where it was correct. also fixed a pointers vs. signedness warning.
...
git-svn-id: trunk@44045 -
2020-01-27 07:11:25 +00:00
florian
56d64b007f
+ in some language modes the loop counter is undefined after the loop by language definition
...
git-svn-id: trunk@44043 -
2020-01-26 20:13:18 +00:00
florian
3c18dee694
* take care of for loop counter read after loop
...
git-svn-id: trunk@44042 -
2020-01-26 20:13:18 +00:00
florian
22197641b8
* last commit fixing calculation of do_loopvar_at_end was not complete,
...
hopefully finally fixed
git-svn-id: trunk@44041 -
2020-01-26 20:13:17 +00:00
ondrej
965d94109d
fcl-db: allow 0 length in binary field (MSSQL can have a null/0 field length in a view)
...
git-svn-id: trunk@44040 -
2020-01-26 17:49:08 +00:00
florian
74272975af
* do_loopvar_at_end is not possible if the loop counter would overflow with
...
the last iteration
git-svn-id: trunk@44039 -
2020-01-26 15:35:03 +00:00
florian
9d91d680fb
* patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616 , part 3/3
...
git-svn-id: trunk@44038 -
2020-01-26 14:35:32 +00:00
florian
7892e3f7b7
* patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616 , part 2/3
...
git-svn-id: trunk@44037 -
2020-01-26 14:35:29 +00:00
florian
670c61e760
* patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616 , part 1/3
...
git-svn-id: trunk@44036 -
2020-01-26 14:35:26 +00:00
florian
5aaf68b088
* fix compilation of arm-embedded, resolves #36626
...
git-svn-id: trunk@44034 -
2020-01-25 14:59:28 +00:00
florian
3cd4168ab3
+ introduce TOSTimestamp
...
git-svn-id: trunk@44033 -
2020-01-25 14:14:41 +00:00
florian
17c4834a4a
* system unit can be build for subarch avrtiny
...
git-svn-id: trunk@44032 -
2020-01-24 22:04:14 +00:00
florian
6c71fd461d
* avoid internalerror for dec/inc(...,v) with v>high(int64), resolves #35298
...
git-svn-id: trunk@44031 -
2020-01-24 21:39:07 +00:00
florian
993144b91b
* patch by J. Gareth Moreton: x86 SUB and LEA optimisations, resolves #36622
...
git-svn-id: trunk@44030 -
2020-01-24 21:10:17 +00:00
florian
a807e18591
* patch by J. Gareth Moreton: x86 CMP/TEST/Jcc optimisations, resolves #36624
...
git-svn-id: trunk@44029 -
2020-01-24 20:41:11 +00:00
florian
d87a5cc9fb
* take care of m_duplicate_names when checking for duplicate locals, resolves #33221
...
git-svn-id: trunk@44028 -
2020-01-23 21:32:09 +00:00
florian
7b4292c94e
* patch by Robert Roland to support the RaspberryPi 2 as a bare metal embedded target, resolves #35236
...
git-svn-id: trunk@44027 -
2020-01-23 21:14:49 +00:00
florian
90a40ab9ca
* fix for #32352 : a unit does not need to be re-deref'ed if it just had been recompiled
...
git-svn-id: trunk@44026 -
2020-01-23 20:56:56 +00:00
florian
8dc8647c7b
* WinCE compilation fixed
...
git-svn-id: trunk@44025 -
2020-01-23 20:47:55 +00:00
marco
517a7aa80d
* rpos(ex) unicodestring variants. mantis #35093
...
git-svn-id: trunk@44024 -
2020-01-23 17:00:59 +00:00
pierre
df28fdcbf8
Pass old value of OPT to FPCMAKEOPT
...
git-svn-id: trunk@44023 -
2020-01-23 15:03:20 +00:00
pierre
bcf43724bf
Add more debug information when verbose is set
...
git-svn-id: trunk@44022 -
2020-01-23 14:49:59 +00:00
florian
d2a059bd02
* patch by Christo Crause: avrtiny26 controller is not subarch avr25 but avr2, resolves #36620
...
git-svn-id: trunk@44021 -
2020-01-22 20:41:24 +00:00
florian
3ab8830b83
* patch by Christo Crause: Correct subarch for avrtiny series in compiler, resolves #36619
...
git-svn-id: trunk@44020 -
2020-01-22 20:34:43 +00:00
florian
f2618cb6a4
* compilation on atari fixed
...
git-svn-id: trunk@44019 -
2020-01-22 19:06:26 +00:00
Tomas Hajny
e790cb067d
* fix of FileSetDate after int64 changes (r44010 and r44013)
...
git-svn-id: trunk@44018 -
2020-01-22 12:14:47 +00:00
marco
a16f332fbb
* some quick fixes for Win32 with temp variables for some places where the int64 changes breaks.
...
git-svn-id: trunk@44017 -
2020-01-22 12:07:49 +00:00