\subsection{\index{serialize}serialize}

\index{stop the CPU while it is not flushed}
stop the CPU while it is not flushed.


\begin{tabular}{l}
  {\bf serialize[m][s][x]}
\end{tabular}

~~~~~~
Don't execute the next instruction before the internal state
of the CPU has not reached the specified condition.

~~~~~~
This instruction ensures that the specified units have completed processing
any previously issued instruction. The current flags consider three conditions
:\\
~~~~~~~~~~~~
- Memory operations (all transactions are finished and there are free LSU 
lines)\\
~~~~~~~~~~~~
- Executions units (there is no operation pending, the scoreboard is clear)\\
~~~~~~~~~~~~
- SRB ready (the scoreboard has no SRB, or smooth context switch pending, so a
loadm or storem instruction can be issued).

~~~~~~
The condition is the logical product'' (AND) of all the individual conditions :
execution continues when all individual conditions are met.

\begin{center}

\begin{tabular}{|l|l|l|}
 \hline 
\multicolumn{1}{|r| }{size :
} & \multicolumn{1}{c| }{8
} & \multicolumn{1}{c| }{24
 } \\
 \hline 
\multicolumn{1}{|r| }{bits :
} & {31 ~ ~ ~ ~ ~ ~ ~ ~ 24
} & {23 ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ 0
 } \\
 \hline 
\multicolumn{1}{|r| }{function :
} & \multicolumn{1}{c| }{OP\_SERIALIZE
} & \multicolumn{1}{c| }{condition
}
\\ \hline 

\end{tabular}


\begin{tabular}{|l|l|l|l|}
 \hline 
\multicolumn{1}{|c| }{~ ~ Flags ~ ~
} & \multicolumn{1}{c| }{Syntax
} & {Values
} & {Function
 } \\
 \hline 
\multicolumn{1}{|c| }{23
} & {-m postfix
} & {1 if used
} & {Memory operations pending
 } \\
 \hline 
\multicolumn{1}{|c| }{22
} & {-x postfix
} & {1 if used
} & {Execution Units busy
 } \\
 \hline 
\multicolumn{1}{|c| }{21
} & {-s
} & {1 if used
} & {SRB pending
 } \\
 \hline 
\multicolumn{1}{|c| }{18-0
} & {
} & {0
} & {(reserved)
}
\\ \hline 

\end{tabular}

\begin{center}
{\bf Performance (FC0 only) :}
\end{center}


{\em Execution Unit :} none\\
{\em Latency :} depend on the pipeline state\\
{\em Throughput :} none\\

~

\end{center}