| OLD | NEW |
| 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 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1631 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { | 1631 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { |
| 1632 return ExternalReference( | 1632 return ExternalReference( |
| 1633 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); | 1633 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); |
| 1634 } | 1634 } |
| 1635 | 1635 |
| 1636 ExternalReference ExternalReference::ieee754_log1p_function(Isolate* isolate) { | 1636 ExternalReference ExternalReference::ieee754_log1p_function(Isolate* isolate) { |
| 1637 return ExternalReference( | 1637 return ExternalReference( |
| 1638 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log1p), BUILTIN_FP_CALL)); | 1638 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log1p), BUILTIN_FP_CALL)); |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 ExternalReference ExternalReference::ieee754_log2_function(Isolate* isolate) { |
| 1642 return ExternalReference( |
| 1643 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log2), BUILTIN_FP_CALL)); |
| 1644 } |
| 1645 |
| 1646 ExternalReference ExternalReference::ieee754_log10_function(Isolate* isolate) { |
| 1647 return ExternalReference( |
| 1648 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log10), BUILTIN_FP_CALL)); |
| 1649 } |
| 1650 |
| 1641 ExternalReference ExternalReference::math_exp_constants(int constant_index) { | 1651 ExternalReference ExternalReference::math_exp_constants(int constant_index) { |
| 1642 DCHECK(math_exp_data_initialized); | 1652 DCHECK(math_exp_data_initialized); |
| 1643 return ExternalReference( | 1653 return ExternalReference( |
| 1644 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); | 1654 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); |
| 1645 } | 1655 } |
| 1646 | 1656 |
| 1647 | 1657 |
| 1648 ExternalReference ExternalReference::math_exp_log_table() { | 1658 ExternalReference ExternalReference::math_exp_log_table() { |
| 1649 DCHECK(math_exp_data_initialized); | 1659 DCHECK(math_exp_data_initialized); |
| 1650 return ExternalReference(reinterpret_cast<void*>(math_exp_log_table_array)); | 1660 return ExternalReference(reinterpret_cast<void*>(math_exp_log_table_array)); |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2096 | 2106 |
| 2097 | 2107 |
| 2098 void Assembler::DataAlign(int m) { | 2108 void Assembler::DataAlign(int m) { |
| 2099 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2109 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2100 while ((pc_offset() & (m - 1)) != 0) { | 2110 while ((pc_offset() & (m - 1)) != 0) { |
| 2101 db(0); | 2111 db(0); |
| 2102 } | 2112 } |
| 2103 } | 2113 } |
| 2104 } // namespace internal | 2114 } // namespace internal |
| 2105 } // namespace v8 | 2115 } // namespace v8 |
| OLD | NEW |