From babda950caf2d577aa57102c3281f0f3c36f3d6d Mon Sep 17 00:00:00 2001 From: jeffhao Date: Thu, 2 Aug 2012 15:55:30 -0700 Subject: Populate call info and inline float/double conversions on x86. Also cleaned up neg-float/neg-double implementation. Change-Id: I8e7fe76e36d3c31bae0a82a956691202c09b8e0c --- src/compiler/codegen/GenInvoke.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/codegen/GenInvoke.cc') diff --git a/src/compiler/codegen/GenInvoke.cc b/src/compiler/codegen/GenInvoke.cc index e6714aa807..9f1d58e304 100644 --- a/src/compiler/codegen/GenInvoke.cc +++ b/src/compiler/codegen/GenInvoke.cc @@ -752,7 +752,7 @@ bool genInlinedAbsLong(CompilationUnit *cUnit, CallInfo* info) bool genInlinedFloatCvt(CompilationUnit *cUnit, CallInfo* info) { -#if defined(TARGET_ARM) +#if defined(TARGET_ARM) || defined(TARGET_X86) RegLocation rlSrc = info->args[0]; RegLocation rlDest = inlineTarget(cUnit, info); storeValue(cUnit, rlDest, rlSrc); @@ -764,7 +764,7 @@ bool genInlinedFloatCvt(CompilationUnit *cUnit, CallInfo* info) bool genInlinedDoubleCvt(CompilationUnit *cUnit, CallInfo* info) { -#if defined(TARGET_ARM) +#if defined(TARGET_ARM) || defined(TARGET_X86) RegLocation rlSrc = info->args[0]; RegLocation rlDest = inlineTargetWide(cUnit, info); storeValueWide(cUnit, rlDest, rlSrc); -- cgit v1.2.3-59-g8ed1b