diff options
| author | 2014-11-18 09:59:13 +0000 | |
|---|---|---|
| committer | 2014-11-18 09:59:14 +0000 | |
| commit | 27e49ba4b67b6006284edf4d52e7c498ddb37022 (patch) | |
| tree | f9f4103f1c7f29bb7f72769129c10e10e884793a /compiler/optimizing/builder.cc | |
| parent | 440e3e3f103163a11ebce6376ac79c755c395c2a (diff) | |
| parent | cff137481eda0eb8dbdf9d2a303ae2bdac2c7322 (diff) | |
Merge "Add support for int-to-float & int-to-double in optimizing."
Diffstat (limited to 'compiler/optimizing/builder.cc')
| -rw-r--r-- | compiler/optimizing/builder.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index 7ead607693..be8631ad42 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1002,6 +1002,16 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::INT_TO_FLOAT: { + Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimFloat); + break; + } + + case Instruction::INT_TO_DOUBLE: { + Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimDouble); + break; + } + case Instruction::LONG_TO_INT: { Conversion_12x(instruction, Primitive::kPrimLong, Primitive::kPrimInt); break; |