Index: src/opts/SkNx_neon.h |
diff --git a/src/opts/SkNx_neon.h b/src/opts/SkNx_neon.h |
index 0955cb2b5b6a8b0d7140f9ecb28c667afedcb1e6..c04f4d5f91efa8ef6659fdcc1c7d64cef2c756ed 100644 |
--- a/src/opts/SkNx_neon.h |
+++ b/src/opts/SkNx_neon.h |
@@ -187,6 +187,8 @@ public: |
static SkNx Min(const SkNx& l, const SkNx& r) { return vminq_f32(l.fVec, r.fVec); } |
static SkNx Max(const SkNx& l, const SkNx& r) { return vmaxq_f32(l.fVec, r.fVec); } |
+ SkNx abs() const { return vabsq_f32(fVec); } |
+ |
SkNx rsqrt0() const { return vrsqrteq_f32(fVec); } |
SkNx rsqrt1() const { |
float32x4_t est0 = this->rsqrt0().fVec; |