Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Intel has made quite a few contributions to Hotspot, including AVX support.

ART started supporting SIMD on Oreo, and it was further expanded on Pie. Naturally very few devices have gotten those improvements thanks the state of Android's updates.

So on Android's case Renderscript is still the best way for a JIT like approach for SIMD.



As far as I know the JVM will only auto-vectorize integers. Is there a way to tag a function such that you want floats vectorized too now?

ART is a good point, compile on install lets you do this.


You can get the information here. It also refers to floating point calculations.

http://cr.openjdk.java.net/~vlivanov/talks/2017_Vectorizatio...

https://software.intel.com/sites/default/files/managed/19/ae...

Also the Vector API development is ongoing and there is a talk at this week's Oracle ONE about the current state.

ART no longer compiles on install since Android 7, that behaviour is specific to Android 5 and 6 versions.

Since 7 it is a multistage runtime with hand written in Assembly interpreter, JIT + PGO, AOT + PGO on idle device. And as of 9, PGO data gets uploaded into the store and shared across devices on installation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: