-
Notifications
You must be signed in to change notification settings - Fork 22
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
Upgrade to latest release (v2.2) #90
Conversation
@simonbyrne thanks for working on this and adding additional architectures. Were you able to run tests for any of the non-Intel architectures? At one point I was able to get the old version to successfully pass all of Intel's C based tests for armv7l, but I was unsuccessful in getting v2.2 to pass all tests. |
I managed to create a build for ARM, but haven't tried it out. Any chance you could see if it works? Looks like something is wrong with the Windows build. |
I'll try to find some time to look at it in the next few days. I expect to find at least the following issues. The authors assume The library includes support for Intel's extended 80 bit floating point. ARM and PowerPC don't have hardware support for this format. Even on Intel we don't use it, so we could disable in all builds. |
I did some very brief testing last night on 32 bit ARM. Some things worked and some didn't.
I'll do some more testing tonight. |
I have successfully compiled and tested v2.2 on x86_64 and armv7l. See PR #10 I am now stuck with the same issue I was last time I looked at this. On ARM if I link from a C program it works as I expect. If I call from Julia some things don't work. On Intel both the C and Julia programs work as I expect. I would appreciate any suggestions you have for debugging this.
Output from C program
Output from Julia version on ARM
The actual values from the |
The problem seem to be when we use
Should this be considered a bug in Julia? Changing all the |
Is this on ARM7? This might be related to the 32-bit Windows issue. Unfortunately I'm pretty busy at the moment, so won't be able to look into it more for a bit. |
This is on ARM7. I don't have access to windows so I can't easily test that. |
You can see the results from the Appveyor run. If you want to experiment, you can enable RDP to access the machine for an hour after the CI has finished: |
I opened an issue about ARM but it was quickly closed so I will prepare a PR with the |
Primitive types look like a cleaner solution than |
|
Oh, I see, we used to use primitive types but it was changed in 381066b to work around JuliaLang/julia#21216, which was fixed in Julia 0.6. Changing back seems like a good idea anyway. See #91. |
Bump — can we get CI passing here? |
There is a new build of the library quinnj/DecFPBuilder#11 that should fix the Windows CI issues here. @stevengj or @simonbyrne do you want to update this PR or should I create a new one? To update the following changes are needed for
and
|
@jmkuhn: probably easiest to just open a new PR. |
Closed by #106. |
Fixes #47