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

floating-point support #301

Open
ConstArc opened this issue Dec 19, 2024 · 0 comments
Open

floating-point support #301

ConstArc opened this issue Dec 19, 2024 · 0 comments

Comments

@ConstArc
Copy link

ConstArc commented Dec 19, 2024

I am trying to perform a simple pow function for doubles, within the kernel code, that involves floating-point multiplication. However, I get the following error at boot time:
scause=0x2 sepc=0x80001cf8 stval=0xcb507

From what I know riscv supports floating-point calculations, but I still get the scause=0x2 (Illegal Instruction Exception from what I have searched).

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

No branches or pull requests

1 participant