Jump to content

SIMD nolonger works


Recommended Posts

My recent episode with FireFox not running, got me using Firefox nightly.  Firefox nightly has SIMD, but I have not been able to run my SIMD code or the code in Math.SIMD.ts for the longest time.

Finally, got to the bottom of it.  Some of the objects are not the same name, 'float32x4' is now 'Float32x4'.  Some of the functions are renamed, 'loadXYZ' is now 'load3'.

I changed my code, it needs some TLC, but it now executes.  Did not edit math.SIMD.ts.  What is the plan?

Link to comment
Share on other sites

  • 1 month later...


Have asm.js + SIMD fixes: https://github.com/BabylonJS/Babylon.js/pull/1180

Also just SIMD fixes: https://github.com/BabylonJS/Babylon.js/pull/1181

You'll need to update the gulp dependencies for uglify not to chew up the asm.js e.g. 

npm install
npm update
gulp typescript-compile

However, I'm not convinced either of them is better than without SIMD... :-/

Nevertheless one of them is better than current where the SIMD is broken due to spec changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...