sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
<whitequark>
hey sb0
<whitequark>
I was reading the output of ARTIQ and I thought up a great optimization
<whitequark>
we can eliminate like seven memory accesses from a loop calling ttl.pulse
<sb0>
yeah? how?
<whitequark>
changing the calling convention to pin now to a register
<whitequark>
right now `now` is RMWed all around, which is not optimized because now can be aliased
sandeepkr_ has quit [Ping timeout: 265 seconds]
<sb0>
ah, yes, I had seen that
<sb0>
how much of a mess does it make to implement that?
<sb0>
and what is the performance gain?
<whitequark>
not especially messy. the easiest way is to put it as the first argument, which pushes the sixth normal argument onto the stack
<whitequark>
I can't say what the gain will be until I have tried it
<whitequark>
most of the advantage of hoisting stuff comes from the soft-FP, so this is unlikely to gain more than maybe dozens of nanoseconds of slack
_whitelogger has joined #m-labs
_whitelogger_ has joined #m-labs
_whitelogger_ has joined #m-labs
_whitelogger has joined #m-labs
mumptai has joined #m-labs
_whitelogger has joined #m-labs
_whitelogger has joined #m-labs
rohitksingh has joined #m-labs
sandeepkr has joined #m-labs
rohitksingh has quit [Ping timeout: 276 seconds]
stekern_ has joined #m-labs
stekern has quit [Remote host closed the connection]
_whitelogger_ has joined #m-labs
_whitelogger_ has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
rohitksingh has joined #m-labs
fengling has joined #m-labs
fengling has joined #m-labs
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #m-labs
_whitelogger_ has joined #m-labs
sandeepkr has quit [Ping timeout: 250 seconds]
sandeepkr has quit [Ping timeout: 250 seconds]
kuldeep has quit [Ping timeout: 265 seconds]
kuldeep has quit [Ping timeout: 265 seconds]
fengling has quit [Ping timeout: 240 seconds]
fengling has quit [Ping timeout: 240 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #m-labs
_whitelogger_ has joined #m-labs
fengling has joined #m-labs
fengling has joined #m-labs
_whitelogger has quit [Remote host closed the connection]
mumptai has quit [Remote host closed the connection]