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

Side by Side Diff: src/compiler/s390/code-generator-s390.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 | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/ppc/code-stubs-ppc.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 break; 1278 break;
1279 case kIeee754Float64Log1p: 1279 case kIeee754Float64Log1p:
1280 ASSEMBLE_IEEE754_UNOP(log1p); 1280 ASSEMBLE_IEEE754_UNOP(log1p);
1281 break; 1281 break;
1282 case kIeee754Float64Log2: 1282 case kIeee754Float64Log2:
1283 ASSEMBLE_IEEE754_UNOP(log2); 1283 ASSEMBLE_IEEE754_UNOP(log2);
1284 break; 1284 break;
1285 case kIeee754Float64Log10: 1285 case kIeee754Float64Log10:
1286 ASSEMBLE_IEEE754_UNOP(log10); 1286 ASSEMBLE_IEEE754_UNOP(log10);
1287 break; 1287 break;
1288 case kIeee754Float64Pow: {
1289 MathPowStub stub(isolate(), MathPowStub::DOUBLE);
1290 __ CallStub(&stub);
1291 __ Move(d1, d3);
1292 break;
1293 }
1288 case kS390_Neg: 1294 case kS390_Neg:
1289 __ LoadComplementRR(i.OutputRegister(), i.InputRegister(0)); 1295 __ LoadComplementRR(i.OutputRegister(), i.InputRegister(0));
1290 break; 1296 break;
1291 case kS390_MaxDouble: 1297 case kS390_MaxDouble:
1292 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg, kScratchReg); 1298 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg, kScratchReg);
1293 break; 1299 break;
1294 case kS390_MinDouble: 1300 case kS390_MinDouble:
1295 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg, kScratchReg); 1301 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg, kScratchReg);
1296 break; 1302 break;
1297 case kS390_AbsDouble: 1303 case kS390_AbsDouble:
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 padding_size -= 2; 2234 padding_size -= 2;
2229 } 2235 }
2230 } 2236 }
2231 } 2237 }
2232 2238
2233 #undef __ 2239 #undef __
2234 2240
2235 } // namespace compiler 2241 } // namespace compiler
2236 } // namespace internal 2242 } // namespace internal
2237 } // namespace v8 2243 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/ppc/code-stubs-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698