--- Log opened Fri Oct 31 00:00:01 2014 | ||
wallento | hey all, I use the new or1k-headers script of pete (https://github.com/pgavin/or1k-headers) | 09:18 |
---|---|---|
wallento | it generates the SPR addresses like this: 0x4800U | 09:19 |
wallento | unfortunately the GNU assembler does not like it | 09:19 |
wallento | whats the best way to cope with it? Let the script remove the unsigned modifier or is there any asm magic? | 09:19 |
wallento | or is it pure c? | 09:23 |
stekern | wallento: good question... I guess the options are 1) remove the U 2) generate separate defines for asm | 10:16 |
wallento | yeah, I went with the first option (see my fork where it is optional now), that should be fine for newlib | 10:17 |
wallento | thanks | 10:17 |
stekern | ah, nice. yes, I think that's the best way to handle it | 10:23 |
stekern | and you can anyway get 2) from it too | 10:23 |
wallento | okay, guys, I am nearly approaching the finish of newlib | 13:58 |
wallento | last question is what to do with the multicore stuff | 13:58 |
wallento | until now there was -mmulticore and GCC selected libc_mc.a and crt0_mc.o instead of the regular ones | 13:59 |
wallento | kinda multilib, but not really | 13:59 |
wallento | what are the differences: i) Needs 1 shadow register file, ii) uses lwa and swa, iii) something I probably forgot | 14:00 |
wallento | sorry, libor1k_mc.a | 14:00 |
wallento | ii) is kinda -marchv1.1 :) | 14:01 |
wallento | what are your opinions? should it be multilib? should it be two different outputs (its mainly a few #ifdef OR1K_MULTICORE)? | 14:02 |
olofk | If there aren't any conflicts, I guess that both versions could be built | 14:08 |
olofk | But my knowledge of the topic is not very good | 14:09 |
olofk | But I think I have optimized wb_sdram_ctrl ~3% in my efforts to make it support RAMs with different widths | 14:10 |
stekern | speedwise? | 14:30 |
olofk | stekern: Yep. I'll clean it up and push to a new repo if you want to take a look | 19:10 |
stekern | cool, sure | 19:19 |
--- Log closed Sat Nov 01 00:00:03 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!