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

Side by Side Diff: src/mips64/full-codegen-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 5240 matching lines...) Expand 10 before | Expand all | Expand 10 after
5251 __ GetObjectType(v0, v0, a1); 5251 __ GetObjectType(v0, v0, a1);
5252 __ Branch(if_false, ge, a1, Operand(FIRST_NONSTRING_TYPE)); 5252 __ Branch(if_false, ge, a1, Operand(FIRST_NONSTRING_TYPE));
5253 __ lbu(a1, FieldMemOperand(v0, Map::kBitFieldOffset)); 5253 __ lbu(a1, FieldMemOperand(v0, Map::kBitFieldOffset));
5254 __ And(a1, a1, Operand(1 << Map::kIsUndetectable)); 5254 __ And(a1, a1, Operand(1 << Map::kIsUndetectable));
5255 Split(eq, a1, Operand(zero_reg), 5255 Split(eq, a1, Operand(zero_reg),
5256 if_true, if_false, fall_through); 5256 if_true, if_false, fall_through);
5257 } else if (String::Equals(check, factory->symbol_string())) { 5257 } else if (String::Equals(check, factory->symbol_string())) {
5258 __ JumpIfSmi(v0, if_false); 5258 __ JumpIfSmi(v0, if_false);
5259 __ GetObjectType(v0, v0, a1); 5259 __ GetObjectType(v0, v0, a1);
5260 Split(eq, a1, Operand(SYMBOL_TYPE), if_true, if_false, fall_through); 5260 Split(eq, a1, Operand(SYMBOL_TYPE), if_true, if_false, fall_through);
5261 } else if (String::Equals(check, factory->float32x4_string())) {
5262 __ JumpIfSmi(v0, if_false);
5263 __ GetObjectType(v0, v0, a1);
5264 Split(eq, a1, Operand(FLOAT32X4_TYPE), if_true, if_false, fall_through);
5265 } else if (String::Equals(check, factory->boolean_string())) { 5261 } else if (String::Equals(check, factory->boolean_string())) {
5266 __ LoadRoot(at, Heap::kTrueValueRootIndex); 5262 __ LoadRoot(at, Heap::kTrueValueRootIndex);
5267 __ Branch(if_true, eq, v0, Operand(at)); 5263 __ Branch(if_true, eq, v0, Operand(at));
5268 __ LoadRoot(at, Heap::kFalseValueRootIndex); 5264 __ LoadRoot(at, Heap::kFalseValueRootIndex);
5269 Split(eq, v0, Operand(at), if_true, if_false, fall_through); 5265 Split(eq, v0, Operand(at), if_true, if_false, fall_through);
5270 } else if (String::Equals(check, factory->undefined_string())) { 5266 } else if (String::Equals(check, factory->undefined_string())) {
5271 __ LoadRoot(at, Heap::kUndefinedValueRootIndex); 5267 __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
5272 __ Branch(if_true, eq, v0, Operand(at)); 5268 __ Branch(if_true, eq, v0, Operand(at));
5273 __ JumpIfSmi(v0, if_false); 5269 __ JumpIfSmi(v0, if_false);
5274 // Check for undetectable objects => true. 5270 // Check for undetectable objects => true.
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
5594 reinterpret_cast<uint64_t>( 5590 reinterpret_cast<uint64_t>(
5595 isolate->builtins()->OsrAfterStackCheck()->entry())); 5591 isolate->builtins()->OsrAfterStackCheck()->entry()));
5596 return OSR_AFTER_STACK_CHECK; 5592 return OSR_AFTER_STACK_CHECK;
5597 } 5593 }
5598 5594
5599 5595
5600 } // namespace internal 5596 } // namespace internal
5601 } // namespace v8 5597 } // namespace v8
5602 5598
5603 #endif // V8_TARGET_ARCH_MIPS64 5599 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698