summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorZheng Xu <zheng.xu@arm.com>2014-06-17 12:25:48 +0800
committerbuzbee <buzbee@google.com>2014-06-17 10:53:08 -0700
commit0210d11658becc2bf02fe79788c87276a857d0e9 (patch)
tree020becbcdf3b5f16b05835f22e2c31a27d73cd91 /compiler
parent838b38fa3b2fb4a64f8a316459d372020f6e8feb (diff)
downloadart-0210d11658becc2bf02fe79788c87276a857d0e9.zip
art-0210d11658becc2bf02fe79788c87276a857d0e9.tar.gz
art-0210d11658becc2bf02fe79788c87276a857d0e9.tar.bz2
AArch64: Add transition assembly to wrapper native functions.
There is slight difference between managed code ABI and AAPCS. We can make managed code ABI to be the same with AAPCS. But considering that, we might introduce more differences later for performance. It is better to have a wrapper to deal with the differences. Change-Id: I46ced072e9e3a83f713d2bf86fa478fc6144ee81
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/quick/arm64/fp_arm64.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/dex/quick/arm64/fp_arm64.cc b/compiler/dex/quick/arm64/fp_arm64.cc
index 265e8d2..9814cb4 100644
--- a/compiler/dex/quick/arm64/fp_arm64.cc
+++ b/compiler/dex/quick/arm64/fp_arm64.cc
@@ -45,7 +45,6 @@ void Arm64Mir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest
case Instruction::REM_FLOAT_2ADDR:
case Instruction::REM_FLOAT:
FlushAllRegs(); // Send everything to home location
- // TODO: Fix xSELF.
CallRuntimeHelperRegLocationRegLocation(QUICK_ENTRYPOINT_OFFSET(8, pFmodf), rl_src1, rl_src2,
false);
rl_result = GetReturn(kFPReg);
@@ -89,7 +88,6 @@ void Arm64Mir2Lir::GenArithOpDouble(Instruction::Code opcode,
case Instruction::REM_DOUBLE_2ADDR:
case Instruction::REM_DOUBLE:
FlushAllRegs(); // Send everything to home location
- // TODO: Fix xSELF.
{
ThreadOffset<8> helper_offset = QUICK_ENTRYPOINT_OFFSET(8, pFmod);
RegStorage r_tgt = CallHelperSetup(helper_offset);