Skip to content

Commit

Permalink
deps: update simdutf to 3.2.1
Browse files Browse the repository at this point in the history
PR-URL: #46800
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
nodejs-github-bot authored and danielleadams committed Apr 11, 2023
1 parent 3bf54ff commit 61c9433
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion deps/simdutf/simdutf.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* auto-generated on 2023-02-10 14:42:58 -0500. Do not edit! */
/* auto-generated on 2023-02-23 11:36:05 -0500. Do not edit! */
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/src, filename=simdutf.cpp
/* begin file src/simdutf.cpp */
#include "simdutf.h"
Expand Down
20 changes: 5 additions & 15 deletions deps/simdutf/simdutf.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* auto-generated on 2023-02-10 14:42:58 -0500. Do not edit! */
/* auto-generated on 2023-02-23 11:36:05 -0500. Do not edit! */
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf.h
/* begin file include/simdutf.h */
#ifndef SIMDUTF_H
Expand Down Expand Up @@ -572,7 +572,7 @@ SIMDUTF_DISABLE_UNDESIRED_WARNINGS
#define SIMDUTF_SIMDUTF_VERSION_H
/** The version of simdutf being used (major.minor.revision) */
#define SIMDUTF_VERSION "3.2.0"
#define SIMDUTF_VERSION "3.2.1"
namespace simdutf {
enum {
Expand All @@ -587,7 +587,7 @@ enum {
/**
* The revision (major.minor.REVISION) of simdutf being used.
*/
SIMDUTF_VERSION_REVISION = 0
SIMDUTF_VERSION_REVISION = 1
};
} // namespace simdutf
Expand Down Expand Up @@ -690,22 +690,12 @@ static inline uint32_t detect_supported_architectures() {
return instruction_set::ALTIVEC;
}
#elif defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
#if defined(__ARM_NEON)
#elif defined(__aarch64__) || defined(_M_ARM64)
static inline uint32_t detect_supported_architectures() {
return instruction_set::NEON;
}
#else // ARM without NEON
static inline uint32_t detect_supported_architectures() {
return instruction_set::DEFAULT;
}
#endif
#elif defined(__x86_64__) || defined(_M_AMD64) // x64
Expand Down Expand Up @@ -822,7 +812,7 @@ static inline uint32_t detect_supported_architectures() {
}
#else // fallback
// includes 32-bit ARM.
static inline uint32_t detect_supported_architectures() {
return instruction_set::DEFAULT;
}
Expand Down

0 comments on commit 61c9433

Please sign in to comment.