-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
Add support for FreeBSD x86 reals #7689
Conversation
Thanks for your pull request, @ibuclaw! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7689" |
e287c60
to
76379a5
Compare
76379a5
to
ab8221e
Compare
Hmm, hold up for a while, it looks like there was a bug in the druntime asm code (dlang/druntime#3266), so I'll have to re-run this again on 32-bit FreeBSD to find out if anything done here has been made redundant. |
FPU setting was removed, so this PR is fine as-is for 53-bit precision on 80-bit reals. |
FYI @kinke |
Any cause for concern here? |
I don't see any issue here. |
version (StdUnittest) | ||
{ | ||
// Helper function for comparing two Complex numbers. | ||
int ceqrel(T)(const Complex!T x, const Complex!T y) @safe pure nothrow @nogc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you just moved it, nvm
These are changes based off the dmd-cxx branch, so there may be a few more cases that need to be dealt with in master, however this is enough for 32-bit FreeBSD to compile and initially pass all phobos unittests.