Commit Graph

58424 Commits

Author SHA1 Message Date
nickysn
4de1d5a8bf + Z80 stackframe generation
git-svn-id: branches/z80@44524 -
2020-04-03 00:15:24 +00:00
nickysn
574fea7e63 + ait_tempalloc asm output for sdcc-sdasz80
git-svn-id: branches/z80@44523 -
2020-04-02 23:29:52 +00:00
nickysn
4b281dd6c9 * changed the ifndef avr to ifdef avr in GetNextReg
git-svn-id: branches/z80@44522 -
2020-04-02 23:05:49 +00:00
nickysn
71cadc0a3e * moved the AVR-specific comment next to the AVR specific code
git-svn-id: branches/z80@44521 -
2020-04-02 23:04:45 +00:00
nickysn
54811831b5 - disable the check for R_SUBWHOLE in GetNextReg for Z80
git-svn-id: branches/z80@44520 -
2020-04-02 23:02:55 +00:00
nickysn
f81c4a9454 * synchronize with trunk
git-svn-id: branches/z80@44519 -
2020-04-02 22:55:11 +00:00
Jonas Maebe
d5de84c6c5 * use typenames in more cases in the generated LLVM IR (results in smaller
IR in textual form)

git-svn-id: trunk@44518 -
2020-04-02 21:21:44 +00:00
Jonas Maebe
afd0ae44ee * use tprocvardef.getreusableprocaddr also for non-address-only copies of
proc(var)defs

git-svn-id: trunk@44517 -
2020-04-02 21:21:40 +00:00
Jonas Maebe
4ba19f5418 * add support for creating non-address-only procvars to
cprocvar.getreusableprocaddr()

git-svn-id: trunk@44516 -
2020-04-02 21:21:36 +00:00
florian
b033ccbddb * cleanup
git-svn-id: trunk@44515 -
2020-04-02 20:04:03 +00:00
florian
44d9498eff * cosmetics
git-svn-id: trunk@44514 -
2020-04-02 20:04:02 +00:00
nickysn
65efc495af + add edges to disallow the use of the 8-bit subregisters of IX, IY and SP
git-svn-id: branches/z80@44513 -
2020-04-02 02:28:14 +00:00
nickysn
20cd3a6d1b - removed GetLoad and GetStore from tcgz80. These came from AVR and I don't think they would be useful
for Z80.

git-svn-id: branches/z80@44512 -
2020-04-02 02:20:34 +00:00
nickysn
c02fc4a49f * fixed OP_NOT in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44511 -
2020-04-02 02:14:21 +00:00
nickysn
052313d649 * fixed OP_AND,OP_OR,OP_XOR in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44510 -
2020-04-02 02:04:18 +00:00
nickysn
d7675c6c81 + support line info (-al) in the sdcc-sdasz80 asm output
git-svn-id: branches/z80@44509 -
2020-04-02 01:19:17 +00:00
nickysn
cae1865f32 * fixes for OP_ADD and OP_SUB in a_op_reg_reg_internal. The destination of add/adc/sub/sbc can only be
register NR_A.

