javascript - How can I try out SIMD instructions in Chrome? -


i experiment simd (single instruction multiple data). can glean google group postings, people have been working add google chrome, when try call simd.float32x4 in chrome 46, simd undefined.

my googling suggests there might experimental versions of chrome have simd support. newest version includes , command line flags need set in order use it? need use strict mode?

when simd rolled stable chrome build?

also make difference running simd instructions if run 32 bit version of chrome or 64 bit version?

update (24/6/17): chrome dropping simd support in js , allowing in webassembly.


update: it's possible in latest version of chrome flag:

--js-flags="--harmony-simd" 

in chrome shortcut properties(i.e. on desktop) "target" field this

"c:\users\pav\appdata\local\google\chrome sxs\application\chrome.exe" --js-flags="--harmony-simd" 

old answer:

you can try them out in node before added chrome (same javascript engine)

  1. install latest node https://nodejs.org/en/

  2. run javascript "node --harmony-simd index.js" (your code in index.js)

  3. print output script in chrome console using console.log('bang') or log('test 2')

option 2

not chrome solution can use simd in firefox. download firefox nightly has simd integrated. simd identical between browsers.

https://nightly.mozilla.org/

if explain how build latest chromium native simd(not polyfill it's now) support great.


Comments

Popular posts from this blog

jquery - ReferenceError: CKEDITOR is not defined -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -