From 9aec02fc5df5518c16f1e5a9b6cb198a192db973 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Tue, 18 Nov 2014 23:06:35 +0000 Subject: [optimizing compiler] Add shifts Added SHL, SHR, USHR for arm, x86, x86_64. Change-Id: I971f594e270179457e6958acf1401ff7630df07e --- compiler/optimizing/builder.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'compiler/optimizing/builder.h') diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 897bcece7..204005daa 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -104,12 +104,18 @@ class HGraphBuilder : public ValueObject { template void Binop_23x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); + template + void Binop_23x_shift(const Instruction& instruction, Primitive::Type type); + template void Binop_12x(const Instruction& instruction, Primitive::Type type); template void Binop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); + template + void Binop_12x_shift(const Instruction& instruction, Primitive::Type type); + template void Binop_22b(const Instruction& instruction, bool reverse); -- cgit v1.2.3