Skip to content

SSE3 and SSSE3 support - #11290

Merged
juj merged 10 commits into
emscripten-core:masterfrom
juj:sse3_support
Jun 3, 2020
Merged

juj merged 10 commits into
emscripten-core:masterfrom
juj:sse3_support

Conversation

@juj

@juj juj commented May 29, 2020 •

Copy link
Copy Markdown
Collaborator

Adds SSE3 and SSSE3 support, test, synthetic microbenchmark and docs.

@juj juj added the SIMD label May 29, 2020
@juj juj changed the title SSE3 support SSE3 and SSSE3 support May 31, 2020
@kripken
kripken requested a review from tlively June 2, 2020 21:20

@tlively tlively left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! cc @seanptmaher

_mm_mulhrs_epi16(__m128i __a, __m128i __b)
{
// TODO: the following sequence oughta work, but something is not quite right,
// runtime test fails with

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you suspect that this is a LLVM bug?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know - there is a possibility, although it is odd that it only caused a failure on a few specific bit patterns and not on others. Trying to extract the case to an isolated test case failed (or I failed in attempting to isolate it). Ran out of time to debug further, so had to leave it at that form for now.

@juj
juj merged commit 17960af into emscripten-core:master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants