DescriptionGuard SIMD code with !defined(SKNX_NO_SIMD).
This should make it easy to compare performance of the non-SIMD Sk2x / Sk4x
code with our existing portable scalar code. I'm not adding this to SkPMFloat
only because we don't have an existing scalar baseline there to compare to.
We'll have to keep our wits about us: I just tried your new benchmarks, and
Clang's autovectorizer produced almost as good SSE as we did with intrinsics for
geo_evalquadat1 and geo_evalquadtangentat1, but not for geo_chopquadat1,
which went serial.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/3e490b714600d10aad9d17129cfa52a45b05896c
Patch Set 1 #Patch Set 2 : revert SkPMFloat #Patch Set 3 : switch #
Messages
Total messages: 6 (2 generated)
|