// FEATURE: clever instruction re-oredering?
}
+ private boolean autoflush = false;
+ public void setAutoflush(boolean a) { this.autoflush = a; }
+
/**
* The code emitted by this method makes the following assumptions:
*
numInstructionsNotIncludingNonblockingPrefix++;
loopSize++;
}
+ }
+ if (autoflush && !"Debug".equals(dock.getShip().getType()) && next==null) {
+ if (dock.isInputDock() && !"inAddrRead".equals(dock.getName()))
+ ic.add(new Instruction.Flush(dock, true, Predicate.OLCZero));
+ }
+ if (count!=1) {
ic.add(new Instruction.Tail(dock));
if (!instructionFifoSizeCheckDisabled &&
loopSize > dock.getInstructionFifoSize())