sb0 changed the topic of #m-labs to: https://m-labs.hk :: Logs http://irclog.whitequark.org/m-labs :: Due to spam bots, only registered users can talk. See: https://freenode.net/kb/answer/registration
<bb-m-labs> build #1788 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1788
<bb-m-labs> build #2570 of artiq is complete: Exception [exception python_unittest_2 board_unlock_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2570
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1129: sines.py is working correctly for me, both as a startup kernel and over Ethernet. Let's keep this issue on DAC sync. https://github.com/m-labs/artiq/issues/1129#issuecomment-412310611
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
ramsey12 has joined #m-labs
ramsey12 has quit [Ping timeout: 240 seconds]
yoink8 has joined #m-labs
rohitksingh has joined #m-labs
yoink8 has quit [Ping timeout: 272 seconds]
_whitelogger has joined #m-labs
<sb0> hm didn't I fix this test issue...
<sb0> ah, it's not in your branch
rohitksingh has quit [Quit: Leaving.]
sb0_ has joined #m-labs
sb0 has quit [Ping timeout: 272 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
sb0_ has quit [Quit: Leaving]
<GitHub-m-labs> [artiq] hartytp commented on issue #675: Fine, thanks for the info.... https://github.com/m-labs/artiq/issues/675#issuecomment-412324203
woddf25 has joined #m-labs
woddf25 has quit [Ping timeout: 244 seconds]
rohitksingh has quit [Quit: Leaving.]
sb0 has joined #m-labs
_whitelogger has joined #m-labs
sb0 has quit [Quit: Leaving]
sb0 has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
possiblyanowl has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
possiblyanowl has quit [Ping timeout: 256 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
<GitHub-m-labs> [artiq] sbourdeauducq reopened pull request #319: Problem: ARTIQ setup via conda or src is complex (master...nix) https://github.com/m-labs/artiq/pull/319
<GitHub-m-labs> [artiq] sbourdeauducq created nix from master (+0 new commits): https://github.com/m-labs/artiq/commits/nix
<GitHub-m-labs> [artiq] sbourdeauducq closed pull request #319: Problem: ARTIQ setup via conda or src is complex (nix...nix) https://github.com/m-labs/artiq/pull/319
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
jrabe2 has joined #m-labs
jrabe2 has quit [Remote host closed the connection]
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to nix: https://github.com/m-labs/artiq/commit/d2e47844dddf90b8661492898605507adee2fde7
<GitHub-m-labs> artiq/nix d2e4784 Sebastien Bourdeauducq: nix: fixes
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #319: I've been giving Nixos a try, and I don't think it's fair to call nix a "naive hack". There is definitely a lot of thought that went into it. You can run a complete, usable Linux distro out of nix, and things actually work properly. The main issue I have with it is the lack of documentation, or documentation that has gone out of date.... https://github.com/m-la
rohitksingh has quit [Quit: Leaving.]
<whitequark> bb-m-labs: force build --branch=rust-1.28 artiq
<bb-m-labs> build forced [ETA 42m35s]
<bb-m-labs> I'll give a shout when the build finishes
<GitHub-m-labs> artiq/rust-1.28 1329af7 whitequark: firmware: migrate to Rust 1.28.0....
<GitHub-m-labs> [artiq] whitequark force-pushed rust-1.28 from f0c0b98 to 1329af7: https://github.com/m-labs/artiq/commits/rust-1.28
kay2 has joined #m-labs
<kay2> hi
rohitksingh has joined #m-labs
<bb-m-labs> build #2571 of artiq is complete: Failure [failed lit_test] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2571
<sb0> kay2, hi
<kay2> sb0: if I have a submodule foo that has a Signal bar, how can I get self.foo.bar generate a name "reg foo_bar" instead of "reg bar" ?
<kay2> basically right now when I generate verilog, all the signals from my submodules are flat
<kay2> so when looking in analyzer, it's a bit messy, i was wondering if there was a way to tell migen to generate them with the name of the submodules
<kay2> prefixed
<sb0> kay2, if you change the namer code (shouldn't be a complex change) yes
<kay2> what do you mean to change the namer code ?
<sb0> maybe add a feature that lets you mark certain modules as always being selected for naming
<whitequark> the namer code is very much not easy to change.
<kay2> what do you call thenamer code
rohitksingh has quit [Quit: Leaving.]
<sb0> namer.py in migen
<sb0> adding this "select module" feature shouldn't be very complicated afaict
sb0 has quit [Quit: Leaving]
sb0 has joined #m-labs
<kay2> actually it does prefix automatically, it's just that if I do this: setattr(self.submodules, "mymod3", MySub(5))
<kay2> it doesnt care about the "mymod3"
<kay2> it would still use "mysub" instead
<sb0> the problem here is that the tracer doesn't have a way to extract that string
sb0 has quit [Quit: Leaving]
<kay2> is there a way to force it in the MySub itself ?
<GitHub-m-labs> [artiq] jordens commented on issue #319: Don't make a straman out of that comment. If it is better, if it works on Windows as well, it it leads to less maintenance, if it gives anywhere near the completeness of a Python distribution like conda, if it is well documented, and if it means an end to the complaining, I am clearly wrong.... https://github.com/m-labs/artiq/pull/319#issuecomment-412347617
<GitHub-m-labs> [artiq] jordens commented on issue #319: Don't make a strawman out of that comment. If it is better, if it works on Windows as well, it it leads to less maintenance, if it gives anywhere near the completeness of a Python distribution like conda, if it is well documented, and if it means an end to the complaining, I am clearly wrong.... https://github.com/m-labs/artiq/pull/319#issuecomment-412347617
sb0 has joined #m-labs
<kay2> sb0: and is there a way to tell the tracer to change the name of the module ?
<sb0> kay2: not right now, but you can add it
<kay2> how ?
<whitequark> bb-m-labs: force build --branch=rust-1.28 artiq
<bb-m-labs> build forced [ETA 42m35s]
<bb-m-labs> I'll give a shout when the build finishes
<GitHub-m-labs> [artiq] whitequark force-pushed rust-1.28 from 1329af7 to de89815: https://github.com/m-labs/artiq/commits/rust-1.28
<GitHub-m-labs> artiq/rust-1.28 de89815 whitequark: firmware: migrate to Rust 1.28.0....
barschmade has joined #m-labs
barschmade has quit [Remote host closed the connection]
<rjo> whitequark: i have a question about rust on arm. i have a multiply-accumulate (https://github.com/quartiq/queenmod/blob/master/src/main.rs#L310-L313) that is being executed a few times with different data, and in the assembly there is a lot of copying of array address going on that i would like to get rid of (https://hastebin.com/nimavezila.makefile). any pointers to what i am doing wrong?
<whitequark> rjo: looking
<whitequark> which rust version?
<rjo> nightly
<whitequark> why don't you use std::simd in the feature="simd" branch?
<rjo> that's orthogonal to the problem. but i had it and played with it and it wasn't any shorter or easier to read in this specific case.
<whitequark> yes, I know
<whitequark> you should take a look at the `faster` crate too
<whitequark> anyway, that said
<rjo> i'd use it right away once the dsp simd intrinsics are exposed.
<whitequark> rjo: which exact compile options do you use?
<whitequark> ie rustc invocation from verbose cargo log
<rjo> yeah i had a look at faster too. but this specific case is just too narrow to make a big difference.
<rjo> cargo rustc --release
<kay2> sb0: I tricked it, with: myfunc = type(name, MYSUB.__bases__, dict(MYSUB.__dict__))
<kay2> sb0: and that worked
<whitequark> rjo: ok, nothing obviously wrong, let me clone and build that.
<rjo> i tried to determine which factor of the dot product it builds that indirection for, and i am reasonably certain that it is the ADC_SAMPLES (a.k.a. "x") but i got a headache looking at IR, MIR and ASM trying to convince myself.
<whitequark> rjo: in readme, you need to move `cargo install itm` after `rustup target add thumbv7m-none-eabi`
<whitequark> oh hm, doesn't help, something else is broken
<rjo> ack. it's also optional.
Comstock_ has joined #m-labs
Comstock_ has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
Syfer has joined #m-labs
<rjo> whitequark: ah. thumbv7em-none-eabihf
<whitequark> right, but it still doesn't work efven after that
Syfer has quit [Ping timeout: 256 seconds]
<rjo> i see it in a clean checkout as well...
<bb-m-labs> build #1789 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1789
kay2 has quit [Ping timeout: 252 seconds]
<rjo> whitequark: remove that -Tlink.x line in .cargo/config
<whitequark> rjo: i fixed #35741 and rebuilding rustc with the fix. this'll take a while.
<whitequark> but the assembly should be far more readable afterwards.
sawdey21 has joined #m-labs
<bb-m-labs> build #1790 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1790
Dan_Bennett has joined #m-labs
Dan_Bennett has quit [Remote host closed the connection]
[X-Scale] has joined #m-labs
lutki_ has joined #m-labs
X-Scale has quit [Ping timeout: 240 seconds]
[X-Scale] is now known as X-Scale
<bb-m-labs> build #2572 of artiq is complete: Exception [exception python_unittest_2 board_unlock_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2572
lutki_ has quit [Remote host closed the connection]
sawdey21 has quit [Ping timeout: 268 seconds]
<whitequark> bb-m-labs: retry
<whitequark> bb-m-labs: force build --branch=rust-1.28 artiq
<bb-m-labs> build forced [ETA 42m35s]
<bb-m-labs> I'll give a shout when the build finishes
HepaR28 has joined #m-labs
HepaR28 has quit [Remote host closed the connection]
<rjo> whitequark: thanks. speaking generally, i had the impression that this was a rust or llvm trying to optimize the repeated iterations over the ADC_SAMPLES array. i just have no idea why and how it thinks that would help. the weird table that it generates goes away if i only run one FIR filter.
rohitksingh has joined #m-labs
<whitequark> rjo: i'm not aware of an optimization that would do that
HepaR18 has joined #m-labs
HepaR18 has quit [Remote host closed the connection]
rohitksingh has quit [Quit: Leaving.]
<bb-m-labs> build #1791 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1791
yoink14 has joined #m-labs
yoink14 has quit [Read error: Connection reset by peer]
<bb-m-labs> build #1792 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1792
Cisien0 has joined #m-labs
Cisien0 has quit [Remote host closed the connection]
<bb-m-labs> build #2573 of artiq is complete: Exception [exception python_unittest_2 board_unlock_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2573
<whitequark> wtf? why did test_dma_record_time regress?
<whitequark> sb0: AFAICT having backtraces in runtime makes runtime nontrivially slower
montag4519 has joined #m-labs
montag4519 has quit [K-Lined]
<whitequark> ok, I think I managed to fix the slowness by enabling LTO
<whitequark> which doesn't crash rustc anymore
<GitHub-m-labs> [artiq] whitequark force-pushed rust-1.28 from de89815 to 2319c31: https://github.com/m-labs/artiq/commits/rust-1.28
<GitHub-m-labs> artiq/rust-1.28 a8615cd whitequark: firmware: globally enable LTO....
<GitHub-m-labs> artiq/rust-1.28 b036111 whitequark: firmware: optimize dma_record_output....
<GitHub-m-labs> artiq/rust-1.28 5da45f9 whitequark: firmware: migrate to Rust 1.28.0....
<whitequark> bb-m-labs: force build --branch=rust-1.28 artiq
<bb-m-labs> build forced [ETA 42m35s]
<bb-m-labs> I'll give a shout when the build finishes
hipp has joined #m-labs
timvisher8 has joined #m-labs
hipp has quit [Remote host closed the connection]
<vup> hey, i added indexed-part support to migen (the "vector[offset+:length]" syntax), imo it makes the generated verilog code much easier to read than the alternative of shift and slice, is there any interest in adding that officially to migen? should i open a pull request to upstream this feature?
<whitequark> sure
timvisher8 has quit [Ping timeout: 256 seconds]
<bb-m-labs> build #1793 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1793
<bb-m-labs> build #1794 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1794
<bb-m-labs> build #2574 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2574
<GitHub-m-labs> [artiq] whitequark pushed 4 new commits to master: https://github.com/m-labs/artiq/compare/738d2c6bcbe6...46bd96abd1a1
<GitHub-m-labs> artiq/master bdd18de whitequark: firmware: globally enable LTO....
<GitHub-m-labs> artiq/master 38d6010 whitequark: firmware: optimize dma_record_output....
<GitHub-m-labs> artiq/master 2648b1b whitequark: firmware: migrate to Rust 1.28.0....
<whitequark> sb0: test_device_to_host (test_performance.TransferTest) ... 2496154.175262173 B/s
<whitequark> ok
<whitequark> test_host_to_device (test_performance.TransferTest) ... 2161332.9953815425 B/s
<whitequark> ok
<GitHub-m-labs> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/e285fe0d566777343b615083391eee15829a5194
<GitHub-m-labs> artiq/master e285fe0 whitequark: test: tighten required TransferTest timings....
[X-Scale] has joined #m-labs
X-Scale has quit [Ping timeout: 268 seconds]
[X-Scale] is now known as X-Scale
Gurty has quit [Ping timeout: 256 seconds]
<bb-m-labs> build #1795 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1795
Gurty has joined #m-labs
Gurty has joined #m-labs
Gurty has quit [Changing host]
<bb-m-labs> build #1796 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1796
<bb-m-labs> build #2575 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2575
<GitHub-m-labs> [artiq] whitequark commented on issue #1100: I've updated smoltcp in master, please retest. https://github.com/m-labs/artiq/issues/1100#issuecomment-412373209
<GitHub-m-labs> [artiq] whitequark commented on issue #1099: This has been fixed in master. In fact the transfer speed is slightly higher than it was before, 2.5 MB/s to device, 2.1 MB/s to host. https://github.com/m-labs/artiq/issues/1099#issuecomment-412373263
<bb-m-labs> build #1797 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1797
<bb-m-labs> build #1798 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1798
<bb-m-labs> build #2576 of artiq is complete: Exception [exception python_unittest_2 board_unlock_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2576 blamelist: whitequark <whitequark@whitequark.org>
host has joined #m-labs
host has quit [Remote host closed the connection]
ktechmidas has joined #m-labs
ktechmidas has quit [Remote host closed the connection]
<GitHub-m-labs> [artiq] klickverbot pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/0e32a165c297481aa34b30b4f852bfa63c1e816b
<GitHub-m-labs> artiq/master 0e32a16 David Nadlinger: satman: Fix build with Rust 1.28...
<GitHub-m-labs> [artiq] whitequark commented on commit 0e32a16: Thanks! https://github.com/m-labs/artiq/commit/0e32a165c297481aa34b30b4f852bfa63c1e816b#commitcomment-30048520
jwheare6 has joined #m-labs
<bb-m-labs> build #1799 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1799
jwheare6 has quit [Ping timeout: 265 seconds]