diff options
| author | 2014-12-04 12:30:06 +0000 | |
|---|---|---|
| committer | 2014-12-04 12:30:07 +0000 | |
| commit | 0540330d5d262770002a28f8d81588f7cc28d374 (patch) | |
| tree | 9909dfb2f891d12cc9ad6aabebfba9f535014609 /compiler/optimizing/builder.cc | |
| parent | 833e903b7a9063f37bea3c505cf134fc4a4e2084 (diff) | |
| parent | 8964e2b689d80fe546604ac8c724078645095cf1 (diff) | |
Merge "Add support for float-to-double & double-to-float 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 0ac93a24fc..252e4fa044 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1119,6 +1119,16 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::FLOAT_TO_DOUBLE: { + Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimDouble, dex_pc); + break; + } + + case Instruction::DOUBLE_TO_FLOAT: { + Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimFloat, dex_pc); + break; + } + case Instruction::INT_TO_BYTE: { Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimByte, dex_pc); break; |