--- Log opened Sun Jun 15 00:00:34 2014 | ||
stekern | olofk: your mt48lc16m16a2 wrapper breaks wb_sdram_ctrl simulations | 04:39 |
---|---|---|
stekern | if someone with a de0 nano wants to try out some dual-core action: | 05:05 |
stekern | http://oompa.chokladfabriken.org/openrisc/de0_nano-multicore-20140615.sof | 05:05 |
stekern | http://oompa.chokladfabriken.org/openrisc/vmlinux-smp-3.15-20140615 | 05:05 |
olofk | stekern: Oops. Forgot to add the extra dependencies to wb_sdram_ctrl. Will remove the `include as well | 10:51 |
olofk | ah no... it's in mt48 I should add them | 11:12 |
olofk | Fixed | 16:24 |
olofk | Screw this sql nonsense. It seems to be/my SQL skills are extremly ill suited for my tasks | 17:21 |
olofk | Unleash the mother of ugly python hacks! | 17:22 |
olofk | Hmm.. did I just implement a crappy version of gprof? | 18:18 |
olofk | What's those arch_local_(save/restore)_(irq/flags)? Are they called before/after every interrupt? | 18:30 |
stekern | olofk: they are used to turn off/on interrupts | 19:10 |
stekern | and the kernel do that in 'critical sections' | 19:11 |
stekern | i.e.: usigned flags = arch_local_save_flags(); arch_local_irq_restore(0); do_critical(); arch_local_irq_restore(flags); | 19:13 |
stekern | s/usigned/unsigned long | 19:14 |
stekern | olofk: I think you pushed your fix to the wrong branch | 19:25 |
olofk | fuck :( | 19:27 |
olofk | Good thing I got insane git skills now | 19:28 |
olofk | done! | 19:31 |
olofk | Thanks for noticing | 19:33 |
olofk | I'm looking at the asm for arch_local_irq_restore (http://bed5fa8d37f59cb3.paste.se/). Do we really need to save r2 here, or could we have used another register like r13 that we didn't need to save? | 19:46 |
olofk | r13 = arbitrary temporary register | 19:47 |
-!- FreezingAlt is now known as FreezingCold | 19:52 | |
stekern | yeah, wonder why gcc picks that | 20:06 |
olofk | According to my statistics, that function is number six on the list over where the CPU spends cycles, so removing two out of twelve instructions should make some difference at least | 20:31 |
olofk | Does anyone else have problems with the dropbox web interface? It never seems to finish loading | 20:36 |
--- Log closed Mon Jun 16 00:00:36 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!