| 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 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 DCHECK(allow_macro_instructions_); | 870 DCHECK(allow_macro_instructions_); |
| 871 hlt(code); | 871 hlt(code); |
| 872 } | 872 } |
| 873 | 873 |
| 874 | 874 |
| 875 void MacroAssembler::Isb() { | 875 void MacroAssembler::Isb() { |
| 876 DCHECK(allow_macro_instructions_); | 876 DCHECK(allow_macro_instructions_); |
| 877 isb(); | 877 isb(); |
| 878 } | 878 } |
| 879 | 879 |
| 880 | 880 void MacroAssembler::Ldr(const CPURegister& rt, const Operand& operand) { |
| 881 void MacroAssembler::Ldr(const CPURegister& rt, const Immediate& imm) { | |
| 882 DCHECK(allow_macro_instructions_); | 881 DCHECK(allow_macro_instructions_); |
| 883 ldr(rt, imm); | 882 ldr(rt, operand); |
| 884 } | 883 } |
| 885 | 884 |
| 886 | 885 |
| 887 void MacroAssembler::Ldr(const CPURegister& rt, double imm) { | 886 void MacroAssembler::Ldr(const CPURegister& rt, double imm) { |
| 888 DCHECK(allow_macro_instructions_); | 887 DCHECK(allow_macro_instructions_); |
| 889 DCHECK(rt.Is64Bits()); | 888 DCHECK(rt.Is64Bits()); |
| 890 ldr(rt, Immediate(double_to_rawbits(imm))); | 889 ldr(rt, Immediate(double_to_rawbits(imm))); |
| 891 } | 890 } |
| 892 | 891 |
| 893 | 892 |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1669 DCHECK(isprint(marker_name[0]) && isprint(marker_name[1])); | 1668 DCHECK(isprint(marker_name[0]) && isprint(marker_name[1])); |
| 1670 | 1669 |
| 1671 InstructionAccurateScope scope(this, 1); | 1670 InstructionAccurateScope scope(this, 1); |
| 1672 movn(xzr, (marker_name[1] << 8) | marker_name[0]); | 1671 movn(xzr, (marker_name[1] << 8) | marker_name[0]); |
| 1673 } | 1672 } |
| 1674 | 1673 |
| 1675 } // namespace internal | 1674 } // namespace internal |
| 1676 } // namespace v8 | 1675 } // namespace v8 |
| 1677 | 1676 |
| 1678 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ | 1677 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_ |
| OLD | NEW |