1.1 --- a/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp Mon May 14 09:36:00 2012 -0700 1.2 +++ b/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp Tue May 15 10:10:23 2012 +0200 1.3 @@ -738,7 +738,8 @@ 1.4 case vmIntrinsics::_dlog: // fall through 1.5 case vmIntrinsics::_dsin: // fall through 1.6 case vmIntrinsics::_dtan: // fall through 1.7 - case vmIntrinsics::_dcos: { 1.8 + case vmIntrinsics::_dcos: // fall through 1.9 + case vmIntrinsics::_dexp: { 1.10 assert(x->number_of_arguments() == 1, "wrong type"); 1.11 1.12 address runtime_entry = NULL; 1.13 @@ -758,12 +759,23 @@ 1.14 case vmIntrinsics::_dlog10: 1.15 runtime_entry = CAST_FROM_FN_PTR(address, SharedRuntime::dlog10); 1.16 break; 1.17 + case vmIntrinsics::_dexp: 1.18 + runtime_entry = CAST_FROM_FN_PTR(address, SharedRuntime::dexp); 1.19 + break; 1.20 default: 1.21 ShouldNotReachHere(); 1.22 } 1.23 1.24 LIR_Opr result = call_runtime(x->argument_at(0), runtime_entry, x->type(), NULL); 1.25 set_result(x, result); 1.26 + break; 1.27 + } 1.28 + case vmIntrinsics::_dpow: { 1.29 + assert(x->number_of_arguments() == 2, "wrong type"); 1.30 + address runtime_entry = CAST_FROM_FN_PTR(address, SharedRuntime::dpow); 1.31 + LIR_Opr result = call_runtime(x->argument_at(0), x->argument_at(1), runtime_entry, x->type(), NULL); 1.32 + set_result(x, result); 1.33 + break; 1.34 } 1.35 } 1.36 }