3 == Ports ===========================================================
8 == Constants ========================================================
10 == TeX ==============================================================
12 - deal with sign-extension
13 - rotate (in addition to shift)?
14 - rotate, shift, and sign-extend subfields of a word?
15 - scan for lowest/highest bit which is set/clear?
16 - bitfields crossing two words
18 == Fleeterpreter ====================================================
19 public void service() {
20 if (box_in.dataReadyForShip() && box_inShift.dataReadyForShip()) {
21 long val = box_in.removeDataForShip();
22 long inShift = box_inShift.removeDataForShip();
23 if (inShift < 0) val = val >> (-1 * inShift);
24 else val = val << inShift;
25 box_out.addDataFromShip(val);
29 == FleetSim ==============================================================
30 == FPGA ==============================================================
31 // not implemented FIXME!
33 == Contributors =========================================================
34 Adam Megacz <megacz@cs.berkeley.edu>