summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2011-12-27 18:15:01 +0800
committer Shih-wei Liao <sliao@google.com> 2012-02-16 22:50:09 -0800
commit76e1c797ff1af2d8f5e5ae992e2c1510c6dcaf00 (patch)
tree57a7e5451c18c2e8b559d4ec02c840cb7c96e292 /src/compiler_llvm/method_compiler.h
parent65c62d4b9e8e7dfc6f361abcc33d5ba452b9e21e (diff)
Implement floating-point binary arithmetic instructions.
Change-Id: Ie996a036c560713704a0c820a75dd6548bdb0047
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index a34d20601d..edde6ff0a6 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -289,6 +289,11 @@ class MethodCompiler {
IntArithmKind arithm,
JType op_jty);
+ llvm::Value* EmitFPArithmResultComputation(uint32_t dex_pc,
+ llvm::Value* lhs,
+ llvm::Value* rhs,
+ FPArithmKind arithm);
+
void EmitGuard_DivZeroException(uint32_t dex_pc,
llvm::Value* denominator,
JType op_jty);