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

Side by Side Diff: src/full-codegen/arm64/full-codegen-arm64.cc

Issue 1253103006: Rename IsSimdObject assembly intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3103 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 3114
3115 __ JumpIfSmi(x0, if_false); 3115 __ JumpIfSmi(x0, if_false);
3116 __ CompareObjectType(x0, x10, x11, FIRST_SPEC_OBJECT_TYPE); 3116 __ CompareObjectType(x0, x10, x11, FIRST_SPEC_OBJECT_TYPE);
3117 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); 3117 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
3118 Split(ge, if_true, if_false, fall_through); 3118 Split(ge, if_true, if_false, fall_through);
3119 3119
3120 context()->Plug(if_true, if_false); 3120 context()->Plug(if_true, if_false);
3121 } 3121 }
3122 3122
3123 3123
3124 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { 3124 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) {
3125 ZoneList<Expression*>* args = expr->arguments(); 3125 ZoneList<Expression*>* args = expr->arguments();
3126 DCHECK(args->length() == 1); 3126 DCHECK(args->length() == 1);
3127 3127
3128 VisitForAccumulatorValue(args->at(0)); 3128 VisitForAccumulatorValue(args->at(0));
3129 3129
3130 Label materialize_true, materialize_false; 3130 Label materialize_true, materialize_false;
3131 Label* if_true = NULL; 3131 Label* if_true = NULL;
3132 Label* if_false = NULL; 3132 Label* if_false = NULL;
3133 Label* fall_through = NULL; 3133 Label* fall_through = NULL;
3134 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, 3134 context()->PrepareTest(&materialize_true, &materialize_false, &if_true,
(...skipping 2328 matching lines...) Expand 10 before | Expand all | Expand 10 after
5463 } 5463 }
5464 5464
5465 return INTERRUPT; 5465 return INTERRUPT;
5466 } 5466 }
5467 5467
5468 5468
5469 } // namespace internal 5469 } // namespace internal
5470 } // namespace v8 5470 } // namespace v8
5471 5471
5472 #endif // V8_TARGET_ARCH_ARM64 5472 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698