-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Simd.js library support #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @arunetm, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
|
Change description: |
|
Updated description of the issue so the text will show up in the merge commit message. |
|
@arunetm It looks like some of your copyright headers are incorrect or missing. In the generated Promise.js.bc.*.h: Compare with: Although I believe there is no use for the Promise bytecodes in ChakraCore. Can you confirm whether they are needed in ChakraCore for your change, and if not, remove them? |
|
Full list of files missing or wrong copyright from the failed check: |
|
Thanks @dilijev. Updated the PR by removing unused bytecode headers and adding missing copyright header for the test files. |
|
Were these generated by the header script? We might need to update some more of that with the license header changes. @akroshg will have more context (but is away for a few more weeks) |
|
@tcare, We might not need any script updates for this. The Promise.js.bc.*.h files were generated by the Genbytecode script a while back. However the latest script does not create these files anymore. |
|
Ah, okay. Thanks for the clarification. |
|
Does all the kangax es7 test cases pass after this change? |
|
Why doesn't this change remove SIMDFloat64x2? |
|
@abchatra,We have not verified this feature against the 'kangax es7' tests. We do pass the SIMD validation tests from the SIMDjs polyfill (link below). |
|
@abchatra There is a possibility for the Float64x2 SIMD type to be re introduced to the SIMD spec based on some of the on going discussions(tc39/ecmascript_simd#304). |
|
Using telemetry for SIMD library builtins: Testing: We have not tried testing against "kangax es7" tests so far. Planning to verigy against the kangax es7 tests as the next step. |
|
@arunetm Do you have a new commit which I review and signoff? |
|
👍 Great job! |
|
@abchatra Thanks for the feedback. |
|
@arunetm Done. |
|
@dotnet-bot test EOL Check please |
Change description: 1. Implemented support for new SIMD types SIMD.Bool32x4, SIMD.Bool16x8, SIMD.Bool8x16, SIMD.Int16x8,SIMD.Int8x16, SIMD.Uint32x4, SIMD.Uint16x8, SIMD.Uint8x16. This adds to the existing types SIMD.Int32x4 and SIMD.Float32x4 ensuring compatability with the latest SIMDjs specification. 2. Adding new builtin functions for all SIMDJs types to be consistent with the SIMD.js specification and the polyfill implemntation. This is validated against the polyfill tests. 3. Updating the syntax and behavior of the existing builtin functions and removing builtins to be consistent with the SIMD.js specification and the polyfill. 4. Clean up of existing SIMD unittests to avoid printing SIMD values for validation. Tests prints only PASS/FAIL while verification and uses utility methods for comparing the values to the right precision. This avoids unittest dependency on the printing of numbers. 5. Code refactoring to reduce code size/complexity of the SIMDjs code.
Change description: