12345678910111213141516171819202122 |
- diff --git a/hwy/base.h b/hwy/base.h
- index d87eb34..db5df58 100644
- --- a/hwy/base.h
- +++ b/hwy/base.h
- @@ -319,7 +319,7 @@ static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 64; // AVX-512
- #elif HWY_ARCH_RVV
- // Not actually an upper bound on the size, but this value prevents crossing a
- // 4K boundary (relevant on Andes).
- -static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 4096;
- +static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 64;
- #define HWY_ALIGN_MAX alignas(8) // only elements need be aligned
- #else
- static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 16;
- @@ -333,7 +333,7 @@ static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 16;
- // by concatenating base type and bits.
-
- // RVV already has a builtin type and the GCC intrinsics require it.
- -#if HWY_ARCH_RVV && HWY_COMPILER_GCC
- +#if HWY_ARCH_RVV && HWY_COMPILER_GCC && 0
- #define HWY_NATIVE_FLOAT16 1
- #else
- #define HWY_NATIVE_FLOAT16 0
|