Tips for SIMD optimization of code

23 views
Skip to first unread message

Piyush Katariya

unread,
Sep 25, 2019, 5:14:43 PM9/25/19
to v8-users
How aggressively V8 optimizes the JS code to translate into SIMD instructions (AVX, SSE, MMX etc) under the hood?

I am not interested in SIMD.js project. I am interested in the code patterns which V8 JIT see as legit for data parallelization using SIMD depending upon host CPU architecture.

Any detailed guide or blog will be helpful for me.


Thanks

Jakob Kummerow

unread,
Sep 26, 2019, 7:18:47 AM9/26/19
to v8-users
V8 does not currently do any auto-vectorization of JavaScript code.

SIMD support is coming to WebAssembly: https://github.com/WebAssembly/simd


--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/2eeedc4e-af40-4911-9cdd-ef909705a897%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages