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

Side by Side Diff: src/full-codegen/ppc/full-codegen-ppc.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
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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_PPC 7 #if V8_TARGET_ARCH_PPC
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 3405 matching lines...) Expand 10 before | Expand all | Expand 10 after
3416 3416
3417 __ JumpIfSmi(r3, if_false); 3417 __ JumpIfSmi(r3, if_false);
3418 __ CompareObjectType(r3, r4, r4, FIRST_SPEC_OBJECT_TYPE); 3418 __ CompareObjectType(r3, r4, r4, FIRST_SPEC_OBJECT_TYPE);
3419 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); 3419 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
3420 Split(ge, if_true, if_false, fall_through); 3420 Split(ge, if_true, if_false, fall_through);
3421 3421
3422 context()->Plug(if_true, if_false); 3422 context()->Plug(if_true, if_false);
3423 } 3423 }
3424 3424
3425 3425
3426 void FullCodeGenerator::EmitIsSimdObject(CallRuntime* expr) { 3426 void FullCodeGenerator::EmitIsSimdValue(CallRuntime* expr) {
3427 ZoneList<Expression*>* args = expr->arguments(); 3427 ZoneList<Expression*>* args = expr->arguments();
3428 DCHECK(args->length() == 1); 3428 DCHECK(args->length() == 1);
3429 3429
3430 VisitForAccumulatorValue(args->at(0)); 3430 VisitForAccumulatorValue(args->at(0));
3431 3431
3432 Label materialize_true, materialize_false; 3432 Label materialize_true, materialize_false;
3433 Label* if_true = NULL; 3433 Label* if_true = NULL;
3434 Label* if_false = NULL; 3434 Label* if_false = NULL;
3435 Label* fall_through = NULL; 3435 Label* fall_through = NULL;
3436 context()->PrepareTest(&materialize_true, &materialize_false, &if_true, 3436 context()->PrepareTest(&materialize_true, &materialize_false, &if_true,
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after
5418 return ON_STACK_REPLACEMENT; 5418 return ON_STACK_REPLACEMENT;
5419 } 5419 }
5420 5420
5421 DCHECK(interrupt_address == 5421 DCHECK(interrupt_address ==
5422 isolate->builtins()->OsrAfterStackCheck()->entry()); 5422 isolate->builtins()->OsrAfterStackCheck()->entry());
5423 return OSR_AFTER_STACK_CHECK; 5423 return OSR_AFTER_STACK_CHECK;
5424 } 5424 }
5425 } // namespace internal 5425 } // namespace internal
5426 } // namespace v8 5426 } // namespace v8
5427 #endif // V8_TARGET_ARCH_PPC 5427 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698