mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
deps: V8: cherry-pick highway@989a498fdf3
Original commit message:
GCC 15 removed avx10.2-512 target
PiperOrigin-RevId: 823560321
Refs: 989a498fdf
PR-URL: https://github.com/nodejs/node/pull/60682
Fixes: https://github.com/nodejs/node/issues/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>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
# Increment by one for each non-official patch applied to deps/v8.
|
||||
'v8_embedder_string': '-node.9',
|
||||
'v8_embedder_string': '-node.10',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
@@ -187,12 +187,13 @@
|
||||
#define HWY_TARGET_STR_AVX3_SPR HWY_TARGET_STR_AVX3_ZEN4
|
||||
#endif
|
||||
|
||||
#if HWY_COMPILER_GCC_ACTUAL >= 1500 || HWY_COMPILER_CLANG >= 2200
|
||||
#if HWY_HAVE_EVEX512
|
||||
// Support for avx10.2-512 was removed between clang 22 and 23 without a
|
||||
// feature test macro.
|
||||
#if HWY_COMPILER_CLANG >= 2200 && HWY_HAVE_EVEX512
|
||||
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR ",avx10.2-512"
|
||||
#else
|
||||
// Recent compilers drop the -512 suffix because 512 bits are always available.
|
||||
#elif HWY_COMPILER_GCC_ACTUAL >= 1500 || HWY_COMPILER_CLANG >= 2200
|
||||
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR ",avx10.2"
|
||||
#endif // HWY_HAVE_EVEX512
|
||||
#else
|
||||
#define HWY_TARGET_STR_AVX10_2 HWY_TARGET_STR_AVX3_SPR
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user