commit | 9aec02fc5df5518c16f1e5a9b6cb198a192db973 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Tue Nov 18 23:06:35 2014 +0000 |
committer | Calin Juravle <calin@google.com> | Mon Nov 24 16:06:55 2014 +0000 |
tree | fe924b37f395af1bb50f55ee6c87c66b727f00af | |
parent | 20032e512c003a8f42735c4e1eca19c1472bb95e [diff] [blame] |
[optimizing compiler] Add shifts Added SHL, SHR, USHR for arm, x86, x86_64. Change-Id: I971f594e270179457e6958acf1401ff7630df07e
diff --git a/compiler/utils/assembler_test.h b/compiler/utils/assembler_test.h index 9d3fa01..54c931d 100644 --- a/compiler/utils/assembler_test.h +++ b/compiler/utils/assembler_test.h
@@ -223,6 +223,10 @@ UNREACHABLE(); } + std::string GetRegisterName(const Reg& reg) { + return GetRegName<RegisterView::kUsePrimaryName>(reg); + } + protected: explicit AssemblerTest() {}