We can mask load and store with just AVX.
authorMike Klein <mtklein@chromium.org>
Mon, 22 May 2017 14:28:27 +0000 (10:28 -0400)
committerMike Klein <mtklein@chromium.org>
Mon, 22 May 2017 17:08:19 +0000 (17:08 +0000)
commit139e463dc6f965fdaed854efcb20c6cafbb6dbdc
tree4a30cac42be605bdbba0d5da49685c8809cb7f74
parent0a76b413eac46ec218b367c5456709059557f5db
We can mask load and store with just AVX.

Previously we were using AVX2 instructions to generate the masks,
and AVX2 instructions for the mask load and stores themselves.

AVX came with float mask loads and stores, which will work perfectly
fine.  I don't really get what the point of the 32-bit int loads and
stores are in AVX2, beyond maybe syntax sugar?

Change-Id: I81fa55fb09daea4f5546f8c9ebbc886015edce51
Reviewed-on: https://skia-review.googlesource.com/17452
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
src/jumper/SkJumper_generated.S
src/jumper/SkJumper_generated_win.S
src/jumper/SkJumper_stages.cpp