You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the fact riscv64 is not explicitly mentioned in include/marisa/base.h, MARISA_WORD_SIZE ends up being incorrectly set to 32 on this architecture. Fortunately, this is trivial to address - just add
|| (defined(__riscv) && (__riscv_xlen == 64))
to the end of the #if statement in base.h:31-34.
Confirmed to work on a physical rv64 Linux system.
Due to the fact riscv64 is not explicitly mentioned in include/marisa/base.h, MARISA_WORD_SIZE ends up being incorrectly set to 32 on this architecture. Fortunately, this is trivial to address - just add
to the end of the #if statement in base.h:31-34.
Confirmed to work on a physical rv64 Linux system.
References:
cpp -dM
on an rv64 systemThe text was updated successfully, but these errors were encountered: