diff options
author | Roland Levillain <rpl@google.com> | 2015-04-20 15:14:36 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2015-04-20 15:53:12 +0100 |
commit | 232ade0b9401404ad4b61b1003551b58b96195a8 (patch) | |
tree | 54fe7cc37674246dead84f883a4c8be2123e7d26 /compiler/optimizing/code_generator_x86.h | |
parent | 2e0f89b1b61685f7c322a4c6ec3e3b4839e76d64 (diff) | |
download | art-232ade0b9401404ad4b61b1003551b58b96195a8.tar.gz art-232ade0b9401404ad4b61b1003551b58b96195a8.tar.bz2 art-232ade0b9401404ad4b61b1003551b58b96195a8.zip |
Revert "Revert "Optimizing: Fix long-to-fp conversion on x86.""
This reverts commit 386ce406f150645158d6067c4e0a36565aefc44f.
Bug: 20413424
Change-Id: I6e93ff132907f2653f1ae12d6676ff2298f62ca1
Diffstat (limited to 'compiler/optimizing/code_generator_x86.h')
-rw-r--r-- | compiler/optimizing/code_generator_x86.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_x86.h b/compiler/optimizing/code_generator_x86.h index 368ae0fb0e..27062e1742 100644 --- a/compiler/optimizing/code_generator_x86.h +++ b/compiler/optimizing/code_generator_x86.h @@ -174,8 +174,10 @@ class InstructionCodeGeneratorX86 : public HGraphVisitor { void GenerateMemoryBarrier(MemBarrierKind kind); void HandleFieldSet(HInstruction* instruction, const FieldInfo& field_info); void HandleFieldGet(HInstruction* instruction, const FieldInfo& field_info); + // Push value to FPU stack. `is_fp` specifies whether the value is floating point or not. + // `is_wide` specifies whether it is long/double or not. void PushOntoFPStack(Location source, uint32_t temp_offset, - uint32_t stack_adjustment, bool is_float); + uint32_t stack_adjustment, bool is_fp, bool is_wide); void GenerateImplicitNullCheck(HNullCheck* instruction); void GenerateExplicitNullCheck(HNullCheck* instruction); |