Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
e4e666f459
4563 changed files with 1690372 additions and 0 deletions
19
thirdparty/simde/test/arm/sve/test-sve.h
vendored
Normal file
19
thirdparty/simde/test/arm/sve/test-sve.h
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#if !defined(SIMDE_TEST_ARM_SVE_TEST_SVE_H)
|
||||
#define SIMDE_TEST_ARM_SVE_TEST_SVE_H
|
||||
|
||||
#include "../../test.h"
|
||||
|
||||
static int32_t
|
||||
simde_test_arm_sve_random_length(size_t buf_size, size_t elem_size) {
|
||||
return
|
||||
(simde_test_codegen_random_i32() & HEDLEY_STATIC_CAST(int32_t, (buf_size / elem_size) - 1)) |
|
||||
HEDLEY_STATIC_CAST(int32_t, (buf_size / 2) / elem_size);
|
||||
}
|
||||
|
||||
#if !defined(SIMDE_TEST_BARE)
|
||||
#define SIMDE_TEST_DECLARE_SUITE(name) SIMDE_TEST_SUITE_DECLARE_GETTERS(HEDLEY_CONCAT(simde_test_arm_sve_get_suite_,name))
|
||||
#include <test/arm/sve/declare-suites.h>
|
||||
#undef SIMDE_TEST_DECLARE_SUITE
|
||||
#endif
|
||||
|
||||
#endif /* !defined(SIMDE_TEST_ARM_SVE_TEST_SVE_H) */
|
||||
Loading…
Add table
Add a link
Reference in a new issue