| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 V(X64Movsxwl) \ | 68 V(X64Movsxwl) \ |
| 69 V(X64Movzxwl) \ | 69 V(X64Movzxwl) \ |
| 70 V(X64Movw) \ | 70 V(X64Movw) \ |
| 71 V(X64Movl) \ | 71 V(X64Movl) \ |
| 72 V(X64Movsxlq) \ | 72 V(X64Movsxlq) \ |
| 73 V(X64Movq) \ | 73 V(X64Movq) \ |
| 74 V(X64Movsd) \ | 74 V(X64Movsd) \ |
| 75 V(X64Movss) \ | 75 V(X64Movss) \ |
| 76 V(X64Lea32) \ | 76 V(X64Lea32) \ |
| 77 V(X64Lea) \ | 77 V(X64Lea) \ |
| 78 V(X64Dec32) \ |
| 79 V(X64Inc32) \ |
| 78 V(X64Push) \ | 80 V(X64Push) \ |
| 79 V(X64StoreWriteBarrier) | 81 V(X64StoreWriteBarrier) |
| 80 | 82 |
| 81 | 83 |
| 82 // Addressing modes represent the "shape" of inputs to an instruction. | 84 // Addressing modes represent the "shape" of inputs to an instruction. |
| 83 // Many instructions support multiple addressing modes. Addressing modes | 85 // Many instructions support multiple addressing modes. Addressing modes |
| 84 // are encoded into the InstructionCode of the instruction and tell the | 86 // are encoded into the InstructionCode of the instruction and tell the |
| 85 // code generator after register allocation which assembler method to call. | 87 // code generator after register allocation which assembler method to call. |
| 86 // | 88 // |
| 87 // We use the following local notation for addressing modes: | 89 // We use the following local notation for addressing modes: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 109 V(M1I) /* [ %r2*1 + K] */ \ | 111 V(M1I) /* [ %r2*1 + K] */ \ |
| 110 V(M2I) /* [ %r2*2 + K] */ \ | 112 V(M2I) /* [ %r2*2 + K] */ \ |
| 111 V(M4I) /* [ %r2*4 + K] */ \ | 113 V(M4I) /* [ %r2*4 + K] */ \ |
| 112 V(M8I) /* [ %r2*8 + K] */ | 114 V(M8I) /* [ %r2*8 + K] */ |
| 113 | 115 |
| 114 } // namespace compiler | 116 } // namespace compiler |
| 115 } // namespace internal | 117 } // namespace internal |
| 116 } // namespace v8 | 118 } // namespace v8 |
| 117 | 119 |
| 118 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ | 120 #endif // V8_COMPILER_X64_INSTRUCTION_CODES_X64_H_ |
| OLD | NEW |