commit | 3bad19cfc207e9082753fb5b90f3059d1f4a78c3 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Thu Apr 11 14:14:16 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Apr 11 21:11:58 2019 +0000 |
tree | e605d2df40ebf22d33da4a135451f4d95f911ebe | |
parent | 36477b49c2ef4c4dc23f8c53df4d51d141407ba8 [diff] |
use __builtin_shufflevector when available See https://clang.llvm.org/docs/LanguageExtensions.html#langext-builtin-shufflevector It's basically exactly skvx::shuffle(), but allows two input vectors. I just pass the same vector twice. Change-Id: I3920e2b156b4b85843eaf197adb540d8296c5569 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/207723 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Auto-Submit: Mike Klein <mtklein@google.com>