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

Side by Side Diff: src/assembler.cc

Issue 136643008: A64: Synchronize with r18256. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/ast.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 static double div_two_doubles(double x, double y) { 1416 static double div_two_doubles(double x, double y) {
1417 return x / y; 1417 return x / y;
1418 } 1418 }
1419 1419
1420 1420
1421 static double mod_two_doubles(double x, double y) { 1421 static double mod_two_doubles(double x, double y) {
1422 return modulo(x, y); 1422 return modulo(x, y);
1423 } 1423 }
1424 1424
1425 1425
1426 static double math_sin_double(double x) {
1427 return sin(x);
1428 }
1429
1430
1431 static double math_cos_double(double x) {
1432 return cos(x);
1433 }
1434
1435
1436 static double math_tan_double(double x) {
1437 return tan(x);
1438 }
1439
1440
1441 static double math_log_double(double x) { 1426 static double math_log_double(double x) {
1442 return log(x); 1427 return log(x);
1443 } 1428 }
1444 1429
1445 1430
1446 ExternalReference ExternalReference::math_sin_double_function(
1447 Isolate* isolate) {
1448 return ExternalReference(Redirect(isolate,
1449 FUNCTION_ADDR(math_sin_double),
1450 BUILTIN_FP_CALL));
1451 }
1452
1453
1454 ExternalReference ExternalReference::math_cos_double_function(
1455 Isolate* isolate) {
1456 return ExternalReference(Redirect(isolate,
1457 FUNCTION_ADDR(math_cos_double),
1458 BUILTIN_FP_CALL));
1459 }
1460
1461
1462 ExternalReference ExternalReference::math_tan_double_function(
1463 Isolate* isolate) {
1464 return ExternalReference(Redirect(isolate,
1465 FUNCTION_ADDR(math_tan_double),
1466 BUILTIN_FP_CALL));
1467 }
1468
1469
1470 ExternalReference ExternalReference::math_log_double_function( 1431 ExternalReference ExternalReference::math_log_double_function(
1471 Isolate* isolate) { 1432 Isolate* isolate) {
1472 return ExternalReference(Redirect(isolate, 1433 return ExternalReference(Redirect(isolate,
1473 FUNCTION_ADDR(math_log_double), 1434 FUNCTION_ADDR(math_log_double),
1474 BUILTIN_FP_CALL)); 1435 BUILTIN_FP_CALL));
1475 } 1436 }
1476 1437
1477 1438
1478 ExternalReference ExternalReference::math_exp_constants(int constant_index) { 1439 ExternalReference ExternalReference::math_exp_constants(int constant_index) {
1479 ASSERT(math_exp_data_initialized); 1440 ASSERT(math_exp_data_initialized);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1702 state_.written_position = state_.current_position; 1663 state_.written_position = state_.current_position;
1703 written = true; 1664 written = true;
1704 } 1665 }
1705 1666
1706 // Return whether something was written. 1667 // Return whether something was written.
1707 return written; 1668 return written;
1708 } 1669 }
1709 1670
1710 } } // namespace v8::internal 1671 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698