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

Side by Side Diff: src/x87/full-codegen-x87.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/x87/code-stubs-x87.cc ('k') | src/x87/lithium-codegen-x87.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_X87 7 #if V8_TARGET_ARCH_X87
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 5151 matching lines...) Expand 10 before | Expand all | Expand 10 after
5162 __ CmpObjectType(eax, FIRST_NONSTRING_TYPE, edx); 5162 __ CmpObjectType(eax, FIRST_NONSTRING_TYPE, edx);
5163 __ j(above_equal, if_false); 5163 __ j(above_equal, if_false);
5164 // Check for undetectable objects => false. 5164 // Check for undetectable objects => false.
5165 __ test_b(FieldOperand(edx, Map::kBitFieldOffset), 5165 __ test_b(FieldOperand(edx, Map::kBitFieldOffset),
5166 1 << Map::kIsUndetectable); 5166 1 << Map::kIsUndetectable);
5167 Split(zero, if_true, if_false, fall_through); 5167 Split(zero, if_true, if_false, fall_through);
5168 } else if (String::Equals(check, factory->symbol_string())) { 5168 } else if (String::Equals(check, factory->symbol_string())) {
5169 __ JumpIfSmi(eax, if_false); 5169 __ JumpIfSmi(eax, if_false);
5170 __ CmpObjectType(eax, SYMBOL_TYPE, edx); 5170 __ CmpObjectType(eax, SYMBOL_TYPE, edx);
5171 Split(equal, if_true, if_false, fall_through); 5171 Split(equal, if_true, if_false, fall_through);
5172 } else if (String::Equals(check, factory->float32x4_string())) {
5173 __ JumpIfSmi(eax, if_false);
5174 __ CmpObjectType(eax, FLOAT32X4_TYPE, edx);
5175 Split(equal, if_true, if_false, fall_through);
5176 } else if (String::Equals(check, factory->boolean_string())) { 5172 } else if (String::Equals(check, factory->boolean_string())) {
5177 __ cmp(eax, isolate()->factory()->true_value()); 5173 __ cmp(eax, isolate()->factory()->true_value());
5178 __ j(equal, if_true); 5174 __ j(equal, if_true);
5179 __ cmp(eax, isolate()->factory()->false_value()); 5175 __ cmp(eax, isolate()->factory()->false_value());
5180 Split(equal, if_true, if_false, fall_through); 5176 Split(equal, if_true, if_false, fall_through);
5181 } else if (String::Equals(check, factory->undefined_string())) { 5177 } else if (String::Equals(check, factory->undefined_string())) {
5182 __ cmp(eax, isolate()->factory()->undefined_value()); 5178 __ cmp(eax, isolate()->factory()->undefined_value());
5183 __ j(equal, if_true); 5179 __ j(equal, if_true);
5184 __ JumpIfSmi(eax, if_false); 5180 __ JumpIfSmi(eax, if_false);
5185 // Check for undetectable objects => true. 5181 // Check for undetectable objects => true.
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
5501 Assembler::target_address_at(call_target_address, 5497 Assembler::target_address_at(call_target_address,
5502 unoptimized_code)); 5498 unoptimized_code));
5503 return OSR_AFTER_STACK_CHECK; 5499 return OSR_AFTER_STACK_CHECK;
5504 } 5500 }
5505 5501
5506 5502
5507 } // namespace internal 5503 } // namespace internal
5508 } // namespace v8 5504 } // namespace v8
5509 5505
5510 #endif // V8_TARGET_ARCH_X87 5506 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698