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

Side by Side Diff: src/ppc/full-codegen-ppc.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/ppc/code-stubs-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.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/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 5256 matching lines...) Expand 10 before | Expand all | Expand 10 after
5267 __ CompareObjectType(r3, r3, r4, FIRST_NONSTRING_TYPE); 5267 __ CompareObjectType(r3, r3, r4, FIRST_NONSTRING_TYPE);
5268 __ bge(if_false); 5268 __ bge(if_false);
5269 __ lbz(r4, FieldMemOperand(r3, Map::kBitFieldOffset)); 5269 __ lbz(r4, FieldMemOperand(r3, Map::kBitFieldOffset));
5270 STATIC_ASSERT((1 << Map::kIsUndetectable) < 0x8000); 5270 STATIC_ASSERT((1 << Map::kIsUndetectable) < 0x8000);
5271 __ andi(r0, r4, Operand(1 << Map::kIsUndetectable)); 5271 __ andi(r0, r4, Operand(1 << Map::kIsUndetectable));
5272 Split(eq, if_true, if_false, fall_through, cr0); 5272 Split(eq, if_true, if_false, fall_through, cr0);
5273 } else if (String::Equals(check, factory->symbol_string())) { 5273 } else if (String::Equals(check, factory->symbol_string())) {
5274 __ JumpIfSmi(r3, if_false); 5274 __ JumpIfSmi(r3, if_false);
5275 __ CompareObjectType(r3, r3, r4, SYMBOL_TYPE); 5275 __ CompareObjectType(r3, r3, r4, SYMBOL_TYPE);
5276 Split(eq, if_true, if_false, fall_through); 5276 Split(eq, if_true, if_false, fall_through);
5277 } else if (String::Equals(check, factory->float32x4_string())) {
5278 __ JumpIfSmi(r3, if_false);
5279 __ CompareObjectType(r3, r3, r4, FLOAT32X4_TYPE);
5280 Split(eq, if_true, if_false, fall_through);
5281 } else if (String::Equals(check, factory->boolean_string())) { 5277 } else if (String::Equals(check, factory->boolean_string())) {
5282 __ CompareRoot(r3, Heap::kTrueValueRootIndex); 5278 __ CompareRoot(r3, Heap::kTrueValueRootIndex);
5283 __ beq(if_true); 5279 __ beq(if_true);
5284 __ CompareRoot(r3, Heap::kFalseValueRootIndex); 5280 __ CompareRoot(r3, Heap::kFalseValueRootIndex);
5285 Split(eq, if_true, if_false, fall_through); 5281 Split(eq, if_true, if_false, fall_through);
5286 } else if (String::Equals(check, factory->undefined_string())) { 5282 } else if (String::Equals(check, factory->undefined_string())) {
5287 __ CompareRoot(r3, Heap::kUndefinedValueRootIndex); 5283 __ CompareRoot(r3, Heap::kUndefinedValueRootIndex);
5288 __ beq(if_true); 5284 __ beq(if_true);
5289 __ JumpIfSmi(r3, if_false); 5285 __ JumpIfSmi(r3, if_false);
5290 // Check for undetectable objects => true. 5286 // Check for undetectable objects => true.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
5599 return ON_STACK_REPLACEMENT; 5595 return ON_STACK_REPLACEMENT;
5600 } 5596 }
5601 5597
5602 DCHECK(interrupt_address == 5598 DCHECK(interrupt_address ==
5603 isolate->builtins()->OsrAfterStackCheck()->entry()); 5599 isolate->builtins()->OsrAfterStackCheck()->entry());
5604 return OSR_AFTER_STACK_CHECK; 5600 return OSR_AFTER_STACK_CHECK;
5605 } 5601 }
5606 } // namespace internal 5602 } // namespace internal
5607 } // namespace v8 5603 } // namespace v8
5608 #endif // V8_TARGET_ARCH_PPC 5604 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698