diff options
author | Roland Levillain <rpl@google.com> | 2014-11-05 14:15:05 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2014-11-05 16:51:59 +0000 |
commit | dff1f2812ecdaea89978c5351f0c70cdabbc0821 (patch) | |
tree | 5305173d341263ad32deb98c0299ee8bad03baa9 /compiler/optimizing/builder.h | |
parent | 5e5632ff1651adbf95faaf8fb3239a36f9f61124 (diff) | |
download | art-dff1f2812ecdaea89978c5351f0c70cdabbc0821.tar.gz art-dff1f2812ecdaea89978c5351f0c70cdabbc0821.tar.bz2 art-dff1f2812ecdaea89978c5351f0c70cdabbc0821.zip |
Support int-to-long conversions in the optimizing compiler.
- Add support for the int-to-float Dex instruction in the
optimizing compiler.
- Add a HTypeConversion node type for control-flow graphs.
- Generate x86, x86-64 and ARM (but not ARM64) code for
int-to-float HTypeConversion nodes.
- Add a 64-bit "Move doubleword to quadword with
sign-extension" (MOVSXD) instruction to the x86-64
assembler.
- Add related tests to test/422-type-conversion.
Change-Id: Ieb8ec5380f9c411857119c79aa8d0728fd10f780
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index eea762f83..f25415bc3 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -116,6 +116,10 @@ class HGraphBuilder : public ValueObject { template<typename T> void If_21t(const Instruction& instruction, uint32_t dex_offset); template<typename T> void If_22t(const Instruction& instruction, uint32_t dex_offset); + void Conversion_12x(const Instruction& instruction, + Primitive::Type input_type, + Primitive::Type result_type); + void BuildReturn(const Instruction& instruction, Primitive::Type type); // Builds an instance field access node and returns whether the instruction is supported. |