Skip to content

Commit

Permalink
lib/matchfinder_common: fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed Feb 24, 2024
1 parent 86f6ab6 commit dafc469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matchfinder_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ typedef s16 mf_pos_t;
* MATCHFINDER_MEM_ALIGNMENT). The architecture-specific implementations of
* matchfinder_init() and matchfinder_rebase() take advantage of this value.
*
* Currently the maximum size alignment required is 256 bytes, needed by
* Currently the maximum size alignment required is 128 bytes, needed by
* the AVX-2 matchfinder functions. However, the RISC-V Vector Extension
* matchfinder functions can, in principle, take advantage of a larger size
* alignment. Therefore, we set this to 1024, which still easily divides the
* actual sizes that result from the current matchfinder struct definitions.
* This value can safely be changed to any power of two that is >= 256.
* This value can safely be changed to any power of two that is >= 128.
*/
#define MATCHFINDER_SIZE_ALIGNMENT 1024

Expand Down

0 comments on commit dafc469

Please sign in to comment.