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

Side by Side Diff: src/mips/codegen-mips.cc

Issue 2160633002: improve grammar in comment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more Created 4 years, 5 months 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
« no previous file with comments | « src/isolate.h ('k') | src/mips64/codegen-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include "src/mips/codegen-mips.h" 5 #include "src/mips/codegen-mips.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 23 matching lines...) Expand all
34 CodeObjectRequired::kNo); 34 CodeObjectRequired::kNo);
35 35
36 { 36 {
37 Label lastb, unaligned, aligned, chkw, 37 Label lastb, unaligned, aligned, chkw,
38 loop16w, chk1w, wordCopy_loop, skip_pref, lastbloop, 38 loop16w, chk1w, wordCopy_loop, skip_pref, lastbloop,
39 leave, ua_chk16w, ua_loop16w, ua_skip_pref, ua_chkw, 39 leave, ua_chk16w, ua_loop16w, ua_skip_pref, ua_chkw,
40 ua_chk1w, ua_wordCopy_loop, ua_smallCopy, ua_smallCopy_loop; 40 ua_chk1w, ua_wordCopy_loop, ua_smallCopy, ua_smallCopy_loop;
41 41
42 // The size of each prefetch. 42 // The size of each prefetch.
43 uint32_t pref_chunk = 32; 43 uint32_t pref_chunk = 32;
44 // The maximum size of a prefetch, it must not be less then pref_chunk. 44 // The maximum size of a prefetch, it must not be less than pref_chunk.
45 // If the real size of a prefetch is greater then max_pref_size and 45 // If the real size of a prefetch is greater than max_pref_size and
46 // the kPrefHintPrepareForStore hint is used, the code will not work 46 // the kPrefHintPrepareForStore hint is used, the code will not work
47 // correctly. 47 // correctly.
48 uint32_t max_pref_size = 128; 48 uint32_t max_pref_size = 128;
49 DCHECK(pref_chunk < max_pref_size); 49 DCHECK(pref_chunk < max_pref_size);
50 50
51 // pref_limit is set based on the fact that we never use an offset 51 // pref_limit is set based on the fact that we never use an offset
52 // greater then 5 on a store pref and that a single pref can 52 // greater then 5 on a store pref and that a single pref can
53 // never be larger then max_pref_size. 53 // never be larger then max_pref_size.
54 uint32_t pref_limit = (5 * pref_chunk) + max_pref_size; 54 uint32_t pref_limit = (5 * pref_chunk) + max_pref_size;
55 int32_t pref_hint_load = kPrefHintLoadStreamed; 55 int32_t pref_hint_load = kPrefHintLoadStreamed;
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 } 1116 }
1117 } 1117 }
1118 1118
1119 1119
1120 #undef __ 1120 #undef __
1121 1121
1122 } // namespace internal 1122 } // namespace internal
1123 } // namespace v8 1123 } // namespace v8
1124 1124
1125 #endif // V8_TARGET_ARCH_MIPS 1125 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips64/codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698