Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 2106883002: PPC/s390: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/s390/code-generator-s390.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 break; 1294 break;
1295 case kIeee754Float64Log1p: 1295 case kIeee754Float64Log1p:
1296 ASSEMBLE_IEEE754_UNOP(log1p); 1296 ASSEMBLE_IEEE754_UNOP(log1p);
1297 break; 1297 break;
1298 case kIeee754Float64Log2: 1298 case kIeee754Float64Log2:
1299 ASSEMBLE_IEEE754_UNOP(log2); 1299 ASSEMBLE_IEEE754_UNOP(log2);
1300 break; 1300 break;
1301 case kIeee754Float64Log10: 1301 case kIeee754Float64Log10:
1302 ASSEMBLE_IEEE754_UNOP(log10); 1302 ASSEMBLE_IEEE754_UNOP(log10);
1303 break; 1303 break;
1304 case kIeee754Float64Pow: {
1305 MathPowStub stub(isolate(), MathPowStub::DOUBLE);
1306 __ CallStub(&stub);
1307 __ Move(d1, d3);
1308 break;
1309 }
1304 case kPPC_Neg: 1310 case kPPC_Neg:
1305 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); 1311 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit());
1306 break; 1312 break;
1307 case kPPC_MaxDouble: 1313 case kPPC_MaxDouble:
1308 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); 1314 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg);
1309 break; 1315 break;
1310 case kPPC_MinDouble: 1316 case kPPC_MinDouble:
1311 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); 1317 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg);
1312 break; 1318 break;
1313 case kPPC_AbsDouble: 1319 case kPPC_AbsDouble:
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
2224 padding_size -= v8::internal::Assembler::kInstrSize; 2230 padding_size -= v8::internal::Assembler::kInstrSize;
2225 } 2231 }
2226 } 2232 }
2227 } 2233 }
2228 2234
2229 #undef __ 2235 #undef __
2230 2236
2231 } // namespace compiler 2237 } // namespace compiler
2232 } // namespace internal 2238 } // namespace internal
2233 } // namespace v8 2239 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/s390/code-generator-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698