OSDN Git Service

MIPS32: Add direct calls to math intrinsics.
authorChris Larsen <chris.larsen@imgtec.com>
Fri, 24 Mar 2017 19:11:54 +0000 (12:11 -0700)
committerChris Larsen <chris.larsen@imgtec.com>
Wed, 12 Apr 2017 18:08:24 +0000 (11:08 -0700)
commitb9005fa3d370198fea7a750b645954d618594139
tree17013ee81fb25be28820ad61afac30138ccc3e15
parentde833ef742ccfc0d23921fa43086fd07d80ca5ba
MIPS32: Add direct calls to math intrinsics.

- cos       - sin       - acos      - asin
- atan      - atan2     - cbrt      - cosh
- exp       - expm1     - hypot     - log
- log10     - nextAfter - sinh      - tan
- tanh

Test: run-test --no-prebuild --optimizing 123-inline-execute2
Test: run-test --no-prebuild 123-inline-execute2
Test: run-test --optimizing 123-inline-execute2
Test: run-test 123-inline-execute2
Test: Booted MIPS32R2 and MIPS64R6 emulators.

Note: Ran tests under both emulators, and on CI20 hardware.

Change-Id: I4c1782d609a985ae49737f47c43caa5b0b6a10e3
compiler/optimizing/intrinsics_mips.cc
runtime/arch/mips/entrypoints_direct_mips.h
runtime/arch/mips/entrypoints_init_mips.cc