| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 5 #ifndef V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 6 #define V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 namespace compiler { | 10 namespace compiler { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 V(X64Movl) \ | 80 V(X64Movl) \ |
| 81 V(X64Movsxlq) \ | 81 V(X64Movsxlq) \ |
| 82 V(X64Movq) \ | 82 V(X64Movq) \ |
| 83 V(X64Movsd) \ | 83 V(X64Movsd) \ |
| 84 V(X64Movss) \ | 84 V(X64Movss) \ |
| 85 V(X64Lea32) \ | 85 V(X64Lea32) \ |
| 86 V(X64Lea) \ | 86 V(X64Lea) \ |
| 87 V(X64Dec32) \ | 87 V(X64Dec32) \ |
| 88 V(X64Inc32) \ | 88 V(X64Inc32) \ |
| 89 V(X64Push) \ | 89 V(X64Push) \ |
| 90 V(X64StoreWriteBarrier) | 90 V(X64StoreWriteBarrier) \ |
| 91 V(X64StackCheck) |
| 91 | 92 |
| 92 | 93 |
| 93 // Addressing modes represent the "shape" of inputs to an instruction. | 94 // Addressing modes represent the "shape" of inputs to an instruction. |
| 94 // Many instructions support multiple addressing modes. Addressing modes | 95 // Many instructions support multiple addressing modes. Addressing modes |
| 95 // are encoded into the InstructionCode of the instruction and tell the | 96 // are encoded into the InstructionCode of the instruction and tell the |
| 96 // code generator after register allocation which assembler method to call. | 97 // code generator after register allocation which assembler method to call. |
| 97 // | 98 // |
| 98 // We use the following local notation for addressing modes: | 99 // We use the following local notation for addressing modes: |
| 99 // | 100 // |
| 100 // M = memory operand | 101 // M = memory operand |
| (...skipping 19 matching lines...) Expand all Loading... |
| 120 V(M1I) /* [ %r2*1 + K] */ \ | 121 V(M1I) /* [ %r2*1 + K] */ \ |
| 121 V(M2I) /* [ %r2*2 + K] */ \ | 122 V(M2I) /* [ %r2*2 + K] */ \ |
| 122 V(M4I) /* [ %r2*4 + K] */ \ | 123 V(M4I) /* [ %r2*4 + K] */ \ |
| 123 V(M8I) /* [ %r2*8 + K] */ | 124 V(M8I) /* [ %r2*8 + K] */ |
| 124 | 125 |
| 125 } // namespace compiler | 126 } // namespace compiler |
| 126 } // namespace internal | 127 } // namespace internal |
| 127 } // namespace v8 | 128 } // namespace v8 |
| 128 | 129 |
| 129 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 130 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| OLD | NEW |