Commit Graph

59204 Commits

Author SHA1 Message Date
nickysn
084b4187f8 * dollar sign changed to dollar in the SDCC-SDASZ80 asm output
git-svn-id: branches/z80@45065 -
2020-04-25 12:38:52 +00:00
nickysn
2bcd6f4c17 + apply ReplaceForbiddenAsmSymbolChars to all symbols in the SDCC-SDASZ80 assembler output
git-svn-id: branches/z80@45064 -
2020-04-25 12:38:23 +00:00
nickysn
0b73bfa3ab * the dummy fpc_InitializeUnits and fpc_do_exit procedures are only defined if system unit is compiled
without -dFULL_RTL

git-svn-id: branches/z80@45063 -
2020-04-25 11:13:32 +00:00
nickysn
b15c66b396 * fixed tcgz80.a_call_reg
git-svn-id: branches/z80@45062 -
2020-04-25 11:06:58 +00:00
nickysn
4b88e8f48e * fixed label placement in tcgz80.a_cmp_const_reg_label for 16-bit/32-bit operations OC_GT,OC_LT,OC_GTE,OC_LTE,OC_BE,OC_B,OC_AE,OC_A
git-svn-id: branches/z80@45061 -
2020-04-25 09:44:34 +00:00
pierre
687b31575b Update revision.inc after commit 44920
git-svn-id: trunk@45060 -
2020-04-25 08:14:17 +00:00
nickysn
1943e3fc63 * synchronized with trunk
git-svn-id: branches/z80@45059 -
2020-04-24 21:38:20 +00:00
nickysn
ac3eda1360 * fixed spurious "Expectloc is not set in firstpass" when compiler is compiled with EXTDEBUG, and
there's a node that's converted to another node in pass 1

git-svn-id: branches/z80@45058 -
2020-04-24 21:37:13 +00:00
florian
670e778643 + assembler optimization MovxMov2Movx
git-svn-id: trunk@45057 -
2020-04-24 20:56:56 +00:00
nickysn
26ba399a66 * synchronized with trunk
git-svn-id: branches/z80@45056 -
2020-04-24 19:16:32 +00:00
nickysn
6014305708 - removed debug writeln
git-svn-id: branches/z80@45055 -
2020-04-24 19:15:52 +00:00
Mattias Gaertner
1af626817e fcl-passrc: resolver: mode delphi: allow member with same name as ancestor member
git-svn-id: trunk@45054 -
2020-04-24 16:38:34 +00:00
svenbarth
bd01182ff0 * add support for AND, OR, XOR and NOT of integer values in preprocessor directives (Delphi allows that as well)
+ added test

git-svn-id: trunk@45053 -
2020-04-24 14:09:04 +00:00
svenbarth
ae2801c707 * use asInt64 instead of asInt to evaluate an Integer expression
git-svn-id: trunk@45052 -
2020-04-24 14:09:02 +00:00
svenbarth
bffe99f59f + add an asInt64 to texprvalue
git-svn-id: trunk@45051 -
2020-04-24 14:09:00 +00:00
svenbarth
89434f0124 * extract calculation of a NOT value to a separate function
git-svn-id: trunk@45050 -
2020-04-24 14:08:58 +00:00
michael
c7c4f0bf39 * V2 may not contain error object
git-svn-id: trunk@45047 -
2020-04-24 05:41:19 +00:00
nickysn
9c7f1a7cab * synchronized with trunk
git-svn-id: branches/z80@45046 -
2020-04-24 03:30:29 +00:00
florian
8b71455e3b + Xtensa: enable jump optimizer
git-svn-id: trunk@45045 -
2020-04-23 20:17:28 +00:00
nickysn
55254ff64b + set expectloc in the first pass of the addnode for small CPUs for procvardef comparisons
git-svn-id: branches/z80@45044 -
2020-04-23 16:05:23 +00:00
nickysn
96a714b20e * set expectloc correctly for procvardef comparisons with nil for small CPUs
git-svn-id: branches/z80@45043 -
2020-04-23 15:52:22 +00:00
nickysn
073afe3735 + set expectloc correctly for small CPUs in the first pass of the add node for classrefdefs
git-svn-id: branches/z80@45042 -
2020-04-23 15:48:59 +00:00
nickysn
2ee28809d8 * set expectloc correctly for small CPUs for implicit pointer object types in the first pass of the add nodes
git-svn-id: branches/z80@45041 -
2020-04-23 15:46:27 +00:00
nickysn
4ae5b81bff * set expectloc correctly for enumdef comparisons on small CPUs
git-svn-id: branches/z80@45040 -
2020-04-23 15:31:50 +00:00
nickysn
9d1a9354c2 * set the correct expectloc in the first pass for pointer comparisons on the Z80
git-svn-id: branches/z80@45039 -
2020-04-23 14:00:38 +00:00
nickysn
0a017f1634 - removed unused method TZ80AddNode.NoEqual
git-svn-id: branches/z80@45038 -
2020-04-23 12:54:00 +00:00
yury
8d95da3fea * Windows: Reworked handling of command line arguments to properly support Unicode:
- Use the CommandLineToArgvW API function to parse the Unicode command line (we can use it since Win9x is not supported anymore).
  - Implemented non-public functions ParamStrA and ParamStrU which are exposed in the objpas and uuchar units to provide correct AnsiString and UnicodeString versions of ParamStr(). 
  - The cleanup code is moved from InternalExit to the finalization section of the System unit.

