diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-14 15:45:59 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-01-15 11:32:48 -0800 |
commit | 57b34294758e9c00993913ebe43c7ee4698a5cc6 (patch) | |
tree | 981821619027686f83fbe00445299b0522f1df05 /runtime/entrypoints | |
parent | 4945bfef00ac446d9c5458e55500229d463ab4c3 (diff) | |
download | art-57b34294758e9c00993913ebe43c7ee4698a5cc6.zip art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.gz art-57b34294758e9c00993913ebe43c7ee4698a5cc6.tar.bz2 |
ART: Allow to compile interpret-only mips64 files
Include enough infrastructure to allow cross-compiling for mips64,
interpret-only. This includes the instruction-set-features, frame
size info and utils assembler.
Also add a disassembler for oatdump, and support in patchoat.
Note: the runtime cannot run mips64, yet.
Change-Id: Id106581fa76b478984741c62a8a03be0f370d992
Diffstat (limited to 'runtime/entrypoints')
-rw-r--r-- | runtime/entrypoints/quick/callee_save_frame.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/entrypoints/quick/callee_save_frame.h b/runtime/entrypoints/quick/callee_save_frame.h index 9ffd199..8cd6ca6 100644 --- a/runtime/entrypoints/quick/callee_save_frame.h +++ b/runtime/entrypoints/quick/callee_save_frame.h @@ -27,6 +27,7 @@ #include "arch/arm/quick_method_frame_info_arm.h" #include "arch/arm64/quick_method_frame_info_arm64.h" #include "arch/mips/quick_method_frame_info_mips.h" +#include "arch/mips64/quick_method_frame_info_mips64.h" #include "arch/x86/quick_method_frame_info_x86.h" #include "arch/x86_64/quick_method_frame_info_x86_64.h" @@ -76,6 +77,7 @@ static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::Call return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : + isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) : isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) : @@ -88,6 +90,7 @@ static constexpr size_t GetConstExprPointerSize(InstructionSet isa) { return (isa == kArm || isa == kThumb2) ? kArmPointerSize : isa == kArm64 ? kArm64PointerSize : isa == kMips ? kMipsPointerSize : + isa == kMips64 ? kMips64PointerSize : isa == kX86 ? kX86PointerSize : isa == kX86_64 ? kX86_64PointerSize : isa == kNone ? (LOG(FATAL) << "kNone has no pointer size", 0) : |