Displaying 2 results from an estimated 2 matches for "luggabl".
Did you mean:
luggable
2018 Jul 22
2
Finding scratch register after function call
...ult
*Sent:* Sunday, Jul 22, 2018 9:42 AM WEST
*To:* Michael Stellmann
*Cc:* LLVM Developers Mailing List
*Subject:* [llvm-dev] Finding scratch register after function call
> I had a quick look at some reference material this time :-) I also did
> some work on a DEC Rainbow and a Kaypro CP/M luggable a few years
> later. The compilers of the time were just awful!
>
> It should be possible to get llvm to produce very good code for the
> Z80 -- in larger functions probably better than any human would put
> the effort in to achieve. In particular, what the human regards as the...
2018 Jul 22
2
Finding scratch register after function call
Thanks Bruce,
and elaborately as ever. Again, I'm surprised about your very thorough
Z80 knowledge when you said you only did little on the ZX81 in the
eighties :D
OK, understood. I was first thinking about doing something like this for
small frames:
1. push bc # 1 byte; 11 cycles - part of call frame-cleanup: save
scratch register
+-----begin call-related
2. ld