From: Philipp K. K. <pk...@sp...> - 2012-04-12 08:21:05
|
Am 12.04.2012 06:16, schrieb Erik Petrich: > > > On Wed, 11 Apr 2012, Philipp Klaus Krause wrote: > >> In the optralloc-hc08 branch I've done some work on porting the optimal >> register allocator to hc08. >> >> As of tonight, something works: Most regression tests compile, don't >> fail and the assignment seems somewhat ok. >> >> However I don't know much about the hc08 or the hc08 backend, so it >> would be good, if some hc08 experts could have a look at it. > > I tried to build this, but ran into a problem with an undefined symbol > during linking: get_best_local_assignment_biased This one is fixed now. I noticed the current main problem seems to be that I did not notice canUseAccOperand() before. So it seems I have to add logic to exclude some assignments for the hc08, since some instructions need xa or a to be free or cannot handle operands in xa or a. Philipp |