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_IA32_INSTRUCTION_CODES_IA32_H_ | 5 #ifndef V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
6 #define V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 6 #define V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 25 matching lines...) Expand all Loading... |
36 V(SSEFloat64Cmp) \ | 36 V(SSEFloat64Cmp) \ |
37 V(SSEFloat64Add) \ | 37 V(SSEFloat64Add) \ |
38 V(SSEFloat64Sub) \ | 38 V(SSEFloat64Sub) \ |
39 V(SSEFloat64Mul) \ | 39 V(SSEFloat64Mul) \ |
40 V(SSEFloat64Div) \ | 40 V(SSEFloat64Div) \ |
41 V(SSEFloat64Mod) \ | 41 V(SSEFloat64Mod) \ |
42 V(SSEFloat64ToInt32) \ | 42 V(SSEFloat64ToInt32) \ |
43 V(SSEFloat64ToUint32) \ | 43 V(SSEFloat64ToUint32) \ |
44 V(SSEInt32ToFloat64) \ | 44 V(SSEInt32ToFloat64) \ |
45 V(SSEUint32ToFloat64) \ | 45 V(SSEUint32ToFloat64) \ |
46 V(SSELoad) \ | 46 V(IA32Movsxbl) \ |
47 V(SSEStore) \ | 47 V(IA32Movzxbl) \ |
48 V(IA32LoadWord8) \ | 48 V(IA32Movb) \ |
49 V(IA32StoreWord8) \ | 49 V(IA32Movsxwl) \ |
50 V(IA32StoreWord8I) \ | 50 V(IA32Movzxwl) \ |
51 V(IA32LoadWord16) \ | 51 V(IA32Movw) \ |
52 V(IA32StoreWord16) \ | 52 V(IA32Movl) \ |
53 V(IA32StoreWord16I) \ | 53 V(IA32Movsd) \ |
54 V(IA32LoadWord32) \ | |
55 V(IA32StoreWord32) \ | |
56 V(IA32StoreWord32I) \ | |
57 V(IA32StoreWriteBarrier) | 54 V(IA32StoreWriteBarrier) |
58 | 55 |
59 | 56 |
60 // Addressing modes represent the "shape" of inputs to an instruction. | 57 // Addressing modes represent the "shape" of inputs to an instruction. |
61 // Many instructions support multiple addressing modes. Addressing modes | 58 // Many instructions support multiple addressing modes. Addressing modes |
62 // are encoded into the InstructionCode of the instruction and tell the | 59 // are encoded into the InstructionCode of the instruction and tell the |
63 // code generator after register allocation which assembler method to call. | 60 // code generator after register allocation which assembler method to call. |
64 // | 61 // |
65 // We use the following local notation for addressing modes: | 62 // We use the following local notation for addressing modes: |
66 // | 63 // |
(...skipping 13 matching lines...) Expand all Loading... |
80 V(MR1I) /* [%r0 + %r1 * 1 + K] */ \ | 77 V(MR1I) /* [%r0 + %r1 * 1 + K] */ \ |
81 V(MR2I) /* [%r0 + %r1 * 2 + K] */ \ | 78 V(MR2I) /* [%r0 + %r1 * 2 + K] */ \ |
82 V(MR4I) /* [%r0 + %r1 * 4 + K] */ \ | 79 V(MR4I) /* [%r0 + %r1 * 4 + K] */ \ |
83 V(MR8I) /* [%r0 + %r1 * 8 + K] */ | 80 V(MR8I) /* [%r0 + %r1 * 8 + K] */ |
84 | 81 |
85 } // namespace compiler | 82 } // namespace compiler |
86 } // namespace internal | 83 } // namespace internal |
87 } // namespace v8 | 84 } // namespace v8 |
88 | 85 |
89 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ | 86 #endif // V8_COMPILER_IA32_INSTRUCTION_CODES_IA32_H_ |
OLD | NEW |