diff options
| author | 2014-11-06 17:36:00 +0000 | |
|---|---|---|
| committer | 2014-11-06 17:36:00 +0000 | |
| commit | e5af7f5a78e44ebfa0a6c699c262866a517eff13 (patch) | |
| tree | 5b4a84126d91551debc91b2b5333b2d20419681d /compiler/optimizing/builder.cc | |
| parent | 7f4ffd2d9309b93ab8b58734be501d6fa18460d4 (diff) | |
| parent | adc3e13db74c193302ac9d56735924cad32083cc (diff) | |
am adc3e13d: Merge "Support float & double negation in the optimizing compiler."
* commit 'adc3e13db74c193302ac9d56735924cad32083cc':
Support float & double negation in the optimizing compiler.
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 1820a6a57c..a31ea29ae1 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -904,6 +904,16 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::NEG_FLOAT: { + Unop_12x<HNeg>(instruction, Primitive::kPrimFloat); + break; + } + + case Instruction::NEG_DOUBLE: { + Unop_12x<HNeg>(instruction, Primitive::kPrimDouble); + break; + } + case Instruction::NOT_INT: { Unop_12x<HNot>(instruction, Primitive::kPrimInt); break; |