From f51e6147e09580dbd1f1065d873fd906cf5a33ca Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Mon, 29 Oct 2018 18:31:14 +0000 Subject: Remove some SIMD recognition code. This is supposed to be a cherry-pick of 3f08e9bb0dfbe9a51e1b378ae20a9338358349eb but due to branch divergence it was created from scratch. Test: : test-art-host,target Bug: 118673201 Change-Id: I2376a491df354766290c5b1bb6efd827f67aca2c Merged-In: I7f00315c61ed99723236283bc39a4c7fb279df47 --- compiler/optimizing/loop_optimization.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'compiler/optimizing/loop_optimization.h') diff --git a/compiler/optimizing/loop_optimization.h b/compiler/optimizing/loop_optimization.h index a707ad1358..d70751037b 100644 --- a/compiler/optimizing/loop_optimization.h +++ b/compiler/optimizing/loop_optimization.h @@ -75,11 +75,10 @@ class HLoopOptimization : public HOptimization { kNoSignedHAdd = 1 << 5, // no signed halving add kNoUnroundedHAdd = 1 << 6, // no unrounded halving add kNoAbs = 1 << 7, // no absolute value - kNoMinMax = 1 << 8, // no min/max - kNoStringCharAt = 1 << 9, // no StringCharAt - kNoReduction = 1 << 10, // no reduction - kNoSAD = 1 << 11, // no sum of absolute differences (SAD) - kNoWideSAD = 1 << 12, // no sum of absolute differences (SAD) with operand widening + kNoStringCharAt = 1 << 8, // no StringCharAt + kNoReduction = 1 << 9, // no reduction + kNoSAD = 1 << 10, // no sum of absolute differences (SAD) + kNoWideSAD = 1 << 11, // no sum of absolute differences (SAD) with operand widening }; /* @@ -173,8 +172,7 @@ class HLoopOptimization : public HOptimization { void GenerateVecOp(HInstruction* org, HInstruction* opa, HInstruction* opb, - DataType::Type type, - bool is_unsigned = false); + DataType::Type type); // Vectorization idioms. bool VectorizeHalvingAddIdiom(LoopNode* node, -- cgit v1.2.3-59-g8ed1b