--- Log opened Tue Apr 03 00:00:24 2018 | ||
smaeul | hi, I see a gcc7 or1k-gcc was released, and it produces much nicer code! | 01:03 |
---|---|---|
smaeul | only problem is that I'm working with hardware that I'm pretty sure doesn't have addc or the carry flag implemented (it's an asic based on an old or1200 revision), so the convert-to-boolean `l.addi r11,r11,-1; l.addic r11,r0,0` doesn't work | 01:06 |
smaeul | any pointers on what I need to edit to avoid that code generation pattern? | 01:06 |
shorne | ZipCPU: I got the -O2 fixed, but -g dwarf stuff is needing some work | 05:55 |
shorne | smaeul: thanks for the feedback, I am actually working on a clean room reqrite of gcc right now so I cant really look at that code | 05:56 |
shorne | I did the gcc7 release without looking at it really other than merging rth's patches | 05:56 |
shorne | I just had a quick look and it doesn't seem like addc is something that really can be disabled right now it would need a patch | 05:56 |
shorne | Could you maybe send a mail to the list explaining the issue with the code with how to reproduce? We can ask rth if he can help with a patch. | 05:57 |
shorne | Or if you are willing to help I can give some pointers | 05:57 |
shorne | got the -g stuff working, now trying to compile libgcc | 10:55 |
ZipCPU | o/ | 11:34 |
ZipCPU | Did you need to make any changes to libgcc? | 11:34 |
ZipCPU | Oh, beware the compiler warning, "Here's a quarter, kid. Get yourself a real CPU!" It's in there! | 11:35 |
-!- Netsplit *.net <-> *.split quits: rah, kuhn | 14:47 | |
-!- [X-Scale] is now known as X-Scale | 18:28 | |
shorne | ZipCPU: didnt see that yet, I didnt make any chanes other thank libgcc/config.host so far | 19:03 |
shorne | I might have to add some crti.S file? | 19:03 |
--- Log closed Wed Apr 04 00:00:26 2018 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!