Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 2ae1fc909e55ac72c5eea5f4ec09950c005f6443..b42694c2cac642fbad717137530fdc379425c76b 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -900,6 +900,14 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
case kIeee754Float64Log10: |
ASSEMBLE_IEEE754_UNOP(log10); |
break; |
+ case kIeee754Float64Pow: { |
+ // TODO(bmeurer): Improve integration of the stub. |
+ __ Movsd(xmm2, xmm0); |
+ MathPowStub stub(isolate(), MathPowStub::DOUBLE); |
+ __ CallStub(&stub); |
+ __ Movsd(xmm0, xmm3); |
+ break; |
+ } |
case kIeee754Float64Sin: |
ASSEMBLE_IEEE754_UNOP(sin); |
break; |