2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/memcpy.s,
device/lib/z180/memcpy.s,
device/lib/z80/memcpy.s,
device/lib/z80n/memcpy.s,
support/regression/tests/memory.c:
Fix invalid return value of memcpy implementation for Z80.
2020-07-21 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Fix possible ready beyond a buffer in canJoinRegs constraint.
2020-07-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Sanity checks for sscanf arguments.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/Makefile.in,
device/lib/ez80_z80/__itoa.s,
device/lib/ez80_z80/__ltoa.s,
device/lib/ez80_z80/__strreverse.s,
device/lib/ez80_z80/__uitobcd.s,
device/lib/ez80_z80/__ultobcd.s:
Fix Bug #3077 for eZ80_Z80 port
* device/lib/z180/Makefile.in,
device/lib/z180/__itoa.s,
device/lib/z180/__ltoa.s,
device/lib/z180/__strreverse.s,
device/lib/z180/__uitobcd.s,
device/lib/z180/__ultobcd.s:
Fix Bug #3077 for Z180 port
* device/lib/z80n/Makefile.in,
device/lib/z80n/__itoa.s,
device/lib/z80n/__ltoa.s,
device/lib/z80n/__strreverse.s,
device/lib/z80n/__uitobcd.s,
device/lib/z80n/__ultobcd.s:
Fix Bug #3077 for Z80N port
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-ez80_z80.def:
Fix ez80 peephole rules 9hl and 9de.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/makebin/makebin.c:
Fix compiler warning.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-ez80_z80.def,
src/z80/peeph.def:
New useful peephole rules for Z80-like targets.
2020-07-20 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/support/makebin.c:
Add virtual address translation for gbz80 ROMs.
This is a workaround for #115.
2020-07-20 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/support/makebin.c:
Support IHX record type 0x04 introduced in [r11746].
This is needed for #115.
2020-07-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-ez80_z80.def:
Improve use of hl in z80 (and related) register allocation.
2020-07-18 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asgb/gbmch.c (minit),
* sdas/asz80/z80mch.c (minit): set address space to 24 bit
* sdas/linksrc/lkdata.c,
* sdas/linksrc/aslink.h: removed packflag
* sdas/linksrc/lkmain.c: removed packflag and warn on removed -Y option
* src/ds390/main.c,
* src/mcs51/main.c: removed --pack-iram, --no-pack-iram
* src/SDCCglobl.h,
* src/SDCCmain.c: removed options.no_pack_iram, no -Y output
2020-07-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Enable use of hl in gbz80 register allocation.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/z80.h,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Enable some use of hl in gbz80 register allocation.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-3087.c,
src/z80/gen.c:
Fix bug #3087, implement part of RFE #691.
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/memcpy.s,
device/lib/ez80_z80/Makefile.in,
device/lib/gbz80/memcpy.s,
device/lib/gbz80/Makefile.in,
device/lib/z180/memcpy.s,
device/lib/z180/Makefile.in,
device/lib/z80n/memcpy.s,
device/lib/z80n/Makefile.in:
Implement RFE #664 for ez80_z80, GBZ80, Z180 and Z80N ports
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Implement RFE #636: optimize stack allocation for eZ80
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCval.c:
Revert unnecessary change.
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/Makefile.in,
device/lib/z80/__sdcc_bcall.s,
src/SDCCval.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/z80.h:
Initial implementation of RFE #152 for Z80 port.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3085.c:
Fix bug #3085.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3080.c:
Fix bug #3080.
2020-07-16 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h,
device/lib/__itoa.c,
device/lib/__ltoa.c,
device/lib/Makefile.in,
device/lib/*/Makefile.in,
device/lib/printfl.c,
device/lib/z80/__itoa.s,
device/lib/z80/__ltoa.s,
doc/sdccman.lyx,
support/regression/tests/itoa.c,
support/regression/tests/ltoa.c,
.version:
Fix remaining part of bug #3077.
* src/stm8/peeph.def:
Bit testing jump inversion rules, picked from patch by Basil Hussain.
2020-07-16 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph-r2k.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-z80.def,
src/z80/peeph.def:
Merge common peep hole rules for Z80 family.
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c,
src/z80/z80.h:
Revert changes in banked_call parameters.
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCasm.c,
src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c:
Add generation of function bank symbol.
Initial implementation of RFE #152
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/memcpy.s:
Small optimization
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/__uitobcd.s,
device/lib/z80/__ultobcd.s,
support/regression/tests/uitobcd.c,
support/regression/tests/ultobcd.c:
Add functions ___uitobcd() and ___ultobcd()
* device/lib/z80/__strreverse.s:
Add function ___strreverse() to reverse order of string
* device/lib/z80/__itoa.s,
device/lib/z80/__ltoa.s,
device/lib/z80/Makefile.in:
Fix Bug #3077 for Z80/Z80-resiy ports.
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/Makefile.in,
device/lib/z80/memcpy.s:
Implement RFE #664 for Z80 port.
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/Makefile.in:
Add lib file removing before creating new one to prevent merging
Add device/lib/Makefile refreshing after changing Makefile.in
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/itoa.c,
support/regression/tests/ltoa.c:
Split itoa/ltoa tests on 5 parts. Possible workaround for Bug #3082.
Add tests for uncommon radix.
2020-07-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3081.c:
Fix bug #3081.
2020-07-10 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/_memmove.c:
Small optimization of generic memmove() implementation
2020-07-08 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/itoa.c:
Add tests for _uitoa() and _itoa()
* support/regression/tests/ltoa.c:
Add tests for _ultoa() and _ltoa()
2020-07-06 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/ds390/main.c,
src/mcs51/main.c,
src/pdk/main.c,
src/stm8/main.c,
src/port.h,
src/z80/main.c,
src/z80/peep.c,
src/z80/peep.h,
src/z80/peeph-z80.def:
Implement RFE #683: Add canSplitReg peephole constraint
2020-07-06 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/memory.c:
Document some design choices in memory function tests.
2020-07-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3079.c:
Fix bug #3079.
2020-07-04 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Implement RFE #661: Add newLabel peephole optimizer constraint
2020-07-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/port.h,
src/z80/peep.c,
src/z80/peep.h:
Add 'unordered' support to canJoinRegs peephole constraint
2020-07-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/z80/peeph-z80.def:
Implement RFE #684
2020-07-02 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc.c:
Improve __sfr ^ with literal.
2020-07-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use rlca instead of rlc a, RFE #686.
* src/pdk/gen.c:
Improve read from literal pointer.
* src/SDCCopt.c:
Fix bug #3075.
* src/pdk/ralloc.c:
Improve bit set/reset for I/O.
2020-07-01 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3040.c:
Fix code generation for pdk additive operators with two block-scope const static operands.
2020-06-30 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/ds390/main.c,
src/mcs51/main.c,
src/pdk/main.c,
src/port.h,
src/stm8/main.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/peep.h,
src/z80/peeph-ez80_z80.def:
Partially implement RFE #683: Support canJoinRegs peephole constraint
...