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_X87_INSTRUCTION_CODES_X87_H_ | 5 #ifndef V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ | 6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
7 | 7 |
8 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
9 #include "src/compiler/instruction-codes.h" | 9 #include "src/compiler/instruction-codes.h" |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 V(X87Movl) \ | 89 V(X87Movl) \ |
90 V(X87Movss) \ | 90 V(X87Movss) \ |
91 V(X87Movsd) \ | 91 V(X87Movsd) \ |
92 V(X87Lea) \ | 92 V(X87Lea) \ |
93 V(X87BitcastFI) \ | 93 V(X87BitcastFI) \ |
94 V(X87BitcastIF) \ | 94 V(X87BitcastIF) \ |
95 V(X87Push) \ | 95 V(X87Push) \ |
96 V(X87PushFloat64) \ | 96 V(X87PushFloat64) \ |
97 V(X87PushFloat32) \ | 97 V(X87PushFloat32) \ |
98 V(X87Poke) \ | 98 V(X87Poke) \ |
99 V(X87StackCheck) | 99 V(X87StackCheck) \ |
| 100 V(X87Xchgb) \ |
| 101 V(X87Xchgw) \ |
| 102 V(X87Xchgl) |
100 | 103 |
101 // Addressing modes represent the "shape" of inputs to an instruction. | 104 // Addressing modes represent the "shape" of inputs to an instruction. |
102 // Many instructions support multiple addressing modes. Addressing modes | 105 // Many instructions support multiple addressing modes. Addressing modes |
103 // are encoded into the InstructionCode of the instruction and tell the | 106 // are encoded into the InstructionCode of the instruction and tell the |
104 // code generator after register allocation which assembler method to call. | 107 // code generator after register allocation which assembler method to call. |
105 // | 108 // |
106 // We use the following local notation for addressing modes: | 109 // We use the following local notation for addressing modes: |
107 // | 110 // |
108 // M = memory operand | 111 // M = memory operand |
109 // R = base register | 112 // R = base register |
(...skipping 19 matching lines...) Expand all Loading... |
129 V(M2I) /* [ %r2*2 + K] */ \ | 132 V(M2I) /* [ %r2*2 + K] */ \ |
130 V(M4I) /* [ %r2*4 + K] */ \ | 133 V(M4I) /* [ %r2*4 + K] */ \ |
131 V(M8I) /* [ %r2*8 + K] */ \ | 134 V(M8I) /* [ %r2*8 + K] */ \ |
132 V(MI) /* [ K] */ | 135 V(MI) /* [ K] */ |
133 | 136 |
134 } // namespace compiler | 137 } // namespace compiler |
135 } // namespace internal | 138 } // namespace internal |
136 } // namespace v8 | 139 } // namespace v8 |
137 | 140 |
138 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ | 141 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
OLD | NEW |