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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1566 ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { | 1566 ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { |
1567 return ExternalReference(Redirect( | 1567 return ExternalReference(Redirect( |
1568 isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); | 1568 isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); |
1569 } | 1569 } |
1570 | 1570 |
1571 ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { | 1571 ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { |
1572 return ExternalReference(Redirect( | 1572 return ExternalReference(Redirect( |
1573 isolate, FUNCTION_ADDR(base::ieee754::atanh), BUILTIN_FP_FP_CALL)); | 1573 isolate, FUNCTION_ADDR(base::ieee754::atanh), BUILTIN_FP_FP_CALL)); |
1574 } | 1574 } |
1575 | 1575 |
| 1576 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { |
| 1577 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), |
| 1578 BUILTIN_FP_FP_CALL)); |
| 1579 } |
| 1580 |
1576 ExternalReference ExternalReference::ieee754_cos_function(Isolate* isolate) { | 1581 ExternalReference ExternalReference::ieee754_cos_function(Isolate* isolate) { |
1577 return ExternalReference( | 1582 return ExternalReference( |
1578 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cos), BUILTIN_FP_CALL)); | 1583 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cos), BUILTIN_FP_CALL)); |
1579 } | 1584 } |
1580 | 1585 |
1581 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { | 1586 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { |
1582 return ExternalReference( | 1587 return ExternalReference( |
1583 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); | 1588 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); |
1584 } | 1589 } |
1585 | 1590 |
| 1591 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { |
| 1592 return ExternalReference(Redirect( |
| 1593 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); |
| 1594 } |
| 1595 |
1586 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { | 1596 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { |
1587 return ExternalReference( | 1597 return ExternalReference( |
1588 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); | 1598 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); |
1589 } | 1599 } |
1590 | 1600 |
1591 ExternalReference ExternalReference::ieee754_log1p_function(Isolate* isolate) { | 1601 ExternalReference ExternalReference::ieee754_log1p_function(Isolate* isolate) { |
1592 return ExternalReference( | 1602 return ExternalReference( |
1593 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log1p), BUILTIN_FP_CALL)); | 1603 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log1p), BUILTIN_FP_CALL)); |
1594 } | 1604 } |
1595 | 1605 |
| 1606 ExternalReference ExternalReference::ieee754_log10_function(Isolate* isolate) { |
| 1607 return ExternalReference( |
| 1608 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log10), BUILTIN_FP_CALL)); |
| 1609 } |
| 1610 |
1596 ExternalReference ExternalReference::ieee754_log2_function(Isolate* isolate) { | 1611 ExternalReference ExternalReference::ieee754_log2_function(Isolate* isolate) { |
1597 return ExternalReference( | 1612 return ExternalReference( |
1598 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log2), BUILTIN_FP_CALL)); | 1613 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log2), BUILTIN_FP_CALL)); |
1599 } | 1614 } |
1600 | 1615 |
1601 ExternalReference ExternalReference::ieee754_log10_function(Isolate* isolate) { | |
1602 return ExternalReference( | |
1603 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log10), BUILTIN_FP_CALL)); | |
1604 } | |
1605 | |
1606 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { | |
1607 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), | |
1608 BUILTIN_FP_FP_CALL)); | |
1609 } | |
1610 | |
1611 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { | |
1612 return ExternalReference(Redirect( | |
1613 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); | |
1614 } | |
1615 | |
1616 ExternalReference ExternalReference::ieee754_sin_function(Isolate* isolate) { | 1616 ExternalReference ExternalReference::ieee754_sin_function(Isolate* isolate) { |
1617 return ExternalReference( | 1617 return ExternalReference( |
1618 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sin), BUILTIN_FP_CALL)); | 1618 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sin), BUILTIN_FP_CALL)); |
1619 } | 1619 } |
1620 | 1620 |
| 1621 ExternalReference ExternalReference::ieee754_tan_function(Isolate* isolate) { |
| 1622 return ExternalReference( |
| 1623 Redirect(isolate, FUNCTION_ADDR(base::ieee754::tan), BUILTIN_FP_CALL)); |
| 1624 } |
| 1625 |
1621 ExternalReference ExternalReference::page_flags(Page* page) { | 1626 ExternalReference ExternalReference::page_flags(Page* page) { |
1622 return ExternalReference(reinterpret_cast<Address>(page) + | 1627 return ExternalReference(reinterpret_cast<Address>(page) + |
1623 MemoryChunk::kFlagsOffset); | 1628 MemoryChunk::kFlagsOffset); |
1624 } | 1629 } |
1625 | 1630 |
1626 | 1631 |
1627 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { | 1632 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { |
1628 return ExternalReference(entry); | 1633 return ExternalReference(entry); |
1629 } | 1634 } |
1630 | 1635 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2063 | 2068 |
2064 | 2069 |
2065 void Assembler::DataAlign(int m) { | 2070 void Assembler::DataAlign(int m) { |
2066 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2071 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2067 while ((pc_offset() & (m - 1)) != 0) { | 2072 while ((pc_offset() & (m - 1)) != 0) { |
2068 db(0); | 2073 db(0); |
2069 } | 2074 } |
2070 } | 2075 } |
2071 } // namespace internal | 2076 } // namespace internal |
2072 } // namespace v8 | 2077 } // namespace v8 |
OLD | NEW |