summaryrefslogtreecommitdiff
path: root/runtime/instruction_set.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-04-16 15:18:13 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-04-16 15:18:14 +0000
commitb94fae66dac14be955c68028447cdad84ee22bf9 (patch)
treec6af9a1d373b4f8763c9001b8e81c9ae772011ab /runtime/instruction_set.h
parent2faf284e072230d4fd447955fa72ac4d9a3b51a0 (diff)
parentaf13ad9fd18b6f75fe82e7995224c55654594f93 (diff)
Merge "Centralize instruction-set pointer-size, alignment, 64b-width code in instruction_set.h/cc"
Diffstat (limited to 'runtime/instruction_set.h')
-rw-r--r--runtime/instruction_set.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/instruction_set.h b/runtime/instruction_set.h
index a08becfb76..c746e06307 100644
--- a/runtime/instruction_set.h
+++ b/runtime/instruction_set.h
@@ -35,6 +35,10 @@ enum InstructionSet {
};
std::ostream& operator<<(std::ostream& os, const InstructionSet& rhs);
+size_t GetInstructionSetPointerSize(InstructionSet isa);
+size_t GetInstructionSetAlignment(InstructionSet isa);
+bool Is64BitInstructionSet(InstructionSet isa);
+
#if defined(__arm__)
static constexpr InstructionSet kRuntimeISA = kArm;
#elif defined(__aarch64__)