File tree Expand file tree Collapse file tree 4 files changed +135
-234
lines changed
Expand file tree Collapse file tree 4 files changed +135
-234
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ endif()
9898# Include TLFloat as a submodule
9999
100100if (SLEEF_ENABLE_TLFLOAT)
101- set (TLFLOAT_MINIMUM_VERSION 1.11.2 )
102- set (TLFLOAT_GIT_TAG "356cb5ee4218fd93fbb73c76869983408b97d90a " )
101+ set (TLFLOAT_MINIMUM_VERSION 1.12.0 )
102+ set (TLFLOAT_GIT_TAG "af792e6a78e3807ec03b8eda6e17a76298acd2c9 " )
103103
104104 set (TLFLOAT_SOURCE_DIR "${PROJECT_SOURCE_DIR} /submodules/tlfloat" )
105105 set (TLFLOAT_INSTALL_DIR "${SLEEF_SUBMODULE_INSTALL_DIR} /tlfloat" )
Original file line number Diff line number Diff line change @@ -158,14 +158,14 @@ typedef vfloat64m1x4_t tdi_t;
158158
159159#define SLEEF_RVV_SP_LMUL 1
160160#define SLEEF_RVV_DP_LMUL 1
161- #define SLEEF_RVV_DP_RUNTIME_VL () __riscv_vsetvlmax_e64m1()
161+ #define SLEEF_RVV_DP_RUNTIME_VL () ((int) __riscv_vsetvlmax_e64m1() )
162162#if SLEEF_RVV_VLEN == 0
163163// The configuration didn't provide a constant vector length, meaning it'll
164164// have to be determined at run-time. RVV offers per-data-width operations for
165165// this so the result doesn't need to be adjusted and that operation is likely
166166// to fold into the surrounding code for free.
167167//
168- #define VECTLENSP (__riscv_vsetvlmax_e32m1())
168+ #define VECTLENSP ((int) __riscv_vsetvlmax_e32m1())
169169#define VECTLENDP SLEEF_RVV_DP_RUNTIME_VL()
170170//@#define VECTLENSP __riscv_vsetvlmax_e32m1()
171171//@#define VECTLENDP __riscv_vsetvlmax_e64m1()
@@ -268,7 +268,7 @@ typedef vfloat64m2x4_t tdi_t;
268268
269269#define SLEEF_RVV_SP_LMUL 2
270270#define SLEEF_RVV_DP_LMUL 2
271- #define SLEEF_RVV_DP_RUNTIME_VL () __riscv_vsetvlmax_e64m2()
271+ #define SLEEF_RVV_DP_RUNTIME_VL () ((int) __riscv_vsetvlmax_e64m2() )
272272#if SLEEF_RVV_VLEN == 0
273273// The configuration didn't provide a constant vector length, meaning it'll
274274// have to be determined at run-time. RVV offers per-data-width operations for
Original file line number Diff line number Diff line change 2222
2323#if CONFIG == 1 || CONFIG == 2
2424// Vector length agnostic
25- #define VECTLENSP (svcntw())
25+ #define VECTLENSP ((int) svcntw())
2626//@#define VECTLENSP (svcntw())
27- #define VECTLENDP (svcntd())
27+ #define VECTLENDP ((int) svcntd())
2828//@#define VECTLENDP (svcntd())
2929#define ISANAME "AArch64 SVE"
3030#define ptrue svptrue_b8()
You can’t perform that action at this time.
0 commit comments