commit | 55bd45f4ea40b9a0af323f813d07f23d7a8ed397 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Apr 04 17:31:20 2012 -0700 |
committer | Ian Rogers <irogers@google.com> | Wed Apr 04 18:23:36 2012 -0700 |
tree | f315fc79924662e612c6825b6d9b20ba2178853e | |
parent | 5e284224e5525ee0a8494a73d84c8ef86e022a0a [diff] [blame] |
More X86 fixes. Support for long divides and sparse switches. Change-Id: I07cdf6a9a2e4c6156cc70a429bf58f22e0e45ef1
diff --git a/src/oat/runtime/support_math.cc b/src/oat/runtime/support_math.cc index adef64a..133b857 100644 --- a/src/oat/runtime/support_math.cc +++ b/src/oat/runtime/support_math.cc
@@ -94,4 +94,12 @@ } } +extern "C" int64_t artLdivFromCode(int64_t a, int64_t b) { + return a / b; +} + +extern "C" int64_t artLdivmodFromCode(int64_t a, int64_t b) { + return a % b; +} + } // namespace art