summaryrefslogtreecommitdiffstats
path: root/cpu_ref/rsCpuIntrinsicYuvToRGB.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2014-05-22 13:30:03 -0700
committerJason Sams <jsams@google.com>2014-05-22 13:53:23 -0700
commit074424a4ac5b093331df2c92e7a5bcbfff136b71 (patch)
treee608959d5221816533f653c3684730a487592ae1 /cpu_ref/rsCpuIntrinsicYuvToRGB.cpp
parentf981663b7e4568dea18ea1e9988dd0ee0e48a24e (diff)
downloadandroid_frameworks_rs-074424a4ac5b093331df2c92e7a5bcbfff136b71.tar.gz
android_frameworks_rs-074424a4ac5b093331df2c92e7a5bcbfff136b71.tar.bz2
android_frameworks_rs-074424a4ac5b093331df2c92e7a5bcbfff136b71.zip
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/rsCpuIntrinsicYuvToRGB.cpp')
-rw-r--r--cpu_ref/rsCpuIntrinsicYuvToRGB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu_ref/rsCpuIntrinsicYuvToRGB.cpp b/cpu_ref/rsCpuIntrinsicYuvToRGB.cpp
index f65d6aa2..563b3e19 100644
--- a/cpu_ref/rsCpuIntrinsicYuvToRGB.cpp
+++ b/cpu_ref/rsCpuIntrinsicYuvToRGB.cpp
@@ -161,7 +161,7 @@ void RsdCpuScriptIntrinsicYuvToRGB::kernel(const RsForEachStubParamStruct *p,
out++;
x1++;
}
-#if defined(ARCH_ARM_HAVE_VFP)
+#if defined(ARCH_ARM_USE_INTRINSICS)
if((x2 > x1) && gArchUseSIMD) {
int32_t len = x2 - x1;
if (cstep == 1) {