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

Only use general purpose registers in c guest #230

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jan 31, 2025

There is a mismatch in the ffi ABI between c and rust. Rust library doesn't use SSE, so won't use XMM registers for passing floats as arguments, but clang will. This is a temporary fix until I figure out how to properly set this

…M registers for passing floats to rust functions that don't expect it

Signed-off-by: Ludvig Liljenberg <[email protected]>
@ludfjig ludfjig added the kind/bugfix Something isn't working label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bugfix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant