From 6daebeba6ceab4e7dff5a3d65929eeac9a334004 Mon Sep 17 00:00:00 2001 From: Aart Bik Date: Mon, 3 Apr 2017 14:35:41 -0700 Subject: Implemented ABS vectorization. Rationale: This CL adds the concept of vectorizing intrinsics to the ART vectorizer. More can follow (MIN, MAX, etc). Test: test-art-host, test-art-target (angler) Change-Id: Ieed8aa83ec64c1250ac0578570249cce338b5d36 --- compiler/optimizing/loop_optimization.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/loop_optimization.h') diff --git a/compiler/optimizing/loop_optimization.h b/compiler/optimizing/loop_optimization.h index 16f7691af2..d8f50aab28 100644 --- a/compiler/optimizing/loop_optimization.h +++ b/compiler/optimizing/loop_optimization.h @@ -68,6 +68,7 @@ class HLoopOptimization : public HOptimization { kNoShift = 4, // no shift kNoShr = 8, // no arithmetic shift right kNoHiBits = 16, // "wider" operations cannot bring in higher order bits + kNoAbs = 32, // no absolute value }; /* -- cgit v1.2.3-59-g8ed1b