Skip to content

Re-enable SIMD tests and use new shuffle builtin - #9350

Closed
tlively wants to merge 1 commit into
emscripten-core:incomingfrom
tlively:shuffle-intrinsic
Closed

tlively wants to merge 1 commit into
emscripten-core:incomingfrom
tlively:shuffle-intrinsic

Conversation

@tlively

@tlively tlively commented Aug 30, 2019

Copy link
Copy Markdown
Member

The new builtin solves the problem of LLVM changing user-supplied
shuffle masks during optimization. The emitted masks will now always
be identical to the masks given in the source. Depends on
https://reviews.llvm.org/D66983.

The new builtin solves the problem of LLVM changing user-supplied
shuffle masks during optimization. The emitted masks will now always
be identical to the masks given in the source. Depends on
https://reviews.llvm.org/D66983.

@kripken kripken 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.

Can't say I actually understand the SIMD details, but lgtm!

@tlively

tlively commented Sep 6, 2019

Copy link
Copy Markdown
Member Author

We decided to go a different route in LLVM.

@tlively tlively closed this Sep 6, 2019
@tlively
tlively deleted the shuffle-intrinsic branch September 6, 2019 01:40
@huningxin

Copy link
Copy Markdown
Contributor

We decided to go a different route in LLVM.

@tlively , could you elaborate the new route? thanks.

@tlively

tlively commented Sep 25, 2019

Copy link
Copy Markdown
Member Author

@huningxin See the discussion on the LLVM patch linked above. We decided to teach LLVM about which shuffles are low-cost to prevent it from combining two good shuffles into a bad shuffle. I haven't implemented this yet because I've been focused on getting the tools up to date with the latest new instructions in the spec proposal, but it is on to-do list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants