summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-10-29 18:31:14 +0000
committer Vladimir Marko <vmarko@google.com> 2018-10-30 13:48:24 +0000
commitf51e6147e09580dbd1f1065d873fd906cf5a33ca (patch)
tree015eb94b61e441d45596df54bfb51bb0b9faadff /compiler/optimizing/loop_optimization.h
parente654da321d83c169f8e995d5134d135c951a3177 (diff)
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
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
-rw-r--r--compiler/optimizing/loop_optimization.h12
1 files changed, 5 insertions, 7 deletions
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,