summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-11-18 23:06:35 +0000
committerCalin Juravle <calin@google.com>2014-11-24 16:06:55 +0000
commit9aec02fc5df5518c16f1e5a9b6cb198a192db973 (patch)
treefe924b37f395af1bb50f55ee6c87c66b727f00af /compiler/optimizing/builder.h
parent20032e512c003a8f42735c4e1eca19c1472bb95e (diff)
downloadart-9aec02fc5df5518c16f1e5a9b6cb198a192db973.tar.gz
art-9aec02fc5df5518c16f1e5a9b6cb198a192db973.tar.bz2
art-9aec02fc5df5518c16f1e5a9b6cb198a192db973.zip
[optimizing compiler] Add shifts
Added SHL, SHR, USHR for arm, x86, x86_64. Change-Id: I971f594e270179457e6958acf1401ff7630df07e
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 897bcece7b..204005daa6 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -105,12 +105,18 @@ class HGraphBuilder : public ValueObject {
void Binop_23x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
template<typename T>
+ void Binop_23x_shift(const Instruction& instruction, Primitive::Type type);
+
+ template<typename T>
void Binop_12x(const Instruction& instruction, Primitive::Type type);
template<typename T>
void Binop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc);
template<typename T>
+ void Binop_12x_shift(const Instruction& instruction, Primitive::Type type);
+
+ template<typename T>
void Binop_22b(const Instruction& instruction, bool reverse);
template<typename T>