From 76e1c797ff1af2d8f5e5ae992e2c1510c6dcaf00 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Tue, 27 Dec 2011 18:15:01 +0800 Subject: Implement floating-point binary arithmetic instructions. Change-Id: Ie996a036c560713704a0c820a75dd6548bdb0047 --- src/compiler_llvm/method_compiler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compiler_llvm/method_compiler.h') 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); -- cgit v1.2.3-59-g8ed1b