Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse SIMD in `gfx` when possible #10900
Conversation
highfive
commented
Apr 28, 2016
|
Fixed the tidy warning. |
|
@bors-servo r+ Reviewed 3 of 3 files at r1. Comments from Reviewable |
|
|
Use SIMD in `gfx` when possible Currently SIMD support is enabled by checking the target architecture (x86_64 and AArch64). A better approach would be to check if a SIMD feature is actually available on the platform, by using `cfg_target_feature`. This patch enables SIMD code if possible, which will cause speedup on Android and ARM embedded devices. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10900) <!-- Reviewable:end -->
|
|
|
|
|
The problem is here in |
|
Hm, but that would also require to only compile |
|
|
|
Rebased and squashed. |
|
@mmatyas Could you file an issue about this on the simd crate? @bors-servo r+ |
|
|
|
Are there any Android experts who'd be able to help with this? |
|
|
|
Rebased, hopefully it can land after Android gets fixed. |
|
@bors-servo try |
Use SIMD in `gfx` when possible Currently SIMD support is enabled by checking the target architecture (x86_64 and AArch64). A better approach would be to check if a SIMD feature is actually available on the platform, by using `cfg_target_feature`. This patch enables SIMD code if possible, which will cause speedup on Android and ARM embedded devices. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10900) <!-- Reviewable:end -->
|
|
highfive
commented
Nov 28, 2016
|
|
This is #14229. How can we test that there is no issue on Android anymore? |
|
At the moment, Android just shows a gray screen (see #13154), by "Android gets fixed", I've meant that issue :) |
|
@bors-servo try Running a try build so that I can check and see if the symbols have changed. Will r+ if it looks good. |
|
@bors-servo retry |
Use SIMD in `gfx` when possible Currently SIMD support is enabled by checking the target architecture (x86_64 and AArch64). A better approach would be to check if a SIMD feature is actually available on the platform, by using `cfg_target_feature`. This patch enables SIMD code if possible, which will cause speedup on Android and ARM embedded devices. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10900) <!-- Reviewable:end -->
|
|
|
This seems to have failed: http://build.servo.org/builders/android/builds/4447/steps/compile/logs/stdio
|
|
Hmm, I wonder if there was some kind of API change... cc @huonw. I've also rebased the patch to the current master. |
|
@mmatyas Huon is prohibited from participating with any Rust projects (and discussions as well? Not sure). He might not respond. |
|
@mmatyas Should the new one you pushed work? I can do another try build. Or r+, now that we actually are gating on Android again! |
|
Not yet, but I've just sent a PR to |
|
Superseded by #15381 with simd 0.2.0, thanks for keeping up with it! |
mmatyas commentedApr 28, 2016
•
edited by metajack
Currently SIMD support is enabled by checking the target architecture (x86_64 and AArch64). A better approach would be to check if a SIMD feature is actually available on the platform, by using
cfg_target_feature. This patch enables SIMD code if possible, which will cause speedup on Android and ARM embedded devices.This change is