Skip to content

Commit

Permalink
[to-squash] SIMD FNT
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Dec 20, 2018
1 parent 23a9c02 commit 5990740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simd_fnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ inline void encode_post_process(
size_t vecs_nb)
{
const unsigned vec_size = countof<T>();
const T max = 1U << (sizeof(T) * 8 - 1);
const T max = 1U << (sizeof(T) * CHAR_BIT - 1);
const VecType _threshold = set_one(threshold);
const VecType mask_hi = set_one(max);

Expand Down

0 comments on commit 5990740

Please sign in to comment.