Commit Graph

58136 Commits

Author SHA1 Message Date
florian
640fe9c290 * actually, with lds/sts avrtiny can load addresses up to 191
git-svn-id: trunk@44104 -
2020-02-02 20:41:28 +00:00
florian
36058ca4d4 * based on a patch by Christo Crause: more compiler fixes for avrtiny, resolves #36646
git-svn-id: trunk@44103 -
2020-02-02 20:35:29 +00:00
marcus
7abd324231 AROS: Fixed DosList for 64bit
git-svn-id: trunk@44102 -
2020-02-02 20:03:58 +00:00
florian
bbcbd4eae1 * patch by J. Gareth Moreton, avoid illegal MovAdd2Lea and MovSub2Lea optimziations, resolves #36630
git-svn-id: trunk@44101 -
2020-02-02 19:49:47 +00:00
florian
7d283f530e * patch by Christo Crause: fix startup code for avrtiny subarch, resolves #36650
git-svn-id: trunk@44100 -
2020-02-02 19:18:39 +00:00
florian
91696d2cf3 - remote accidently committed printnode call
git-svn-id: trunk@44099 -
2020-02-02 19:17:22 +00:00
florian
53d2df07b6 * mark handled currencies correctly, so they are handled properly by simplify
git-svn-id: trunk@44098 -
2020-02-02 18:28:42 +00:00
florian
b777dc21d7 * fix PowerPC compilation
git-svn-id: trunk@44097 -
2020-02-02 15:20:28 +00:00
florian
9dd25d836d * include ti_nofini in tempinfostoreflags
git-svn-id: trunk@44096 -
2020-02-02 14:30:46 +00:00
florian
679c4454c4 * fixes copying of tcgpara
git-svn-id: trunk@44095 -
2020-02-02 14:30:45 +00:00
florian
1993c5d1ef * cosmetics
git-svn-id: trunk@44094 -
2020-02-02 14:30:44 +00:00
florian
2b7447c78d * EPoll_Event is packed only on x86-64, not other 64 Bit CPUs, resolves #34416
* epoll_pwait expects the SigSet size as sixth parameter (kernel syscall only)
  + simple epoll* test

git-svn-id: trunk@44093 -
2020-02-02 14:23:51 +00:00
joost
e7f5b89c2c * Avoid doing a syscall with a nil parameter in fileexists
git-svn-id: trunk@44090 -
2020-02-02 11:06:14 +00:00
joost
99e5ae2804 * Added some missing http-response codes
git-svn-id: trunk@44089 -
2020-02-02 10:42:12 +00:00
joost
2e17c67a61 * Support the ndots and search resolve options
git-svn-id: trunk@44088 -
2020-02-02 10:36:26 +00:00
florian
0af71da9cc * armhf/armel aligns sections to 16 byte, so allow a maximum c alignment of 16
git-svn-id: trunk@44087 -
2020-02-01 22:31:12 +00:00
florian
2ea35e55b1 * patch by J. Gareth Moreton: x86 "OptPass1MOV" improvements - Part 2, resolves #36608
git-svn-id: trunk@44086 -
2020-02-01 21:31:56 +00:00
florian
5a87855b06 + might_have_sideeffects takes care of vo_volatile now (it is not exposed yet)
git-svn-id: trunk@44085 -
2020-02-01 20:30:15 +00:00
florian
77b54f501f * when optimizing boolean expressions, might_have_sideeffects is only relevant if the expression would be optimized away
git-svn-id: trunk@44084 -
2020-02-01 18:02:17 +00:00
florian
d479069f8c * might_have_sideeffects takes care of absolute
git-svn-id: trunk@44083 -
2020-02-01 18:00:38 +00:00
svenbarth
1407aa2b4b * fix for Mantis #36631: it's an error if a POINT after an array is not followed by an identifier
+ added tests

git-svn-id: trunk@44082 -
2020-02-01 17:51:46 +00:00
florian
00214406bc + patch by Christo Crause: Support for attiny10x controllers, resolves #36645
git-svn-id: trunk@44081 -
2020-02-01 15:54:57 +00:00
Mattias Gaertner
b761498428 pas2js: docs option -Sj
git-svn-id: trunk@44078 -
2020-02-01 10:38:33 +00:00
Mattias Gaertner
b45a0dfbb8 pas2js: option -Sj
git-svn-id: trunk@44077 -
2020-02-01 10:35:43 +00:00
florian
6b47d9d9ed * safecall support is meanwhile generic, so enabled for all linux targets
git-svn-id: trunk@44076 -
2020-01-31 21:58:49 +00:00
florian
8f707903df * test fixed
git-svn-id: trunk@44075 -
2020-01-31 21:27:46 +00:00
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