diff options
author | Roland Levillain <rpl@google.com> | 2014-12-04 11:54:28 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2014-12-04 11:54:28 +0000 |
commit | 624279f3c70f9904cbaf428078981b05d3b324c0 (patch) | |
tree | a81f8d8facfc28cac479a68a1042edc74c36d25b /compiler/optimizing/builder.h | |
parent | 9a64a46e8edfa89402598d8650b8ebb337ba3d52 (diff) | |
download | android_art-624279f3c70f9904cbaf428078981b05d3b324c0.tar.gz android_art-624279f3c70f9904cbaf428078981b05d3b324c0.tar.bz2 android_art-624279f3c70f9904cbaf428078981b05d3b324c0.zip |
Add support for float-to-long in the optimizing compiler.
- Add support for the float-to-long Dex instruction in the
optimizing compiler.
- Add a Dex PC field to art::HTypeConversion to allow the
x86 and ARM code generators to produce runtime calls.
- Instruct art::CodeGenerator::RecordPcInfo not to record
PC information for HTypeConversion instructions.
- Add S0 to the list of ARM FPU parameter registers.
- Have art::x86_64::X86_64Assembler::cvttss2si work with
64-bit operands.
- Generate x86, x86-64 and ARM (but not ARM64) code for
float to long HTypeConversion nodes.
- Add related tests to test/422-type-conversion.
Change-Id: I954214f0d537187883f83f7a83a1bb2dd8a21fd4
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 8519bcba60..59aba6a97f 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -135,7 +135,8 @@ class HGraphBuilder : public ValueObject { void Conversion_12x(const Instruction& instruction, Primitive::Type input_type, - Primitive::Type result_type); + Primitive::Type result_type, + uint32_t dex_pc); void BuildCheckedDivRem(uint16_t out_reg, uint16_t first_reg, |