More doc comments

This commit is contained in:
Hansung Kim
2023-09-10 14:45:23 -07:00
parent 9efdd2ebb7
commit c90fe56588
5 changed files with 15 additions and 1 deletions

View File

@@ -1326,6 +1326,9 @@ void Warp::execute(const Instr &instr, pipeline_trace_t *trace) {
} else {
tmask_.reset();
for (uint32_t t = 0; t < num_threads; ++t) {
// NOTE(hansung): `ts` is the left-most lane currently enabled.
// Doing this only respects the operand of that lane, even though
// every lane might have different operand for the tmask.
tmask_.set(t, rsdata.at(ts)[0].i & (1 << t));
}
}