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