stekern | Yay, I've got stack operations and prologue/epilogue support working, perhaps a bit primitive still though | 12:27 |
---|---|---|
juliusb_ | :) | 12:46 |
stekern | I just noticed it calculates it wrong though | 12:51 |
stekern | I don't really get it, I start the prologue by subtracting the frame offset to r1 (for example l.addi r1,r1,-8) | 12:52 |
stekern | but then when it start putting stuff in the stack it does l.sw -4(r1), somereg | 12:53 |
stekern | I tried to work around that, but I realised that my workaround is all wrong | 12:54 |
stekern | microblaze seem to declare it's stack as growsup instead of growsdown to get around it | 12:55 |
stekern | most likely, I've just misunderstood something | 12:56 |
stekern | perhaps I need to reorder the instructions so the stack adjustment arrives after the things have been put on the stack | 13:53 |
stekern | wonder if any architecture does it like that... I better take a look | 13:54 |
stekern | but it seems like a lot of trouble though | 13:55 |
jeremybennett_ | stekern: You could ask Anton K for ideas? | 14:15 |
jeremybennett_ | Or post on the LLVM mailing list | 14:17 |
stekern | sure, but I prefer to dig a bit on my own first | 15:15 |
stekern | especially since I have no deadline or managers breathing down my neck to get things working ;) | 15:15 |
stekern | (and it might spare me from public humilation if it turns out I've done something silly, like not noticing parameters to a method being swapped) :P | 15:19 |
jeremybennett_ | public humiliation is what open source is all about. I've done it enough myself. | 15:51 |
jeremybennett_ | For good measure I've just confused power and energy in front of a workshop of UK Academia's best and brightest low power engineers | 15:52 |
stekern | ;) | 15:55 |
stekern | yeah, I guess I'm more afraid of the possibility of wwasting peoples time with naive questions than of the possibility of public humiliation | 15:58 |
jeremybennett_ | well you could always aim to achieve both! | 16:04 |
stekern | haha, that's the spirit! | 16:08 |
stekern | I think I got my head around the stack-frame-problem now (without public humiliation and wasting peoples time (except my own)) ;P | 23:51 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!