Skip to content

Commit 3c03ec0

Browse files
nodejs-github-botruyadorno
authored andcommittedAug 31, 2023
deps: update simdutf to 3.2.14
PR-URL: #48344 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent f59c963 commit 3c03ec0

File tree

2 files changed

+186
-184
lines changed

2 files changed

+186
-184
lines changed
 

‎deps/simdutf/simdutf.cpp

+160-160
Large diffs are not rendered by default.

‎deps/simdutf/simdutf.h

+26-24
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/* auto-generated on 2023-05-22 21:46:48 -0400. Do not edit! */
2-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf.h
1+
/* auto-generated on 2023-06-05 08:58:28 -0400. Do not edit! */
2+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf.h
33
/* begin file include/simdutf.h */
44
#ifndef SIMDUTF_H
55
#define SIMDUTF_H
66
#include <cstring>
77

8-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/compiler_check.h
8+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/compiler_check.h
99
/* begin file include/simdutf/compiler_check.h */
1010
#ifndef SIMDUTF_COMPILER_CHECK_H
1111
#define SIMDUTF_COMPILER_CHECK_H
@@ -43,13 +43,13 @@
4343

4444
#endif // SIMDUTF_COMPILER_CHECK_H
4545
/* end file include/simdutf/compiler_check.h */
46-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/common_defs.h
46+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/common_defs.h
4747
/* begin file include/simdutf/common_defs.h */
4848
#ifndef SIMDUTF_COMMON_DEFS_H
4949
#define SIMDUTF_COMMON_DEFS_H
5050

5151
#include <cassert>
52-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/portability.h
52+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/portability.h
5353
/* begin file include/simdutf/portability.h */
5454
#ifndef SIMDUTF_PORTABILITY_H
5555
#define SIMDUTF_PORTABILITY_H
@@ -280,7 +280,7 @@ use a 64-bit target such as x64, 64-bit ARM or 64-bit PPC.")
280280
281281
#endif // SIMDUTF_PORTABILITY_H
282282
/* end file include/simdutf/portability.h */
283-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/avx512.h
283+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/avx512.h
284284
/* begin file include/simdutf/avx512.h */
285285
#ifndef SIMDUTF_AVX512_H_
286286
#define SIMDUTF_AVX512_H_
@@ -460,19 +460,21 @@ use a 64-bit target such as x64, 64-bit ARM or 64-bit PPC.")
460460
461461
#endif // MSC_VER
462462
463-
#if defined(SIMDUTF_VISUAL_STUDIO)
464-
/**
465-
* It does not matter here whether you are using
466-
* the regular visual studio or clang under visual
467-
* studio.
468-
*/
469-
#if SIMDUTF_USING_LIBRARY
470-
#define SIMDUTF_DLLIMPORTEXPORT __declspec(dllimport)
463+
#ifndef SIMDUTF_DLLIMPORTEXPORT
464+
#if defined(SIMDUTF_VISUAL_STUDIO)
465+
/**
466+
* It does not matter here whether you are using
467+
* the regular visual studio or clang under visual
468+
* studio.
469+
*/
470+
#if SIMDUTF_USING_LIBRARY
471+
#define SIMDUTF_DLLIMPORTEXPORT __declspec(dllimport)
472+
#else
473+
#define SIMDUTF_DLLIMPORTEXPORT __declspec(dllexport)
474+
#endif
471475
#else
472-
#define SIMDUTF_DLLIMPORTEXPORT __declspec(dllexport)
476+
#define SIMDUTF_DLLIMPORTEXPORT
473477
#endif
474-
#else
475-
#define SIMDUTF_DLLIMPORTEXPORT
476478
#endif
477479
478480
/// If EXPR is an error, returns it.
@@ -481,7 +483,7 @@ use a 64-bit target such as x64, 64-bit ARM or 64-bit PPC.")
481483
482484
#endif // SIMDUTF_COMMON_DEFS_H
483485
/* end file include/simdutf/common_defs.h */
484-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/encoding_types.h
486+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/encoding_types.h
485487
/* begin file include/simdutf/encoding_types.h */
486488
#include <string>
487489
@@ -529,7 +531,7 @@ size_t bom_byte_size(encoding_type bom);
529531
} // BOM namespace
530532
} // simdutf namespace
531533
/* end file include/simdutf/encoding_types.h */
532-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/error.h
534+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/error.h
533535
/* begin file include/simdutf/error.h */
534536
#ifndef ERROR_H
535537
#define ERROR_H
@@ -566,15 +568,15 @@ SIMDUTF_PUSH_DISABLE_WARNINGS
566568
SIMDUTF_DISABLE_UNDESIRED_WARNINGS
567569
568570
// Public API
569-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/simdutf_version.h
571+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/simdutf_version.h
570572
/* begin file include/simdutf/simdutf_version.h */
571573
// /include/simdutf/simdutf_version.h automatically generated by release.py,
572574
// do not change by hand
573575
#ifndef SIMDUTF_SIMDUTF_VERSION_H
574576
#define SIMDUTF_SIMDUTF_VERSION_H
575577
576578
/** The version of simdutf being used (major.minor.revision) */
577-
#define SIMDUTF_VERSION "3.2.12"
579+
#define SIMDUTF_VERSION "3.2.14"
578580
579581
namespace simdutf {
580582
enum {
@@ -589,13 +591,13 @@ enum {
589591
/**
590592
* The revision (major.minor.REVISION) of simdutf being used.
591593
*/
592-
SIMDUTF_VERSION_REVISION = 12
594+
SIMDUTF_VERSION_REVISION = 14
593595
};
594596
} // namespace simdutf
595597
596598
#endif // SIMDUTF_SIMDUTF_VERSION_H
597599
/* end file include/simdutf/simdutf_version.h */
598-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/implementation.h
600+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/implementation.h
599601
/* begin file include/simdutf/implementation.h */
600602
#ifndef SIMDUTF_IMPLEMENTATION_H
601603
#define SIMDUTF_IMPLEMENTATION_H
@@ -605,7 +607,7 @@ enum {
605607
#endif
606608
#include <vector>
607609
#include <tuple>
608-
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf/internal/isadetection.h
610+
// dofile: invoked with prepath=/Users/lemire/CVS/github/simdutf/include, filename=simdutf/internal/isadetection.h
609611
/* begin file include/simdutf/internal/isadetection.h */
610612
/* From
611613
https://github.com/endorno/pytorch/blob/master/torch/lib/TH/generic/simd/simd.h

0 commit comments

Comments
 (0)
Please sign in to comment.