Home
last modified time | relevance | path

Searched refs:VECTOR_SIZE (Results 1 – 3 of 3) sorted by relevance

/llvm-project/clang/test/Sema/
H A Dattr-riscv-rvv-vector-bits.c335 #define VECTOR_SIZE ((__riscv_v_fixed_vlen / 8)) in f()
337 _Static_assert(sizeof(fixed_int8mf8_t) == VECTOR_SIZE / 8, "");
339 _Static_assert(sizeof(fixed_uint8mf8_t) == VECTOR_SIZE / 8, "");
341 _Static_assert(sizeof(fixed_int8mf4_t) == VECTOR_SIZE / 4, ""); macro
342 _Static_assert(sizeof(fixed_int16mf4_t) == VECTOR_SIZE / 4, "");
344 _Static_assert(sizeof(fixed_uint8mf4_t) == VECTOR_SIZE / 4, "");
345 _Static_assert(sizeof(fixed_uint16mf4_t) == VECTOR_SIZE / 4, "");
347 _Static_assert(sizeof(fixed_int8mf2_t) == VECTOR_SIZE / 2, "");
348 _Static_assert(sizeof(fixed_int16mf2_t) == VECTOR_SIZE / 2, "");
349 _Static_assert(sizeof(fixed_int32mf2_t) == VECTOR_SIZE /
[all...]
H A Dattr-arm-sve-vector-bits.c181 #define VECTOR_SIZE ((N / 8)) macro
184 _Static_assert(sizeof(fixed_int8_t) == VECTOR_SIZE, "");
186 _Static_assert(sizeof(fixed_int16_t) == VECTOR_SIZE, "");
187 _Static_assert(sizeof(fixed_int32_t) == VECTOR_SIZE, "");
188 _Static_assert(sizeof(fixed_int64_t) == VECTOR_SIZE, "");
190 _Static_assert(sizeof(fixed_uint8_t) == VECTOR_SIZE, "");
191 _Static_assert(sizeof(fixed_uint16_t) == VECTOR_SIZE, "");
192 _Static_assert(sizeof(fixed_uint32_t) == VECTOR_SIZE, "");
193 _Static_assert(sizeof(fixed_uint64_t) == VECTOR_SIZE, "");
195 _Static_assert(sizeof(fixed_float16_t) == VECTOR_SIZE, "");
[all …]
/llvm-project/libc/src/string/memory_utils/x86_64/
H A Dinline_memcpy.h167 constexpr size_t VECTOR_SIZE = 64; in inline_memcpy_x86()
169 constexpr size_t VECTOR_SIZE = 32; in inline_memcpy_x86()
171 constexpr size_t VECTOR_SIZE = 16; in inline_memcpy_x86()
173 constexpr size_t VECTOR_SIZE = 8; in inline_memcpy_x86()
196 if (VECTOR_SIZE >= 16 ? count < 16 : count <= 16) in inline_memcpy_x86()
198 if (VECTOR_SIZE >= 32 ? count < 32 : count <= 32) in inline_memcpy_x86()
200 if (VECTOR_SIZE >= 64 ? count < 64 : count <= 64) in inline_memcpy_x86()
160 constexpr size_t VECTOR_SIZE = 64; inline_memcpy_x86() local