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

Replace the __riscv_vid_v_i32m2 and __riscv_vid_v_i64m2 with __riscv…_vid_v_u32m2 and __riscv_vid_v_u64m2 for riscv64-unknown-linux-gnu-gcc compiling. #5022

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

tingboliao
Copy link

Since the functions __riscv_vid_v_i32m2 and __riscv_vid_v_i64m2, which are not standard RVV-Intrinsic API, fail to be compiled by the riscv64-unknown-linux-gnu-gcc compiler, replacing them with __riscv_vid_v_u32m2 and __riscv_vid_v_u64m2 turns out to be an effective solution to fix the bug.

…_vid_v_u32m2 and __riscv_vid_v_u64m2 for riscv64-unknown-linux-gnu-gcc compiling.

Signed-off-by: tingbo.liao <[email protected]>
@martin-frbg
Copy link
Collaborator

Thanks - I guess these were a remnant from one of the earlier drafts or vendor extensions. It will probably make sense to change the associated data types to unsigned int as well, but I can take care of this separately

@martin-frbg martin-frbg added this to the 0.3.29 milestone Dec 18, 2024
@martin-frbg martin-frbg merged commit d3cc8c6 into OpenMathLib:develop Dec 18, 2024
83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants