Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: src/compiler/mips/instruction-codes-mips.h

Issue 1414183006: [turbofan] Avoid unnecessary write barriers and improve code generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MIPS_INSTRUCTION_CODES_MIPS_H_ 5 #ifndef V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 6 #define V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 V(MipsFloat64ExtractLowWord32) \ 78 V(MipsFloat64ExtractLowWord32) \
79 V(MipsFloat64ExtractHighWord32) \ 79 V(MipsFloat64ExtractHighWord32) \
80 V(MipsFloat64InsertLowWord32) \ 80 V(MipsFloat64InsertLowWord32) \
81 V(MipsFloat64InsertHighWord32) \ 81 V(MipsFloat64InsertHighWord32) \
82 V(MipsFloat64Max) \ 82 V(MipsFloat64Max) \
83 V(MipsFloat64Min) \ 83 V(MipsFloat64Min) \
84 V(MipsFloat32Max) \ 84 V(MipsFloat32Max) \
85 V(MipsFloat32Min) \ 85 V(MipsFloat32Min) \
86 V(MipsPush) \ 86 V(MipsPush) \
87 V(MipsStoreToStackSlot) \ 87 V(MipsStoreToStackSlot) \
88 V(MipsStackClaim) \ 88 V(MipsStackClaim)
89 V(MipsStoreWriteBarrier)
90 89
91 90
92 // Addressing modes represent the "shape" of inputs to an instruction. 91 // Addressing modes represent the "shape" of inputs to an instruction.
93 // Many instructions support multiple addressing modes. Addressing modes 92 // Many instructions support multiple addressing modes. Addressing modes
94 // are encoded into the InstructionCode of the instruction and tell the 93 // are encoded into the InstructionCode of the instruction and tell the
95 // code generator after register allocation which assembler method to call. 94 // code generator after register allocation which assembler method to call.
96 // 95 //
97 // We use the following local notation for addressing modes: 96 // We use the following local notation for addressing modes:
98 // 97 //
99 // R = register 98 // R = register
100 // O = register or stack slot 99 // O = register or stack slot
101 // D = double register 100 // D = double register
102 // I = immediate (handle, external, int32) 101 // I = immediate (handle, external, int32)
103 // MRI = [register + immediate] 102 // MRI = [register + immediate]
104 // MRR = [register + register] 103 // MRR = [register + register]
105 // TODO(plind): Add the new r6 address modes. 104 // TODO(plind): Add the new r6 address modes.
106 #define TARGET_ADDRESSING_MODE_LIST(V) \ 105 #define TARGET_ADDRESSING_MODE_LIST(V) \
107 V(MRI) /* [%r0 + K] */ \ 106 V(MRI) /* [%r0 + K] */ \
108 V(MRR) /* [%r0 + %r1] */ 107 V(MRR) /* [%r0 + %r1] */
109 108
110 109
111 } // namespace compiler 110 } // namespace compiler
112 } // namespace internal 111 } // namespace internal
113 } // namespace v8 112 } // namespace v8
114 113
115 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_ 114 #endif // V8_COMPILER_MIPS_INSTRUCTION_CODES_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698