Commit Graph

55518 Commits

Author SHA1 Message Date
Jonas Maebe
0db9ff5c39 * fixed packed bitsize calculation for types with a negative lower bound and
and upper bound just below the next power of two (mantis #34971)

git-svn-id: trunk@41161 -
2019-02-01 17:31:53 +00:00
pierre
71559c83a6 Fix parallel make for embedded rtl
git-svn-id: trunk@41159 -
2019-02-01 13:26:46 +00:00
Mattias Gaertner
e9c8d9b1b7 fcl-passrc: resolver: nicer error message on invalid set element type
git-svn-id: trunk@41157 -
2019-01-31 22:36:47 +00:00
Mattias Gaertner
8d368b0c21 pastojs fixed treating big ints as double
git-svn-id: trunk@41156 -
2019-01-31 19:50:23 +00:00
Mattias Gaertner
dd49ad6183 fcl-passrc: fixed treating big ints as extended
git-svn-id: trunk@41155 -
2019-01-31 19:50:06 +00:00
Mattias Gaertner
9aec974448 fcl-js: small optimization
git-svn-id: trunk@41154 -
2019-01-31 19:48:29 +00:00
nickysn
c5331d425a * split the routines with asm versions into strict pascal and strict asm versions
git-svn-id: trunk@41153 -
2019-01-31 15:19:45 +00:00
Mattias Gaertner
74b897b875 pastojs: not using TSelfExpr
git-svn-id: trunk@41152 -
2019-01-31 14:48:44 +00:00
Mattias Gaertner
28b945242e fcl-passrc: resolver: not using TSelfExpr
git-svn-id: trunk@41151 -
2019-01-31 14:48:25 +00:00
pierre
9299e97932 Disable pas2js for jvm compiler
git-svn-id: trunk@41150 -
2019-01-31 11:20:34 +00:00
Mattias Gaertner
d4c96dcf22 pastojs: searching units in current module directory, Delphi compatibility
git-svn-id: trunk@41149 -
2019-01-31 09:23:48 +00:00
Mattias Gaertner
6160a2ad51 pastojs: intrinsics lo/hi, issue #34964, patch from Kryvichh
git-svn-id: trunk@41148 -
2019-01-30 16:44:48 +00:00
Mattias Gaertner
70c4d45474 pastojs: fixed rtl.js
git-svn-id: trunk@41147 -
2019-01-30 15:53:58 +00:00
nickysn
e348fada6c * optimizations in SetVisualX and SetActiveX by using a table, instead of a case statement
git-svn-id: trunk@41146 -
2019-01-30 15:49:00 +00:00
Mattias Gaertner
dd2fc17d51 pastojs: nicer -Jm error message, check for (a,b)[]
git-svn-id: trunk@41145 -
2019-01-30 14:10:31 +00:00
Mattias Gaertner
569bd80cec fcl-passrc: parser: fixed self.a[], self.a()
git-svn-id: trunk@41144 -
2019-01-30 14:09:32 +00:00
nickysn
7a15e4b0a2 * optimizations in SetActive200 and SetActive350
git-svn-id: trunk@41143 -
2019-01-30 12:56:17 +00:00
pierre
202c4f86c0 Disable jvm-android as fcl-json is not supported for this target
git-svn-id: trunk@41142 -
2019-01-30 12:55:04 +00:00
Károly Balogh
6c87b89e45 atari: fpc now searches for the compiler with .ttp extension, as that's the default on Atari
git-svn-id: trunk@41141 -
2019-01-30 10:48:27 +00:00
pierre
beec828647 Fix cycling of arm compiler starting with release ppcarm 3.0.4
git-svn-id: trunk@41140 -
2019-01-30 10:48:21 +00:00
florian
2b6076a719 * compilation fixed
git-svn-id: trunk@41139 -
2019-01-29 22:06:32 +00:00
Jonas Maebe
e52cf555ab * fix loading of constants in registers in the LLVM CG if the constant
does not fit in ptrsinttype

git-svn-id: trunk@41138 -
2019-01-29 21:39:26 +00:00
Jonas Maebe
2d01fe76f6 * initialse the cgpara for the C-style varargs on ARM (needed for LLVM)
git-svn-id: trunk@41137 -
2019-01-29 21:39:23 +00:00
Jonas Maebe
96b27765f0 * replaced fstm/fldm with vstm/vldm for clang compatibility
git-svn-id: trunk@41136 -
2019-01-29 21:39:20 +00:00
Jonas Maebe
9c3e9e80a3 * fixed type correctness of and simplified the threadvar loading size
optimisation

git-svn-id: trunk@41135 -
2019-01-29 21:39:16 +00:00
Jonas Maebe
4869d0ace9 * perform extension of parameters to 32 bit for Darwin in the paraloc instead
of in the cgpara (cgpara should always correspond to the real parameter)

git-svn-id: trunk@41134 -
2019-01-29 21:39:12 +00:00
Jonas Maebe
04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator:
use the generic code in more cases when cpuhighleveltarget is defined

git-svn-id: trunk@41133 -
2019-01-29 21:39:09 +00:00
Mattias Gaertner
ff67b59388 pastojs: fixed compile
git-svn-id: trunk@41132 -
2019-01-29 20:52:37 +00:00
florian
2f40f81890 + sanity check
git-svn-id: trunk@41131 -
2019-01-29 20:40:41 +00:00
florian
afd4599d26 * correctly handle LDRD in TAoptBaseCpu.RegModifiedByInstruction
git-svn-id: trunk@41130 -
2019-01-29 20:40:40 +00:00
florian
acbf7d15c4 * do not load always the references into a register in g_concatcopy
git-svn-id: trunk@41129 -
2019-01-29 20:40:39 +00:00
florian
4db5478acc + support msr regf,reg32 on arm in the internal assembler
git-svn-id: trunk@41128 -
2019-01-29 20:38:51 +00:00
florian
a186f48442 * cosmetics
git-svn-id: trunk@41127 -
2019-01-29 20:17:47 +00:00
florian
6c88894999 * do not call the internal assembler if -s is passed
git-svn-id: trunk@41126 -
2019-01-29 20:16:12 +00:00
Mattias Gaertner
007f266ccf fcl-passrc: scanner: bool switch $goto
git-svn-id: trunk@41125 -
2019-01-29 19:08:16 +00:00
Mattias Gaertner
86d3728ea9 pastojs: fixed write class var
git-svn-id: trunk@41124 -
2019-01-29 18:14:24 +00:00
Mattias Gaertner
d5632392d0 fcl-passrc: resolver: fixed name[][] for default property and adv record class var
git-svn-id: trunk@41123 -
2019-01-29 18:13:43 +00:00
pierre
94d71c0d35 Disable some packages for avr-embedded and i8086-embedded targets
git-svn-id: trunk@41122 -
2019-01-29 14:32:28 +00:00
pierre
b473413218 Disable atari target for fpcm and fpcmkcfg because it depends on unsupported fpmkunit package
git-svn-id: trunk@41121 -
2019-01-29 14:17:53 +00:00
pierre
21d3e14c6c Disable fprcp, h2pas and tply pacakges for msdos and win16 because the programs are too big
git-svn-id: trunk@41120 -
2019-01-29 14:08:03 +00:00
pierre
6617fa7b48 Disable palmos in fprcp, h2pas and tply packages
git-svn-id: trunk@41119 -
2019-01-29 13:46:43 +00:00
nickysn
4d00ac486a * use eax instead of edi in GetPixel320, to avoid saving/restoring edi
git-svn-id: trunk@41118 -
2019-01-29 13:39:40 +00:00
nickysn
915bc126a5 - ignore VideoOfs completely in the mode 13h routines (this mode has no video page support)
git-svn-id: trunk@41117 -
2019-01-29 13:19:31 +00:00
nickysn
6a1adc31fc * moved the assembler declaration in PutPixel320 and GetPixel320 to be on the same line as the procedure/function declaration
git-svn-id: trunk@41116 -
2019-01-29 13:17:22 +00:00
nickysn
45ea95b72e - don't preserve edx and ecx in GetPixel320, because they don't need to be preserved in GetPixel320
git-svn-id: trunk@41115 -
2019-01-29 13:16:14 +00:00
nickysn
0c01add0ae - removed commented out video page code from GetPixel320
git-svn-id: trunk@41114 -
2019-01-29 13:15:14 +00:00
nickysn
22d599e70d - removed the REGCALL ifdefs from GetPixel320
git-svn-id: trunk@41113 -
2019-01-29 13:14:33 +00:00
nickysn
00d4bdbc7d + comment in GetPixel320 with the parameter locations
git-svn-id: trunk@41112 -
2019-01-29 13:13:56 +00:00
nickysn
e26a7f7753 * use different registers to avoid a mov instruction in PutPixel320
git-svn-id: trunk@41111 -
2019-01-29 13:09:00 +00:00
nickysn
23aec76ae1 - don't save/restore eax and ecx in PutPixel320, because they don't need to be preserved by the register calling convention
git-svn-id: trunk@41110 -
2019-01-29 13:05:12 +00:00