summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2014-11-28 10:29:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-28 10:29:37 +0000
commitf2d52e4d32fbedee2a11692e1f1d986ba68ea493 (patch)
treeb396377926d2645f0df982f0b03c41149632a3de /compiler/optimizing/code_generator.h
parent7c97e855ceb9b45a1cc738fb144bd3312c4e09a8 (diff)
parent6d0e483dd2e0b63e952de060738c10e2abd12ff7 (diff)
Merge "Add support for long-to-float in the optimizing compiler."
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index f906eb8c05..321a31f596 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -30,6 +30,11 @@ namespace art {
static size_t constexpr kVRegSize = 4;
static size_t constexpr kUninitializedFrameSize = 0;
+// Binary encoding of 2^32 for type double.
+static int64_t constexpr k2Pow32EncodingForDouble = INT64_C(0x41F0000000000000);
+// Binary encoding of 2^31 for type double.
+static int64_t constexpr k2Pow31EncodingForDouble = INT64_C(0x41E0000000000000);
+
class Assembler;
class CodeGenerator;
class DexCompilationUnit;