-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix-up i686/armv7 support #45
Conversation
Without this, Julia will potentially notice the high bit of the pointer is set and complain about an inexact conversion.
This gets me down to ~5-6 instructions of overhead on x86 and armv7: ```julia julia> println(Sys.ARCH); @pstats "(instructions,branch-instructions,branch-misses)" nothing arm ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┌ instructions 6.00e+00 100.0% │ branch-instructions 1.00e+00 100.0% # 16.7% of insns └ branch-misses 0.00e+00 100.0% # 0.0% of branch insns ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ``` ```julia julia> println(Sys.ARCH); @pstats "(instructions,branch-instructions,branch-misses)" nothing i686 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┌ instructions 5.00e+00 100.0% │ branch-instructions 2.00e+00 100.0% # 40.0% of insns └ branch-misses 1.00e+00 100.0% # 50.0% of branch insns ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ```
d111fae
to
337fccb
Compare
337fccb
to
e4ce93a
Compare
Do we have runners for all the arches you're trying to test? |
I'm not entirely sure we do - it also looks like our PowerPC machines have a higher I'll ping some CI folks and see what we should use |
We'll have to wait until someone would like to setup CirrusCI (https://github.com/ararslan/CirrusCI.jl) to get AArch64 tested, but for now this at least means we have one 32-bit arch covered which is still a big improvement.
Sounds like we need https://github.com/ararslan/CirrusCI.jl to get better platform support, but I'm happy just to have 32-bit coverage of any kind for now so let's merge this with the x86-64 + i686 CI only |
This gets 32-bit working properly (finally), and brings us down to ~5-6 instructions of overhead on x86 and armv7: