mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 13:27:29 -04:00
Added "bar" instruction for barriers.
This commit is contained in:
parent
54adca00e3
commit
d9b91fc58f
2 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,7 @@ The bit fields in the instruction encodings depend heavily on this quality.
|
|||
33 "itof" 2REG 34 "ftoi" 2REG 35 "fadd" 3REG
|
||||
36 "fsub" 3REG 37 "fmul" 3REG 38 "fdiv" 3REG
|
||||
39 "fneg" 2REG 3a "wspawn" 3REG 3b "split" NONE
|
||||
3c "join" NONE
|
||||
3c "join" NONE 3d "bar"
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{Word Encoding}
|
||||
|
@ -358,6 +358,7 @@ format, which can be fixed point or floating point.
|
|||
\textbf{Instruction}&\textbf{Description}\\
|
||||
\hline
|
||||
\texttt{wspawn} \%dest, \%pc, \%src&Create new warp, copying \%src in current warp to to \%dest in new warp.\\
|
||||
\texttt{bar} \%id, \%n&Barrier of \%n warps. Identified by \%id.\\
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@ Instruction::InstTableEntry Instruction::instTable[] = {
|
|||
{"wspawn", false, false, true, false, AC_3REG, ITYPE_NULL },
|
||||
{"split", false, false, true, false, AC_NONE, ITYPE_NULL },
|
||||
{"join", false, false, true, false, AC_NONE, ITYPE_NULL },
|
||||
{"bar", false, false, true, false, AC_2REGSRC, ITYPE_NULL },
|
||||
{NULL,false,false,false,false,AC_NONE,ITYPE_NULL}/////// End of table.
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue