Index: src/opts/SkNx_neon.h |
diff --git a/src/opts/SkNx_neon.h b/src/opts/SkNx_neon.h |
index ccba163e569f540fb09dcf37566c5b861e02c10f..1cae223b6c1413eba6e6fa5910f95b046f8ceff9 100644 |
--- a/src/opts/SkNx_neon.h |
+++ b/src/opts/SkNx_neon.h |
@@ -337,6 +337,11 @@ public: |
return vgetq_lane_u16(fVec, k&7); |
} |
+ SkNi thenElse(const SkNi& t, const SkNi& e) const { |
+ return vorrq_u16(vandq_u16(t.fVec, fVec), |
+ vbicq_u16(e.fVec, fVec)); |
+ } |
+ |
uint16x8_t fVec; |
}; |