git-svn-id: branches/z80@44508 -
2020-04-02 01:10:52 +00:00
nickysn
d26b5199c8 + implemented a_load_ref_reg for fromsize=tosize for z80
git-svn-id: branches/z80@44507 -
2020-04-02 01:01:58 +00:00
nickysn
3893baabd8 + output nothing for ait_stab, ait_force_line and ait_function_name in the sdcc-sdasz80 asm writer
git-svn-id: branches/z80@44506 -
2020-04-02 00:50:49 +00:00
nickysn
73e11ee97d + compile with -dEXTDEBUG
git-svn-id: branches/z80@44505 -
2020-04-01 23:59:11 +00:00
nickysn
065a0d44d8 * tcg64favr renamed tcg64fz80
git-svn-id: branches/z80@44504 -
2020-04-01 23:32:02 +00:00
nickysn
50e5b07568 * synchronize with trunk
git-svn-id: branches/z80@44503 -
2020-04-01 22:43:55 +00:00
nickysn
fc80874e63 + implemented a_load_reg_reg for z80 for fromsize=tosize
git-svn-id: branches/z80@44502 -
2020-04-01 22:43:10 +00:00
nickysn
662ca13f51 * use register NR_A in a_load_reg_ref for z80
git-svn-id: branches/z80@44501 -
2020-04-01 22:40:02 +00:00
nickysn
54097433da + implemented cgsize2subreg for z80
git-svn-id: branches/z80@44500 -
2020-04-01 22:29:33 +00:00
nickysn
c3ac9d06c8 + support ait_datablock in the sdcc-sdasz80 asm output
git-svn-id: branches/z80@44499 -
2020-04-01 22:13:47 +00:00
nickysn
fbadb3519f + implemented a_load_reg_ref for equal sized args for z80
git-svn-id: branches/z80@44498 -
2020-04-01 22:08:46 +00:00
nickysn
fe5daf3d2f + initial implementation of top_ref reference output for sdcc-sdasz80
git-svn-id: branches/z80@44497 -
2020-04-01 22:08:22 +00:00
marco
07ee8948aa * use a PO flag to run idle event. This allows both cases (slow, long term input, and short, quick input) to run without derivation of the class for runcommand.
git-svn-id: trunk@44496 -
2020-04-01 21:12:10 +00:00
florian
ba9e930556 * Xtensa: set fpu type dependending on the controller
git-svn-id: trunk@44495 -
2020-04-01 20:08:23 +00:00
florian
c2cf21d176 + Xtensa: boolean registers * Xtensa: register numbers of floating point registers corrected
git-svn-id: trunk@44494 -
2020-04-01 20:08:22 +00:00
florian
1e0640c9e9 * Xtensa: FreeRTOS uses windowed calling convention
git-svn-id: trunk@44493 -
2020-04-01 20:08:21 +00:00
florian
b41c8342c8 * Xtensa: reduce stack usage
git-svn-id: trunk@44492 -
2020-04-01 20:08:20 +00:00
nickysn
b1ea62f5f6 + implemented ait_regalloc asm output for sdcc-sdasz80
git-svn-id: branches/z80@44491 -
2020-04-01 19:05:22 +00:00
nickysn
b486e6b353 * define R_SUBWHOLE = R_SUBW for Z80
git-svn-id: branches/z80@44490 -
2020-04-01 18:53:05 +00:00
nickysn
f87c837afe + implemented a_load_const_reg
git-svn-id: branches/z80@44489 -
2020-04-01 18:22:41 +00:00
nickysn
aeedb0022d + initial implementation of operand writing (registers and constants only for now)
git-svn-id: branches/z80@44488 -
2020-04-01 18:15:13 +00:00
nickysn
36a26a53ae + emit warning comments in the asm output for the unimplemented methods in cgcpu
git-svn-id: branches/z80@44487 -
2020-04-01 17:16:56 +00:00
nickysn
2003020d68 + emit lowercase instructions in the z80 asm output
git-svn-id: branches/z80@44486 -
2020-04-01 14:09:44 +00:00
nickysn
050244e5f0 + emit a ret instruction at the end of functions
git-svn-id: branches/z80@44485 -
2020-04-01 14:05:00 +00:00
nickysn
03ea93de87 + write eol after each instruction
git-svn-id: branches/z80@44484 -
2020-04-01 14:04:20 +00:00
nickysn
dc1ff00418 * fixed register number of IX
git-svn-id: branches/z80@44483 -
2020-04-01 13:36:59 +00:00
michael
a630f93c7b * Apply patch from Serge Anvarov, explicitly mark some routines as not implemented (bug ID 35101)
git-svn-id: trunk@44482 -
2020-04-01 07:44:21 +00:00
michael
b2ddb43fa9 * Patch from Serge Anvarov to simplify ReadDate/ReadTime (bug ID 35105)
git-svn-id: trunk@44481 -
2020-04-01 07:41:16 +00:00
michael
aaaca28dcd * Patch from Serge Anvarov to simplify ReadDate/ReadTime (bug ID 35105)
git-svn-id: trunk@44480 -
2020-04-01 07:39:14 +00:00
michael
3030ffb9c1 * Apply patch from Serge Anvarov, change var to const for buffer param (bug ID 35106)
git-svn-id: trunk@44479 -
2020-04-01 07:33:46 +00:00
michael
a24a4b9745 * Patch from Bart Broersma to fix bug ID #36809 - test program
git-svn-id: trunk@44478 -
2020-04-01 07:06:01 +00:00
michael
25b7e1352b * Patch from Bart Broersma to fix bug ID #35022
git-svn-id: trunk@44477 -
2020-04-01 07:00:34 +00:00
nickysn
d682df8bcd + implemented ait_instruction at least for instructions without operands
git-svn-id: branches/z80@44476 -
2020-04-01 02:19:46 +00:00
nickysn
1d3f14f769 + implemented ait_align asm output for sdcc-sdasz80
git-svn-id: branches/z80@44475 -
2020-04-01 00:39:08 +00:00