mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 22:29:55 +00:00
8341880: RISC-V: riscv_vector.h native build fails with gcc13 after JDK-8320500
Co-authored-by: Fei Yang <fyang@openjdk.org> Reviewed-by: mli, fyang
This commit is contained in:
parent
ace44e564f
commit
ae41daf9a7
@ -31,6 +31,8 @@
|
||||
// At run-time, if the library is found and the bridge functions are available in the
|
||||
// library, then the java vector API will call into the bridge functions and sleef.
|
||||
|
||||
#if __GNUC__ >= 14 || (defined(__clang_major__) && __clang_major__ >= 17)
|
||||
|
||||
#ifdef __riscv_v_intrinsic
|
||||
|
||||
#include <stdint.h>
|
||||
@ -117,4 +119,6 @@ DEFINE_VECTOR_MATH_BINARY_RVV(hypotdx_u05, vdouble_rvvm1_sleef)
|
||||
|
||||
#undef DEFINE_VECTOR_MATH_BINARY_RVV
|
||||
|
||||
#endif /* __riscv_v_intrinsic */
|
||||
#endif /* __riscv_v_intrinsic */
|
||||
|
||||
#endif /* check gcc and clang version */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user