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

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

Issue 2078273002: PPC/s390: [builtins] Introduce proper Float64Cos and Float64Sin. (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') | src/crankshaft/ppc/lithium-codegen-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 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 // Double operations 1245 // Double operations
1246 case kS390_ModDouble: 1246 case kS390_ModDouble:
1247 ASSEMBLE_FLOAT_MODULO(); 1247 ASSEMBLE_FLOAT_MODULO();
1248 break; 1248 break;
1249 case kIeee754Float64Atan: 1249 case kIeee754Float64Atan:
1250 ASSEMBLE_IEEE754_UNOP(atan); 1250 ASSEMBLE_IEEE754_UNOP(atan);
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 kIeee754Float64Cbrt:
1256 ASSEMBLE_IEEE754_UNOP(cbrt);
1257 break;
1258 case kIeee754Float64Sin:
1259 ASSEMBLE_IEEE754_UNOP(sin);
1260 break;
1261 case kIeee754Float64Cos:
1262 ASSEMBLE_IEEE754_UNOP(cos);
1263 break;
1255 case kIeee754Float64Exp: 1264 case kIeee754Float64Exp:
1256 ASSEMBLE_IEEE754_UNOP(exp); 1265 ASSEMBLE_IEEE754_UNOP(exp);
1257 break; 1266 break;
1267 case kIeee754Float64Expm1:
1268 ASSEMBLE_IEEE754_UNOP(expm1);
1269 break;
1270 case kIeee754Float64Atanh:
1271 ASSEMBLE_IEEE754_UNOP(atanh);
1272 break;
1258 case kIeee754Float64Log: 1273 case kIeee754Float64Log:
1259 ASSEMBLE_IEEE754_UNOP(log); 1274 ASSEMBLE_IEEE754_UNOP(log);
1260 break; 1275 break;
1261 case kIeee754Float64Log1p: 1276 case kIeee754Float64Log1p:
1262 ASSEMBLE_IEEE754_UNOP(log1p); 1277 ASSEMBLE_IEEE754_UNOP(log1p);
1263 break; 1278 break;
1264 case kIeee754Float64Log2: 1279 case kIeee754Float64Log2:
1265 ASSEMBLE_IEEE754_UNOP(log2); 1280 ASSEMBLE_IEEE754_UNOP(log2);
1266 break; 1281 break;
1267 case kIeee754Float64Log10: 1282 case kIeee754Float64Log10:
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
2210 padding_size -= 2; 2225 padding_size -= 2;
2211 } 2226 }
2212 } 2227 }
2213 } 2228 }
2214 2229
2215 #undef __ 2230 #undef __
2216 2231
2217 } // namespace compiler 2232 } // namespace compiler
2218 } // namespace internal 2233 } // namespace internal
2219 } // namespace v8 2234 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698