git-svn-id: trunk@45037 -
2020-04-23 12:38:42 +00:00
nickysn
11433210d7 + more dummy functions added
git-svn-id: branches/z80@45036 -
2020-04-23 03:19:56 +00:00
nickysn
4a0ad586d0 + implemented record copy in tcgz80.a_load_ref_cgpara
git-svn-id: branches/z80@45035 -
2020-04-23 03:14:09 +00:00
nickysn
992602afcb * fixed 64-bit OP_NOT
git-svn-id: branches/z80@45034 -
2020-04-23 03:10:39 +00:00
nickysn
4ca4f8abd5 + more dummy consts added
git-svn-id: branches/z80@45033 -
2020-04-23 03:05:18 +00:00
nickysn
02dbca9ae4 + added dummy sysdir.inc to the ZX Spectrum RTL
git-svn-id: branches/z80@45032 -
2020-04-23 03:03:42 +00:00
nickysn
f732b8413c + added dummy sysfile.inc
git-svn-id: branches/z80@45031 -
2020-04-23 03:01:39 +00:00
nickysn
91eeb82e5a + some dummy consts for the file io
git-svn-id: branches/z80@45030 -
2020-04-23 02:58:33 +00:00
nickysn
4c5f095422 + reenabled fileio and textio, because consoleio doesn't seem to work without them
git-svn-id: branches/z80@45029 -
2020-04-23 02:55:08 +00:00
nickysn
7ccebb5073 + include the tiny heap in the ZX Spectrum system unit, when compiled with -dFULL_RTL
git-svn-id: branches/z80@45028 -
2020-04-23 02:48:03 +00:00
nickysn
0d7e3921aa + added susheap.inc to the ZX Spectrum RTL (empty for now)
git-svn-id: branches/z80@45027 -
2020-04-23 02:35:11 +00:00
nickysn
86bc22528a - removed some commented out code from tcpuparamanager.get_funcretloc
git-svn-id: branches/z80@45026 -
2020-04-23 02:33:41 +00:00
nickysn
3a5544ea63 - removed the the OS_64 and OS_F64-related code from tcpuparamanager.get_funcretloc
git-svn-id: branches/z80@45025 -
2020-04-23 02:32:54 +00:00
nickysn
89b8bd3848 + added a Z80-specific override for tcgz80.a_loadfpu_ref_cgpara, to support returning single results
in registers

git-svn-id: branches/z80@45024 -
2020-04-23 02:29:46 +00:00
nickysn
5c6fadada8 + return singles in the same registers as 32-bit ints
git-svn-id: branches/z80@45023 -
2020-04-23 02:17:03 +00:00
nickysn
088cfd5da5 * write a warning in the assembler output, instead of stopping with an internal error in
tcgz80.a_op_reg_reg_internal for OP_MUL/OP_IMUL, so that more RTL code can be compiled

git-svn-id: branches/z80@45022 -
2020-04-23 02:07:25 +00:00
nickysn
76a8d47eb6 + added z80/int64p.inc (empty for now)
git-svn-id: branches/z80@45021 -
2020-04-23 01:57:03 +00:00
nickysn
cae8a928c9 * fixed tz80loadparentfpnode.pass_generate_code to return result in an imaginary register sequence,
instead of simply returning IX

git-svn-id: branches/z80@45020 -
2020-04-23 01:40:13 +00:00
nickysn
770822382f + implemented all the remaining 16-bit and 32-bit comparisons in tcgz80.a_cmp_const_reg_label
git-svn-id: branches/z80@45019 -
2020-04-23 00:57:21 +00:00
nickysn
d54a2b7cb6 * generate an internal error in tcgz80.a_cmp_reg_reg_label, because that's not yet implemented
git-svn-id: branches/z80@45018 -
2020-04-23 00:40:23 +00:00
nickysn
38d3bdc60e + allow fromsize>tosize in tcgz80.a_load_ref_reg
git-svn-id: branches/z80@45017 -
2020-04-23 00:36:22 +00:00
nickysn
b4ff7388df + retinparam fixes for exp, frac, int, cos, sin, arctan, ln, round and trunc
git-svn-id: branches/z80@45016 -
2020-04-23 00:25:02 +00:00
nickysn
661db99581 + ret in param fix in pass_typecheck for exp,frac,int,cos,sin,arctan,ln
git-svn-id: branches/z80@45015 -
2020-04-23 00:14:13 +00:00
nickysn
5200ff5e49 + ret in param fix for tinlinenode.first_sqrt_real
git-svn-id: branches/z80@45014 -
2020-04-23 00:11:17 +00:00