mellum
Re:RISC-V formal spec public review
on Friday June 21, 2019 @07:39AM (#20241577)
Having 3 input operands is definitely an issue. In the Alpha EV6 architecture, it was decided only 2 inputs are supported, so a CMOV would need to be split into two actual instructions, the first of which setting the 65th bit of one of the operands to the result of the test and the other selecting the correct output. Thus, CMOV had 2 cycles latency and still required extra hardware resources to implement.
Re:Show HN: An API for scraping recipe web pages
on Tuesday July 18, 2017 @07:06AM (#14795621)
For unit conversion to metric, I made a browser plugin: https://github.com/falk-hueffner/metric-cooking
It can also convert from volume to mass, e.g. annotate "3/4 cup plus 2 tablespoons packed light-brown sugar" with "[190 g]". It's a bit hacky (basically a giant regexp) but works nicely for me.