Mill Computing, Inc. › Forums › The Mill › Architecture › Could shift instructions be replaced by bit field instructions? › Reply To: Could shift instructions be replaced by bit field instructions?
This is somewhat more complicated on the Mill, which has a richer notion of shift than the common bit twiddle. In particular, left shifts modl multiplies in that overflow behavior is specified, while right shift models divide in that rounding behavior is specified. Field isolate is a special case of these behaviors, and would be a shift in the FU, but is a separate instruction in the conAsm for notational and reader convenience.