Commit Graph

57901 Commits

Author SHA1 Message Date
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
florian
69956cd97a * fix compilation on several OSes after r44010
git-svn-id: trunk@44013 -
2020-01-21 21:50:37 +00:00
svenbarth
9a42625cfb * also allow by-value open array parameters for the tail recursion optimization
* adjusted test

git-svn-id: trunk@44012 -
2020-01-21 21:30:10 +00:00
svenbarth
4fc02d3d09 * enable tail recursion optimization also for const and constref open arrays
+ added test

git-svn-id: trunk@44011 -
2020-01-21 21:29:56 +00:00
florian
01302bc47d * subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
on unixes can be tackled

git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
marco
a640a8d21e * regenned msgtxt.inc
git-svn-id: trunk@44009 -
2020-01-21 13:21:59 +00:00
marco
eed0e52a64 * copyright date update, mantis 035903
git-svn-id: trunk@44008 -
2020-01-21 13:20:05 +00:00
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