Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix use of uninitialized variable and removed wrong and unused constants #32

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/rvvlm_fp.inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ static_assert(false, "API_SIGNATURE ill or undefined" __FILE__);
#define MAKE_VBOOL(A) __PASTE3(A, 8, _t)
#endif
#define VSET __PASTE2(__riscv_vsetvl_e, __PASTE3(BIT_WIDTH, m, LMUL))
#define VSETMAX __PASTE2(__riscv_vsetvlmax_e, __PASTE3(BIT_WIDTH, m, LMUL))
#define VSE __PASTE2(__riscv_vse, BIT_WIDTH)
#define VSSE __PASTE2(__riscv_vsse, BIT_WIDTH)
#define MAKE_REINTERPRET(A, B) \
Expand Down
2 changes: 1 addition & 1 deletion include/rvvlm_lgammaD.inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
} while (0)

void F_VER1(API) {
size_t vlen;
size_t vlen = VSETMAX();
VFLOAT vx, vx_orig, vy, vy_special;
VBOOL special_args;
VFLOAT zero = VFMV_VF(fp_posZero, vlen);
Expand Down
Loading