Skip to content

Commit f2a6c79

Browse files
committed
NEON optimization
1 parent 4a7c2e4 commit f2a6c79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zmij.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ auto write_significand17(char* buffer, uint64_t value) noexcept -> char* {
502502
struct to_string_constants {
503503
uint64_t mul_const = 0xabcc77118461cefd;
504504
uint64_t hundred_million = 100000000;
505-
int32_t multipliers32[4] = {div10k_sig, neg10k, div100_sig << 12, neg100};
506-
int16_t multipliers16[8] = {0xce0, neg10};
505+
int32x4_t multipliers32 = {div10k_sig, neg10k, div100_sig << 12, neg100};
506+
int16x8_t multipliers16 = {0xce0, neg10};
507507
};
508508

509509
static const to_string_constants constants;

0 commit comments

Comments
 (0)