Skip to content

Commit

Permalink
ss_wait x0,rs1,imm
Browse files Browse the repository at this point in the history
  • Loading branch information
Jian Weng committed Nov 11, 2021
1 parent 652d2d6 commit c9225de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intrin_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ inline void SS_CONST(int port, REG value, REG n, int cbyte = 8) {

/*! \brief Insert a barrier for the accelerator. Refer rf.h to see the masks. */
inline void SS_WAIT(REG mask) {
REG res;
INTRINSIC_DRI("ss_wait", res, mask, (uint64_t) 0);
REG x0((uint64_t) 0);
INTRINSIC_DRI("ss_wait", x0, mask, (uint64_t) 0);
}


Expand Down

0 comments on commit c9225de

Please sign in to comment.