Skip to content

Commit da71ab6

Browse files
authored
deps: V8: cherry-pick highway@989a498fdf3
Original commit message: GCC 15 removed avx10.2-512 target PiperOrigin-RevId: 823560321 Refs: google/highway@989a498 PR-URL: #60682 Fixes: #60566 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
1 parent 9bc6ebb commit da71ab6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.9',
41+
'v8_embedder_string': '-node.10',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/third_party/highway/src/hwy/ops/set_macros-inl.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,13 @@
187187
#define HWY_TARGET_STR_AVX3_SPR HWY_TARGET_STR_AVX3_ZEN4
188188
#endif
189189

190-
#if HWY_COMPILER_GCC_ACTUAL >= 1500 || HWY_COMPILER_CLANG >= 2200
191-
#if HWY_HAVE_EVEX512
190+
// Support for avx10.2-512 was removed between clang 22 and 23 without a
191+
// feature test macro.
192+
#if HWY_COMPILER_CLANG >= 2200 && HWY_HAVE_EVEX512
192193
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR ",avx10.2-512"
193-
#else
194+
// Recent compilers drop the -512 suffix because 512 bits are always available.
195+
#elif HWY_COMPILER_GCC_ACTUAL >= 1500 || HWY_COMPILER_CLANG >= 2200
194196
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR ",avx10.2"
195-
#endif // HWY_HAVE_EVEX512
196197
#else
197198
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR
198199
#endif

0 commit comments

Comments
 (0)