On 08/30/2015 06:52 AM, Peter Maydell wrote:
I *think* this code is correct, but the ISA manual perplexes me
entirely. Why on earth would you describe anything as "compute
the boolean AND of something with a value of all ones", when that's
just a no-op? I can't see what I'm missing that means they
didn't just describe 'mz' as "dest = srcA ? srcB : 0".

Clearly someone who decided that was the best way to implement a conditional move in hardware. The language just propagated back to the manual.


r~


Reply via email to