diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2021-06-13 15:57:28 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2021-06-21 11:34:01 +0200 |
commit | 3fdfedd7e53e0deb1d71b8b00e1944918af54b2f (patch) | |
tree | 312136b5486642d69eae764a45202eff9ba44339 /chunkset.c | |
parent | 77966c02cda6f509594791879573582908a3a718 (diff) |
Reduce number of branches in partial chunk copy based on chunk size.
Diffstat (limited to 'chunkset.c')
-rw-r--r-- | chunkset.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,8 @@ typedef struct chunk_t { uint32_t u32[2]; } chunk_t; typedef struct chunk_t { uint8_t u8[8]; } chunk_t; #endif +#define CHUNK_SIZE 8 + #define HAVE_CHUNKMEMSET_1 #define HAVE_CHUNKMEMSET_4 #define HAVE_CHUNKMEMSET_8 |