| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 V(X87Movl) \ | 74 V(X87Movl) \ |
| 75 V(X87Movss) \ | 75 V(X87Movss) \ |
| 76 V(X87Movsd) \ | 76 V(X87Movsd) \ |
| 77 V(X87Lea) \ | 77 V(X87Lea) \ |
| 78 V(X87BitcastFI) \ | 78 V(X87BitcastFI) \ |
| 79 V(X87BitcastIF) \ | 79 V(X87BitcastIF) \ |
| 80 V(X87Push) \ | 80 V(X87Push) \ |
| 81 V(X87PushFloat64) \ | 81 V(X87PushFloat64) \ |
| 82 V(X87PushFloat32) \ | 82 V(X87PushFloat32) \ |
| 83 V(X87Poke) \ | 83 V(X87Poke) \ |
| 84 V(X87StoreWriteBarrier) \ | |
| 85 V(X87StackCheck) | 84 V(X87StackCheck) |
| 86 | 85 |
| 87 | 86 |
| 88 // Addressing modes represent the "shape" of inputs to an instruction. | 87 // Addressing modes represent the "shape" of inputs to an instruction. |
| 89 // Many instructions support multiple addressing modes. Addressing modes | 88 // Many instructions support multiple addressing modes. Addressing modes |
| 90 // are encoded into the InstructionCode of the instruction and tell the | 89 // are encoded into the InstructionCode of the instruction and tell the |
| 91 // code generator after register allocation which assembler method to call. | 90 // code generator after register allocation which assembler method to call. |
| 92 // | 91 // |
| 93 // We use the following local notation for addressing modes: | 92 // We use the following local notation for addressing modes: |
| 94 // | 93 // |
| (...skipping 21 matching lines...) Expand all Loading... |
| 116 V(M2I) /* [ %r2*2 + K] */ \ | 115 V(M2I) /* [ %r2*2 + K] */ \ |
| 117 V(M4I) /* [ %r2*4 + K] */ \ | 116 V(M4I) /* [ %r2*4 + K] */ \ |
| 118 V(M8I) /* [ %r2*8 + K] */ \ | 117 V(M8I) /* [ %r2*8 + K] */ \ |
| 119 V(MI) /* [ K] */ | 118 V(MI) /* [ K] */ |
| 120 | 119 |
| 121 } // namespace compiler | 120 } // namespace compiler |
| 122 } // namespace internal | 121 } // namespace internal |
| 123 } // namespace v8 | 122 } // namespace v8 |
| 124 | 123 |
| 125 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ | 124 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ |
| OLD | NEW |