diff options
author | Jason Sams <jsams@google.com> | 2014-05-22 13:30:03 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2014-05-22 13:53:23 -0700 |
commit | 074424a4ac5b093331df2c92e7a5bcbfff136b71 (patch) | |
tree | e608959d5221816533f653c3684730a487592ae1 /cpu_ref/rsCpuIntrinsicBlur.cpp | |
parent | f981663b7e4568dea18ea1e9988dd0ee0e48a24e (diff) | |
download | rs-074424a4ac5b093331df2c92e7a5bcbfff136b71.tar.gz |
Enable ARM64 intrinsics.
This also moves ARM intrinsic ifdefs behing ARCH_ARM_USE_INTRINSICS instead of ARCH_ARM_HAVE_VFP.
Change-Id: I48d3d55c77feb931e22288828247e281db43d32b
Diffstat (limited to 'cpu_ref/rsCpuIntrinsicBlur.cpp')
-rw-r--r-- | cpu_ref/rsCpuIntrinsicBlur.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp index 4e2ee969..c1ca4e2e 100644 --- a/cpu_ref/rsCpuIntrinsicBlur.cpp +++ b/cpu_ref/rsCpuIntrinsicBlur.cpp @@ -292,7 +292,7 @@ void RsdCpuScriptIntrinsicBlur::kernelU4(const RsForEachStubParamStruct *p, uint32_t x1 = xstart; uint32_t x2 = xend; -#if defined(ARCH_ARM_HAVE_VFP) +#if defined(ARCH_ARM_USE_INTRINSICS) if (gArchUseSIMD) { rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * p->y), p->dimX, p->dimY, stride, x1, p->y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); @@ -361,7 +361,7 @@ void RsdCpuScriptIntrinsicBlur::kernelU1(const RsForEachStubParamStruct *p, uint32_t x1 = xstart; uint32_t x2 = xend; -#if defined(ARCH_ARM_HAVE_VFP) +#if defined(ARCH_ARM_USE_INTRINSICS) if (gArchUseSIMD) { rsdIntrinsicBlurU1_K(out, pin + stride * p->y, p->dimX, p->dimY, stride, x1, p->y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); |