OSDN Git Service

Subzero, MIPS32: Introduction of genTargetHelperCallFor
authorSrdjan Obucina <srdjan.obucina@imgtec.com>
Fri, 9 Sep 2016 16:39:52 +0000 (09:39 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Fri, 9 Sep 2016 16:39:52 +0000 (09:39 -0700)
commitb85cde16ed42ab738e1cfcf0f39b06eae43fec99
treea887073634826ab59f42c7bc4125025bc833169f
parent84ea9a70bc14ec528d8d377462317fd46660f3de
Subzero, MIPS32: Introduction of genTargetHelperCallFor

genTargetHelperCallFor provides framework for calling Subzero
runtime functions. This patch implements calls and tests for
some of the available functions, but not all. Current
lowerCall implementation does not allow more (Handling of FP
return values is missing).

R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/2317653004 .

Patch from Srdjan Obucina <srdjan.obucina@imgtec.com>.
src/IceTargetLoweringMIPS32.cpp
src/IceTargetLoweringMIPS32.h
tests_lit/llvm2ice_tests/64bit.pnacl.ll
tests_lit/llvm2ice_tests/arith.ll
tests_lit/llvm2ice_tests/fp.arith.ll
tests_lit/llvm2ice_tests/nacl-mem-intrinsics.ll
tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll