summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2020-07-03 19:42:18 -0700
committerGitHub <[email protected]>2020-07-03 19:42:18 -0700
commit9d3caa1cb2c70a3be186d4704ecab0fe13277516 (patch)
treea9f379ae6ff144e8f3eccd3d510a36c2c0983edd /src/cuda-sim/ptx_parser.cc
parent708a249f854cedb08b0b5e494f45f2371f0525a6 (diff)
parenta8f98c3d111c9238ad79908e690b22c5e43f1522 (diff)
Merge pull request #186 from lucylufei/francois-update
Add activemask, bfind, vmin, vmax implementations
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index 3ae8de3..549c08c 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -624,8 +624,9 @@ void ptx_recognizer::add_scalar_type_spec(int type_spec) {
parse_assert((g_opcode == -1) || (g_opcode == CVT_OP) ||
(g_opcode == SET_OP) || (g_opcode == SLCT_OP) ||
(g_opcode == TEX_OP) || (g_opcode == MMA_OP) ||
- (g_opcode == DP4A_OP),
- "only cvt, set, slct, tex and dp4a can have more than one "
+ (g_opcode == DP4A_OP) || (g_opcode == VMIN_OP) ||
+ (g_opcode == VMAX_OP),
+ "only cvt, set, slct, tex, vmin, vmax and dp4a can have more than one "
"type specifier.");
}
g_scalar_type_spec = type_spec;