-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Coreclr has missing FPREG entries causing the build to fail on FreeBSD #4086
Comments
With that PR merged, we have 10 out of 11 registers worked out. Only 1 left to go. I've given it a try, but I don't really feel like I'm making any headway. Anyone else care to have a look at this? @ajensenwaud ? @kangaroo ? @janhenke ? |
I will try to take a look later. No promise on a solution though. |
I did not come any further on this issue yet, if anybody else has an idea, be my guest. FPU/SSE/AVX state handling is also something new for me. |
Anyone else willing to take a cursory look at this one? @emaste : You're already involved with FreeBSD and the LLVM-projects. Any chance you could contribute here, or find other suitable candidates? Any help is appreciated. This is literally the last compilation bug to get coreclr into the linking-phase on FreeBSD. |
I already had a look over the last week but am not familiar enough with FPREG to fix it. Anders Jensen-Waud
|
Which one is still missing? I'll try to take a look but haven't set up a build environment for this so can't easily check the remaining error. |
This is the part where we're literally missing one line of code: If you can't find a fix yourself, maybe you know someone else in the FreeBSD community who can take a look? |
I think you want sv_fp[index].fp_acc |
That seems to build! That's awesome! Thanks for the help! I'll prepare a PR to close this issue now :) |
FreeBSD now builds without compilation errors. For FreeBSD and glory! , , /( )` \ \___ / | /- _ `-/ ' (/\/ \ \ /\ / / | ` \ O O ) / | `-^--'`< ' (_.) _ ) / `.___/` / `-----' / <----. __ / __ \ <----|====O)))==) \) /==== <----' `--' `.__,' \ | | \ / /\ ______( (_ / \______/ ,' ,-----' | `--{__________) This closes https://github.com/dotnet/coreclr/issues/594#issuecomment-93995183
LGTM, it is great to see to have the compilation issues behind us :-) |
@janvorli Did you mean to comment on PR? :) |
@josteink I am sorry, I keep mixing PRs with issues. |
I'm creating a separate issue/bug for this, because I'd like it to get some scrutiny.
I did hack a little bit at this myself, but I literally have zero experience doing direct FPU-programming. While I've fixed the related compiler-warnings and errors, I can in no way guarantee that the following code is correct:
(From josteink/coreclr@3dab47d )
Especially these lines where the original code I based it on had lots of pointer-magic going on, I have no idea if are translated correctly.
Any feedback or assistance on this issue would be appreciated.
The text was updated successfully, but these errors were encountered: