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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.cc

Issue 621833003: Implement inlined stack-check guards in TurboFan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.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 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 #include "src/base/bits.h" 5 #include "src/base/bits.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 case kArmLdrh: 66 case kArmLdrh:
67 case kArmLdrsh: 67 case kArmLdrsh:
68 case kArmStrh: 68 case kArmStrh:
69 return value >= -255 && value <= 255; 69 return value >= -255 && value <= 255;
70 70
71 case kArchCallCodeObject: 71 case kArchCallCodeObject:
72 case kArchCallJSFunction: 72 case kArchCallJSFunction:
73 case kArchJmp: 73 case kArchJmp:
74 case kArchNop: 74 case kArchNop:
75 case kArchRet: 75 case kArchRet:
76 case kArchStackPointer:
76 case kArchTruncateDoubleToI: 77 case kArchTruncateDoubleToI:
77 case kArmMul: 78 case kArmMul:
78 case kArmMla: 79 case kArmMla:
79 case kArmMls: 80 case kArmMls:
80 case kArmSdiv: 81 case kArmSdiv:
81 case kArmUdiv: 82 case kArmUdiv:
82 case kArmBfc: 83 case kArmBfc:
83 case kArmUbfx: 84 case kArmUbfx:
84 case kArmVcmpF64: 85 case kArmVcmpF64:
85 case kArmVaddF64: 86 case kArmVaddF64:
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 } else { 958 } else {
958 DCHECK(cont->IsSet()); 959 DCHECK(cont->IsSet());
959 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), 960 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()),
960 g.UseRegister(m.left().node()), g.UseRegister(m.right().node())); 961 g.UseRegister(m.left().node()), g.UseRegister(m.right().node()));
961 } 962 }
962 } 963 }
963 964
964 } // namespace compiler 965 } // namespace compiler
965 } // namespace internal 966 } // namespace internal
966 } // namespace v8 967 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698