Commit Graph

55464 Commits

Author SHA1 Message Date
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
nickysn
1371a5a8ed - removed the commented out video page code from PutPixel320
git-svn-id: trunk@41109 -
2019-01-29 13:01:32 +00:00
nickysn
5a8d57d8f4 - removed the REGCALL ifdefs from PutPixel320
git-svn-id: trunk@41108 -
2019-01-29 13:00:24 +00:00
nickysn
f8817b128a + added comment to PutPixel320 with the parameter locations
git-svn-id: trunk@41107 -
2019-01-29 12:58:52 +00:00
pierre
d2a04366d4 Disable jvm-android and jvm-java targets for fprcp, h2pas and tply packages because they use memory allocation or fpc_get_output
git-svn-id: trunk@41106 -
2019-01-29 09:01:42 +00:00
Károly Balogh
d1878fe5b2 morphos: support section GC with GNU LD as well
git-svn-id: trunk@41105 -
2019-01-29 05:02:18 +00:00
pierre
7817e48e9a -Xr is also supported for systems_android
git-svn-id: trunk@41104 -
2019-01-28 17:43:15 +00:00
nickysn
8a96bb656f * declare all registers as clobbered by int 10h in the asm block in SetVisual200_350 and leave it to fpc to preserve what is necessary
git-svn-id: trunk@41103 -
2019-01-28 17:32:14 +00:00
nickysn
c3bdb2c2ee * SetVisual200 and SetVisual350 combined into one routine SetVisual200_350, because they share the same code
git-svn-id: trunk@41102 -
2019-01-28 17:28:10 +00:00
nickysn
1cd93cf9a7 - removed the unnecessary code from SetVisual200 (the start address that is being read isn't written anywhere and is not used)
git-svn-id: trunk@41101 -
2019-01-28 17:25:24 +00:00
nickysn
b70aeac0d4 + added comments with the parameter locations in SetCGAPalette and SetCGABorder
- removed 'ifndef REGCALL'

git-svn-id: trunk@41100 -
2019-01-28 17:22:25 +00:00
nickysn
ca6fdb8c74 + added comment to CallInt10 with the parameter location
- removed the 'ifndef REGCALL' section from CallInt10

git-svn-id: trunk@41099 -
2019-01-28 17:18:37 +00:00
nickysn
c6a6cd522f + added comment in the beginning of seg_bytemove, containing the parameter locations
git-svn-id: trunk@41098 -
2019-01-28 17:15:27 +00:00
nickysn
8ae6b58c05 * converted seg_xorword, seg_orword and seg_andword to pure asm routines
git-svn-id: trunk@41097 -
2019-01-28 17:11:34 +00:00
Károly Balogh
9906211f3b amiga: enable building of heaptrc unit, enable building lineinfo and exeinfo for OS4/PowerPC
git-svn-id: trunk@41096 -
2019-01-28 13:19:26 +00:00
Károly Balogh
c3607e0059 aros: only build lineinfo for i386 for now. FPC on x86_64 doesn't support stabs at all and the Amiga-specific lineinfo unit has no ARM support
git-svn-id: trunk@41095 -
2019-01-28 13:11:55 +00:00
Károly Balogh
6d279fdbb9 amicommon/lineinfo: fixed copy-paste error in PowerPC codepath
git-svn-id: trunk@41094 -
2019-01-28 12:45:19 +00:00
Károly Balogh
40630653b7 aros: fixed lineinfo to build from amicommon
git-svn-id: trunk@41093 -
2019-01-28 06:01:54 +00:00
Károly Balogh
22c87afdd1 amicommon/lineinfo: added support for i386 relocatable binaries with .rel.stab section, as used on AROS-i386 for example
git-svn-id: trunk@41092 -
2019-01-28 06:00:41 +00:00
Károly Balogh
db055c8f0c amicommon: moved MorphOS-specific lineinfo to amicommon, for upcoming AROS and OS4 support
git-svn-id: trunk@41091 -
2019-01-28 05:29:31 +00:00
Károly Balogh
d1a097f6c3 morphos: do not read beyond end of the .rela.stabs section. do not try to relocate stabs entries, if opening the stabs was unsuccessful
git-svn-id: trunk@41090 -
2019-01-28 05:07:51 +00:00