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

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

Issue 2113193002: PPC/s390: [builtins] Unify Cosh, Sinh and Tanh as exports from flibm (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') | 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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 break; 1254 break;
1255 case kIeee754Float64Tan: 1255 case kIeee754Float64Tan:
1256 ASSEMBLE_IEEE754_UNOP(tan); 1256 ASSEMBLE_IEEE754_UNOP(tan);
1257 break; 1257 break;
1258 case kIeee754Float64Cbrt: 1258 case kIeee754Float64Cbrt:
1259 ASSEMBLE_IEEE754_UNOP(cbrt); 1259 ASSEMBLE_IEEE754_UNOP(cbrt);
1260 break; 1260 break;
1261 case kIeee754Float64Sin: 1261 case kIeee754Float64Sin:
1262 ASSEMBLE_IEEE754_UNOP(sin); 1262 ASSEMBLE_IEEE754_UNOP(sin);
1263 break; 1263 break;
1264 case kIeee754Float64Sinh:
1265 ASSEMBLE_IEEE754_UNOP(sinh);
1266 break;
1264 case kIeee754Float64Cos: 1267 case kIeee754Float64Cos:
1265 ASSEMBLE_IEEE754_UNOP(cos); 1268 ASSEMBLE_IEEE754_UNOP(cos);
1266 break; 1269 break;
1270 case kIeee754Float64Cosh:
1271 ASSEMBLE_IEEE754_UNOP(cosh);
1272 break;
1267 case kIeee754Float64Exp: 1273 case kIeee754Float64Exp:
1268 ASSEMBLE_IEEE754_UNOP(exp); 1274 ASSEMBLE_IEEE754_UNOP(exp);
1269 break; 1275 break;
1270 case kIeee754Float64Expm1: 1276 case kIeee754Float64Expm1:
1271 ASSEMBLE_IEEE754_UNOP(expm1); 1277 ASSEMBLE_IEEE754_UNOP(expm1);
1272 break; 1278 break;
1273 case kIeee754Float64Atanh: 1279 case kIeee754Float64Atanh:
1274 ASSEMBLE_IEEE754_UNOP(atanh); 1280 ASSEMBLE_IEEE754_UNOP(atanh);
1275 break; 1281 break;
1282 case kIeee754Float64Tanh:
1283 ASSEMBLE_IEEE754_UNOP(tanh);
1284 break;
1276 case kIeee754Float64Log: 1285 case kIeee754Float64Log:
1277 ASSEMBLE_IEEE754_UNOP(log); 1286 ASSEMBLE_IEEE754_UNOP(log);
1278 break; 1287 break;
1279 case kIeee754Float64Log1p: 1288 case kIeee754Float64Log1p:
1280 ASSEMBLE_IEEE754_UNOP(log1p); 1289 ASSEMBLE_IEEE754_UNOP(log1p);
1281 break; 1290 break;
1282 case kIeee754Float64Log2: 1291 case kIeee754Float64Log2:
1283 ASSEMBLE_IEEE754_UNOP(log2); 1292 ASSEMBLE_IEEE754_UNOP(log2);
1284 break; 1293 break;
1285 case kIeee754Float64Log10: 1294 case kIeee754Float64Log10:
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 padding_size -= 2; 2243 padding_size -= 2;
2235 } 2244 }
2236 } 2245 }
2237 } 2246 }
2238 2247
2239 #undef __ 2248 #undef __
2240 2249
2241 } // namespace compiler 2250 } // namespace compiler
2242 } // namespace internal 2251 } // namespace internal
2243 } // namespace v8 2252 } // 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