| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ |
| 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ |
| 7 | 7 |
| 8 #include <ctype.h> | 8 #include <ctype.h> |
| 9 | 9 |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 frintm(fd, fn); | 818 frintm(fd, fn); |
| 819 } | 819 } |
| 820 | 820 |
| 821 | 821 |
| 822 void MacroAssembler::Frintn(const FPRegister& fd, const FPRegister& fn) { | 822 void MacroAssembler::Frintn(const FPRegister& fd, const FPRegister& fn) { |
| 823 DCHECK(allow_macro_instructions_); | 823 DCHECK(allow_macro_instructions_); |
| 824 frintn(fd, fn); | 824 frintn(fd, fn); |
| 825 } | 825 } |
| 826 | 826 |
| 827 | 827 |
| 828 void MacroAssembler::Frintp(const FPRegister& fd, const FPRegister& fn) { |
| 829 DCHECK(allow_macro_instructions_); |
| 830 frintp(fd, fn); |
| 831 } |
| 832 |
| 833 |
| 828 void MacroAssembler::Frintz(const FPRegister& fd, const FPRegister& fn) { | 834 void MacroAssembler::Frintz(const FPRegister& fd, const FPRegister& fn) { |
| 829 DCHECK(allow_macro_instructions_); | 835 DCHECK(allow_macro_instructions_); |
| 830 frintz(fd, fn); | 836 frintz(fd, fn); |
| 831 } | 837 } |
| 832 | 838 |
| 833 | 839 |
| 834 void MacroAssembler::Fsqrt(const FPRegister& fd, const FPRegister& fn) { | 840 void MacroAssembler::Fsqrt(const FPRegister& fd, const FPRegister& fn) { |
| 835 DCHECK(allow_macro_instructions_); | 841 DCHECK(allow_macro_instructions_); |
| 836 fsqrt(fd, fn); | 842 fsqrt(fd, fn); |
| 837 } | 843 } |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1693 // characters are reserved for controlling features of the instrumentation. | 1699 // characters are reserved for controlling features of the instrumentation. |
| 1694 DCHECK(isprint(marker_name[0]) && isprint(marker_name[1])); | 1700 DCHECK(isprint(marker_name[0]) && isprint(marker_name[1])); |
| 1695 | 1701 |
| 1696 InstructionAccurateScope scope(this, 1); | 1702 InstructionAccurateScope scope(this, 1); |
| 1697 movn(xzr, (marker_name[1] << 8) | marker_name[0]); | 1703 movn(xzr, (marker_name[1] << 8) | marker_name[0]); |
| 1698 } | 1704 } |
| 1699 | 1705 |
| 1700 } } // namespace v8::internal | 1706 } } // namespace v8::internal |
| 1701 | 1707 |
| 1702 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ | 1708 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ |
| OLD | NEW |