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

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

Issue 1241533004: Revert of Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/arm/code-stubs-arm.cc ('k') | src/arm/lithium-codegen-arm.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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
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 5218 matching lines...) Expand 10 before | Expand all | Expand 10 after
5229 // Check for undetectable objects => false. 5229 // Check for undetectable objects => false.
5230 __ CompareObjectType(r0, r0, r1, FIRST_NONSTRING_TYPE); 5230 __ CompareObjectType(r0, r0, r1, FIRST_NONSTRING_TYPE);
5231 __ b(ge, if_false); 5231 __ b(ge, if_false);
5232 __ ldrb(r1, FieldMemOperand(r0, Map::kBitFieldOffset)); 5232 __ ldrb(r1, FieldMemOperand(r0, Map::kBitFieldOffset));
5233 __ tst(r1, Operand(1 << Map::kIsUndetectable)); 5233 __ tst(r1, Operand(1 << Map::kIsUndetectable));
5234 Split(eq, if_true, if_false, fall_through); 5234 Split(eq, if_true, if_false, fall_through);
5235 } else if (String::Equals(check, factory->symbol_string())) { 5235 } else if (String::Equals(check, factory->symbol_string())) {
5236 __ JumpIfSmi(r0, if_false); 5236 __ JumpIfSmi(r0, if_false);
5237 __ CompareObjectType(r0, r0, r1, SYMBOL_TYPE); 5237 __ CompareObjectType(r0, r0, r1, SYMBOL_TYPE);
5238 Split(eq, if_true, if_false, fall_through); 5238 Split(eq, if_true, if_false, fall_through);
5239 } else if (String::Equals(check, factory->float32x4_string())) {
5240 __ JumpIfSmi(r0, if_false);
5241 __ CompareObjectType(r0, r0, r1, FLOAT32X4_TYPE);
5242 Split(eq, if_true, if_false, fall_through);
5243 } else if (String::Equals(check, factory->boolean_string())) { 5239 } else if (String::Equals(check, factory->boolean_string())) {
5244 __ CompareRoot(r0, Heap::kTrueValueRootIndex); 5240 __ CompareRoot(r0, Heap::kTrueValueRootIndex);
5245 __ b(eq, if_true); 5241 __ b(eq, if_true);
5246 __ CompareRoot(r0, Heap::kFalseValueRootIndex); 5242 __ CompareRoot(r0, Heap::kFalseValueRootIndex);
5247 Split(eq, if_true, if_false, fall_through); 5243 Split(eq, if_true, if_false, fall_through);
5248 } else if (String::Equals(check, factory->undefined_string())) { 5244 } else if (String::Equals(check, factory->undefined_string())) {
5249 __ CompareRoot(r0, Heap::kUndefinedValueRootIndex); 5245 __ CompareRoot(r0, Heap::kUndefinedValueRootIndex);
5250 __ b(eq, if_true); 5246 __ b(eq, if_true);
5251 __ JumpIfSmi(r0, if_false); 5247 __ JumpIfSmi(r0, if_false);
5252 // Check for undetectable objects => true. 5248 // Check for undetectable objects => true.
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
5632 DCHECK(interrupt_address == 5628 DCHECK(interrupt_address ==
5633 isolate->builtins()->OsrAfterStackCheck()->entry()); 5629 isolate->builtins()->OsrAfterStackCheck()->entry());
5634 return OSR_AFTER_STACK_CHECK; 5630 return OSR_AFTER_STACK_CHECK;
5635 } 5631 }
5636 5632
5637 5633
5638 } // namespace internal 5634 } // namespace internal
5639 } // namespace v8 5635 } // namespace v8
5640 5636
5641 #endif // V8_TARGET_ARCH_ARM 5637 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698