Commit Graph

58986 Commits

Author SHA1 Message Date
Jonas Maebe
05923af386 * ppc64le: fix storing homogeneous 64 bit float parameters in case they are
split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
2020-05-01 13:02:45 +00:00
michael
3a55fef285 * Always initialize autoincvalue in createdataset
git-svn-id: trunk@45202 -
2020-05-01 12:16:47 +00:00
Károly Balogh
89d9679b53 m68k: have an arch-specific second_length implementation, to make sure length() doesn't return its result in an address register
git-svn-id: trunk@45201 -
2020-05-01 12:06:43 +00:00
Jonas Maebe
d83232f881 * ELFv2: fixed homogeneous aggregate parameter passing when they should
overflow into integer registers (mantis #36934)

git-svn-id: trunk@45199 -
2020-04-30 20:53:05 +00:00
florian
cfe2d94b25 * fix LLVM after r45177
git-svn-id: trunk@45198 -
2020-04-30 19:42:03 +00:00
marcus
95ced4a7f5 Amiga: special CRT unit (named vidcrt) based on video unit
git-svn-id: trunk@45197 -
2020-04-30 19:28:45 +00:00
marcus
c6b0195c5f Amiga: keyboard prevent double keys on GetKeyEvent, if called without PollKeyEvent
git-svn-id: trunk@45196 -
2020-04-30 19:14:51 +00:00
nickysn
c0ffa18ee2 + added class TRelObjOutput
git-svn-id: trunk@45195 -
2020-04-30 17:31:18 +00:00
michael
1a18805c96 * Fix clearing of arrays and recursive definitions for arrays
git-svn-id: trunk@45192 -
2020-04-30 16:20:16 +00:00
nickysn
19c1ecda54 + started work on the Z80 internal assembler
git-svn-id: trunk@45191 -
2020-04-30 14:27:48 +00:00
michael
42bfe6d45f * Fix from Ondrej Pokorny to fix reading large TIFFs (bug ID 36998)
git-svn-id: trunk@45190 -
2020-04-30 13:39:07 +00:00
michael
07e2d4e4c5 * Avoid errors when dataset is not active while constructing update SQL.
git-svn-id: trunk@45189 -
2020-04-30 10:43:03 +00:00
michael
c66ceaf0e3 * Patch from Laco with cosmetic changes and warning-removing
git-svn-id: trunk@45188 -
2020-04-30 07:01:44 +00:00
nickysn
9b1eebd333 + z80: add operand info to the result of taicpu.GetString, this makes the
compiler produce nicer error messages, when it encounters an invalid
  instruction in inline asm code

git-svn-id: trunk@45187 -
2020-04-30 00:17:29 +00:00
nickysn
2f4390ac9b + added Z80 inline asm instruction validation
git-svn-id: trunk@45186 -
2020-04-29 23:51:23 +00:00
nickysn
34112c932c + handle OT_IMM8 and OT_IMM16 for getting symbol addresses in taicpu.Matches
git-svn-id: trunk@45185 -
2020-04-29 23:45:09 +00:00
nickysn
a79d12ae41 + handle OT_RELJMP8 in taicpu.Matches
git-svn-id: trunk@45184 -
2020-04-29 23:39:47 +00:00
nickysn
4c021c100a + handle OT_REG8_C_PORT in taicpu.Matches
git-svn-id: trunk@45183 -
2020-04-29 23:30:43 +00:00
nickysn
a063a53863 + handle OT_IMM_PORT in taicpu.Matches
git-svn-id: trunk@45182 -
2020-04-29 23:23:20 +00:00
nickysn
552107f577 + z80: implemented taicpu.CheckIfValid
git-svn-id: trunk@45181 -
2020-04-29 22:21:40 +00:00
nickysn
d5b8e49da2 + z80: implemented taicpu.FindInsentry
git-svn-id: trunk@45180 -
2020-04-29 22:12:51 +00:00
nickysn
5e90aa27d5 - z80: oops, forgot to delete some code from taicpu.Matches
git-svn-id: trunk@45179 -
2020-04-29 21:46:42 +00:00
nickysn
e08c7b3642 + z80: added condition checking in taicpu.Matches
git-svn-id: trunk@45178 -
2020-04-29 21:38:41 +00:00
florian
9e0337f248 * do not use an extra register in tcginlinenode.second_IncDec if not needed
git-svn-id: trunk@45177 -
2020-04-29 20:01:53 +00:00
nickysn
7f769f024b * Z80: fixed code generation for pure assembler routines, that have no parameters, no local variables
and no 'nostackframe'

git-svn-id: trunk@45176 -
2020-04-29 19:44:57 +00:00
nickysn
365e320119 + partial implementation of taicpu.Matches
git-svn-id: trunk@45175 -
2020-04-29 16:25:52 +00:00
nickysn
20e2a0efac + added Z80 register AF'
git-svn-id: trunk@45174 -
2020-04-29 16:00:25 +00:00
nickysn
6654faea08 + build an instruction table cache for the Z80
git-svn-id: trunk@45173 -
2020-04-29 14:53:21 +00:00
nickysn
f8c2d4a632 * added comment, stating that Z80 has no condition subsets
git-svn-id: trunk@45172 -
2020-04-29 12:19:59 +00:00
nickysn
cfb28c7654 * fixed bug, causing the global variable stacksize to be destroyed
git-svn-id: trunk@45171 -
2020-04-29 02:00:26 +00:00
nickysn
e60ab7148d * fixed compilation with sdld
git-svn-id: trunk@45170 -
2020-04-29 01:53:01 +00:00
Károly Balogh
695a260ff8 zxspectrum: added support for linking via vlink, and for pascal sysinit code. also some cleanup in the linker code
git-svn-id: trunk@45169 -
2020-04-29 01:32:48 +00:00
nickysn
5b24267529 * reduced the stack margin for stack checking to 64 bytes on the Z80
git-svn-id: trunk@45168 -
2020-04-29 01:22:22 +00:00
Károly Balogh
594138141a zxspectrum: in the pascal startup code, match start symbol name with the asm startup code
git-svn-id: trunk@45167 -
2020-04-29 01:18:37 +00:00
nickysn
59b90c24ed + initialize StackBottom and StackLength in the startup of the ZX Spectrum system unit
git-svn-id: trunk@45166 -
2020-04-29 01:10:52 +00:00
Károly Balogh
c206415450 zxspectrum: pascal startup code. this allows the RTL to be built with any assembler
git-svn-id: trunk@45165 -
2020-04-28 23:13:29 +00:00
Károly Balogh
60c73dd14b z80: fix typo in the previous commit
git-svn-id: trunk@45164 -
2020-04-28 23:10:35 +00:00
Károly Balogh
04bd105cf5 z80: fix global symbols and section attributes in the vasm writer
git-svn-id: trunk@45163 -
2020-04-28 23:10:03 +00:00
florian
50c221670f * do not generate moves unncesssarily in tcgloadparentfpnode.pass_generate_code
git-svn-id: trunk@45162 -
2020-04-28 21:25:42 +00:00
marcus
8aacea8850 Amiga: Video unit, do not draw Cursor if outside the window (would write over the window border)
git-svn-id: trunk@45161 -
2020-04-28 21:14:44 +00:00
svenbarth
c8b7094378 * fix for Mantis #36940: apply (adjusted) patch by Bi0T1N to add functionality to the thread manager to set a thread's debug name (if supported by the platform)
git-svn-id: trunk@45160 -
2020-04-28 19:58:20 +00:00
svenbarth
e131a4e014 * nicely align assignment of TThreadManager.CloseThread
git-svn-id: trunk@45159 -
2020-04-28 19:57:55 +00:00
nickysn
86e04ddd5c + enable the sdasz80 lameness check permanently, because the system unit now
compiles, and it's important to catch other similar errors also

git-svn-id: trunk@45158 -
2020-04-28 19:34:38 +00:00
nickysn
07a8af33b1 + z80: generate correct code in do_spill_read and do_spill_written for spilling to temp offsets outside the range -128..127
git-svn-id: trunk@45157 -
2020-04-28 19:31:11 +00:00
nickysn
6dbe1368ef + z80: added range checking for d in the (IX+d) and (IY+d) addressing modes in
the sdasz80 assembler writer, because sdasz80 silently truncates d to shortint
  which produces broken code and hides bugs in the z80 code generator. The check
  is behind ifdef, because the system unit doesn't compile, when this check is
  enabled, due to bugs that were previously unnoticed. When these bugs are
  fixed, the ifdef will be removed.

git-svn-id: trunk@45156 -
2020-04-28 18:49:50 +00:00
marcus
589b2b956f Fixed LLVM compilation after r45143
git-svn-id: trunk@45155 -
2020-04-28 18:41:45 +00:00
pierre
a506fe9560 Fix cross-compilation on aarch64-linux using -dFPC_SOFT_FPUX80 option
git-svn-id: trunk@45154 -
2020-04-28 18:35:53 +00:00
nickysn
573d69c8fe * unfortunately tf_smartlink_sections is mutually exclusive with
tf_smartlink_library, and defining both breaks sdasz80, so put this behind
  ifdef Z80_SMARTLINK_SECTIONS

git-svn-id: trunk@45153 -
2020-04-28 15:14:39 +00:00
Károly Balogh
23fc0fe66a z80: added quick & dirty vasm assembler support to the target
git-svn-id: trunk@45152 -
2020-04-28 01:23:31 +00:00
Károly Balogh
db1ef439b5 z80: sdasz80 won't do section smartlinking for us, but it's used for the zx spectrum target
git-svn-id: trunk@45151 -
2020-04-28 01:17:29 +00:00