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

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

Issue 2070893002: PPC/S390: [builtins] Introduce proper Float64Log2 and Float64Log10 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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') | no next file » | 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 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 break; 1251 break;
1252 case kIeee754Float64Atan2: 1252 case kIeee754Float64Atan2:
1253 ASSEMBLE_IEEE754_BINOP(atan2); 1253 ASSEMBLE_IEEE754_BINOP(atan2);
1254 break; 1254 break;
1255 case kIeee754Float64Log: 1255 case kIeee754Float64Log:
1256 ASSEMBLE_IEEE754_UNOP(log); 1256 ASSEMBLE_IEEE754_UNOP(log);
1257 break; 1257 break;
1258 case kIeee754Float64Log1p: 1258 case kIeee754Float64Log1p:
1259 ASSEMBLE_IEEE754_UNOP(log1p); 1259 ASSEMBLE_IEEE754_UNOP(log1p);
1260 break; 1260 break;
1261 case kIeee754Float64Log2:
1262 ASSEMBLE_IEEE754_UNOP(log2);
1263 break;
1264 case kIeee754Float64Log10:
1265 ASSEMBLE_IEEE754_UNOP(log10);
1266 break;
1261 case kS390_Neg: 1267 case kS390_Neg:
1262 __ LoadComplementRR(i.OutputRegister(), i.InputRegister(0)); 1268 __ LoadComplementRR(i.OutputRegister(), i.InputRegister(0));
1263 break; 1269 break;
1264 case kS390_MaxDouble: 1270 case kS390_MaxDouble:
1265 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg, kScratchReg); 1271 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg, kScratchReg);
1266 break; 1272 break;
1267 case kS390_MinDouble: 1273 case kS390_MinDouble:
1268 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg, kScratchReg); 1274 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg, kScratchReg);
1269 break; 1275 break;
1270 case kS390_AbsDouble: 1276 case kS390_AbsDouble:
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
2199 padding_size -= 2; 2205 padding_size -= 2;
2200 } 2206 }
2201 } 2207 }
2202 } 2208 }
2203 2209
2204 #undef __ 2210 #undef __
2205 2211
2206 } // namespace compiler 2212 } // namespace compiler
2207 } // namespace internal 2213 } // namespace internal
2208 } // namespace v8 2214 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698