Skip to content

Commit 44076d5

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update simdutf to 3.2.3
PR-URL: #47331 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 9f465cd commit 44076d5

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

deps/simdutf/simdutf.cpp

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-02-24 17:01:43 -0500. Do not edit! */
1+
/* auto-generated on 2023-03-30 20:31:03 -0400. Do not edit! */
22
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/src, filename=simdutf.cpp
33
/* begin file src/simdutf.cpp */
44
#include "simdutf.h"
@@ -17218,7 +17218,7 @@ std::pair<const char32_t*, char*> avx512_convert_utf32_to_utf8(const char32_t* b
1721817218
__m256i running_max = _mm256_setzero_si256();
1721917219
__m256i forbidden_bytemask = _mm256_setzero_si256();
1722017220

17221-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
17221+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
1722217222

1722317223
while (buf + 16 + safety_margin <= end) {
1722417224
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -17459,7 +17459,7 @@ std::pair<result, char*> avx512_convert_utf32_to_utf8_with_errors(const char32_t
1745917459
const __m256i v_7fffffff = _mm256_set1_epi32((uint32_t)0x7fffffff);
1746017460
const __m256i v_10ffff = _mm256_set1_epi32((uint32_t)0x10ffff);
1746117461

17462-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
17462+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
1746317463

1746417464
while (buf + 16 + safety_margin <= end) {
1746517465
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -17697,7 +17697,7 @@ template <endianness big_endian>
1769717697
std::pair<const char32_t*, char16_t*> avx512_convert_utf32_to_utf16(const char32_t* buf, size_t len, char16_t* utf16_output) {
1769817698
const char32_t* end = buf + len;
1769917699

17700-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
17700+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
1770117701
__m256i forbidden_bytemask = _mm256_setzero_si256();
1770217702

1770317703

@@ -17764,7 +17764,7 @@ std::pair<result, char16_t*> avx512_convert_utf32_to_utf16_with_errors(const cha
1776417764
const char32_t* start = buf;
1776517765
const char32_t* end = buf + len;
1776617766

17767-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
17767+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
1776817768

1776917769
while (buf + 8 + safety_margin <= end) {
1777017770
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -20064,7 +20064,7 @@ std::pair<const char16_t*, char*> avx2_convert_utf16_to_utf8(const char16_t* buf
2006420064
const __m256i v_f800 = _mm256_set1_epi16((int16_t)0xf800);
2006520065
const __m256i v_d800 = _mm256_set1_epi16((int16_t)0xd800);
2006620066
const __m256i v_c080 = _mm256_set1_epi16((int16_t)0xc080);
20067-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
20067+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2006820068

2006920069
while (buf + 16 + safety_margin <= end) {
2007020070
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -20307,7 +20307,7 @@ std::pair<result, char*> avx2_convert_utf16_to_utf8_with_errors(const char16_t*
2030720307
const __m256i v_f800 = _mm256_set1_epi16((int16_t)0xf800);
2030820308
const __m256i v_d800 = _mm256_set1_epi16((int16_t)0xd800);
2030920309
const __m256i v_c080 = _mm256_set1_epi16((int16_t)0xc080);
20310-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
20310+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2031120311

2031220312
while (buf + 16 + safety_margin <= end) {
2031320313
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -20732,7 +20732,7 @@ std::pair<const char32_t*, char*> avx2_convert_utf32_to_utf8(const char32_t* buf
2073220732
__m256i running_max = _mm256_setzero_si256();
2073320733
__m256i forbidden_bytemask = _mm256_setzero_si256();
2073420734

20735-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
20735+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2073620736

2073720737
while (buf + 16 + safety_margin <= end) {
2073820738
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -20973,7 +20973,7 @@ std::pair<result, char*> avx2_convert_utf32_to_utf8_with_errors(const char32_t*
2097320973
const __m256i v_7fffffff = _mm256_set1_epi32((uint32_t)0x7fffffff);
2097420974
const __m256i v_10ffff = _mm256_set1_epi32((uint32_t)0x10ffff);
2097520975

20976-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
20976+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2097720977

2097820978
while (buf + 16 + safety_margin <= end) {
2097920979
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -21208,7 +21208,7 @@ template <endianness big_endian>
2120821208
std::pair<const char32_t*, char16_t*> avx2_convert_utf32_to_utf16(const char32_t* buf, size_t len, char16_t* utf16_output) {
2120921209
const char32_t* end = buf + len;
2121021210

21211-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
21211+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2121221212
__m256i forbidden_bytemask = _mm256_setzero_si256();
2121321213

2121421214

@@ -21275,7 +21275,7 @@ std::pair<result, char16_t*> avx2_convert_utf32_to_utf16_with_errors(const char3
2127521275
const char32_t* start = buf;
2127621276
const char32_t* end = buf + len;
2127721277

21278-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
21278+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2127921279

2128021280
while (buf + 8 + safety_margin <= end) {
2128121281
__m256i in = _mm256_loadu_si256((__m256i*)buf);
@@ -25394,7 +25394,7 @@ std::pair<const char16_t*, char*> sse_convert_utf16_to_utf8(const char16_t* buf,
2539425394
const __m128i v_f800 = _mm_set1_epi16((int16_t)0xf800);
2539525395
const __m128i v_d800 = _mm_set1_epi16((int16_t)0xd800);
2539625396
const __m128i v_c080 = _mm_set1_epi16((int16_t)0xc080);
25397-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
25397+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2539825398

2539925399
while (buf + 16 + safety_margin <= end) {
2540025400
__m128i in = _mm_loadu_si128((__m128i*)buf);
@@ -25634,7 +25634,7 @@ std::pair<result, char*> sse_convert_utf16_to_utf8_with_errors(const char16_t* b
2563425634
const __m128i v_f800 = _mm_set1_epi16((int16_t)0xf800);
2563525635
const __m128i v_d800 = _mm_set1_epi16((int16_t)0xd800);
2563625636
const __m128i v_c080 = _mm_set1_epi16((int16_t)0xc080);
25637-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
25637+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2563825638

2563925639
while (buf + 16 + safety_margin <= end) {
2564025640
__m128i in = _mm_loadu_si128((__m128i*)buf);
@@ -26056,7 +26056,7 @@ std::pair<const char32_t*, char*> sse_convert_utf32_to_utf8(const char32_t* buf,
2605626056
const __m128i v_7fffffff = _mm_set1_epi32((uint32_t)0x7fffffff);
2605726057
__m128i running_max = _mm_setzero_si128();
2605826058
__m128i forbidden_bytemask = _mm_setzero_si128();
26059-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
26059+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2606026060

2606126061
while (buf + 16 + safety_margin <= end) {
2606226062
__m128i in = _mm_loadu_si128((__m128i*)buf);
@@ -26297,7 +26297,7 @@ std::pair<result, char*> sse_convert_utf32_to_utf8_with_errors(const char32_t* b
2629726297
const __m128i v_7fffffff = _mm_set1_epi32((uint32_t)0x7fffffff);
2629826298
const __m128i v_10ffff = _mm_set1_epi32((uint32_t)0x10ffff);
2629926299

26300-
const size_t safety_margin = 11; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
26300+
const size_t safety_margin = 12; // to avoid overruns, see issue https://github.com/simdutf/simdutf/issues/92
2630126301

2630226302
while (buf + 16 + safety_margin <= end) {
2630326303
__m128i in = _mm_loadu_si128((__m128i*)buf);

deps/simdutf/simdutf.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-02-24 17:01:43 -0500. Do not edit! */
1+
/* auto-generated on 2023-03-30 20:31:03 -0400. Do not edit! */
22
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf.h
33
/* begin file include/simdutf.h */
44
#ifndef SIMDUTF_H
@@ -572,7 +572,7 @@ SIMDUTF_DISABLE_UNDESIRED_WARNINGS
572572
#define SIMDUTF_SIMDUTF_VERSION_H
573573
574574
/** The version of simdutf being used (major.minor.revision) */
575-
#define SIMDUTF_VERSION "3.2.2"
575+
#define SIMDUTF_VERSION "3.2.3"
576576
577577
namespace simdutf {
578578
enum {
@@ -587,7 +587,7 @@ enum {
587587
/**
588588
* The revision (major.minor.REVISION) of simdutf being used.
589589
*/
590-
SIMDUTF_VERSION_REVISION = 2
590+
SIMDUTF_VERSION_REVISION = 3
591591
};
592592
} // namespace simdutf
593593

0 commit comments

Comments
 (0)