Giter Site home page Giter Site logo

godot-lsimd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

godot-lsimd's Issues

WASM support, and fix make currrent build work in WASM

About WASM SIMD support, look like it exists only in Chrome Canary, https://twitter.com/v8js/status/1222944308183085058

V8 WebAssembly support is available in Chrome Canary and can be enabled using the --enable-features=WebAssemblySimd flag. Support is still experimental and subject to change, as this is tracking the evolution of the WebAssembly SIMD proposal.

and adding support required renaming SSE functions to wasm_ style

Fix to make this code work in web:
file simd_cpu.cpp need to hide Godot_CPU::xgetbv function from wasm compiler, I have add simple:
#ifndef JAVASCRIPT_ENABLED on line 242, and #endif on line 256
it builds and works

thanks for this very useful code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.