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

Side by Side Diff: src/arm64/full-codegen-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 4908 matching lines...) Expand 10 before | Expand all | Expand 10 after
4919 // Check for undetectable objects => false. 4919 // Check for undetectable objects => false.
4920 __ JumpIfObjectType(x0, x0, x1, FIRST_NONSTRING_TYPE, if_false, ge); 4920 __ JumpIfObjectType(x0, x0, x1, FIRST_NONSTRING_TYPE, if_false, ge);
4921 __ Ldrb(x1, FieldMemOperand(x0, Map::kBitFieldOffset)); 4921 __ Ldrb(x1, FieldMemOperand(x0, Map::kBitFieldOffset));
4922 __ TestAndSplit(x1, 1 << Map::kIsUndetectable, if_true, if_false, 4922 __ TestAndSplit(x1, 1 << Map::kIsUndetectable, if_true, if_false,
4923 fall_through); 4923 fall_through);
4924 } else if (String::Equals(check, factory->symbol_string())) { 4924 } else if (String::Equals(check, factory->symbol_string())) {
4925 ASM_LOCATION("FullCodeGenerator::EmitLiteralCompareTypeof symbol_string"); 4925 ASM_LOCATION("FullCodeGenerator::EmitLiteralCompareTypeof symbol_string");
4926 __ JumpIfSmi(x0, if_false); 4926 __ JumpIfSmi(x0, if_false);
4927 __ CompareObjectType(x0, x0, x1, SYMBOL_TYPE); 4927 __ CompareObjectType(x0, x0, x1, SYMBOL_TYPE);
4928 Split(eq, if_true, if_false, fall_through); 4928 Split(eq, if_true, if_false, fall_through);
4929 } else if (String::Equals(check, factory->float32x4_string())) {
4930 ASM_LOCATION(
4931 "FullCodeGenerator::EmitLiteralCompareTypeof float32x4_string");
4932 __ JumpIfSmi(x0, if_false);
4933 __ CompareObjectType(x0, x0, x1, FLOAT32X4_TYPE);
4934 Split(eq, if_true, if_false, fall_through);
4935 } else if (String::Equals(check, factory->boolean_string())) { 4929 } else if (String::Equals(check, factory->boolean_string())) {
4936 ASM_LOCATION("FullCodeGenerator::EmitLiteralCompareTypeof boolean_string"); 4930 ASM_LOCATION("FullCodeGenerator::EmitLiteralCompareTypeof boolean_string");
4937 __ JumpIfRoot(x0, Heap::kTrueValueRootIndex, if_true); 4931 __ JumpIfRoot(x0, Heap::kTrueValueRootIndex, if_true);
4938 __ CompareRoot(x0, Heap::kFalseValueRootIndex); 4932 __ CompareRoot(x0, Heap::kFalseValueRootIndex);
4939 Split(eq, if_true, if_false, fall_through); 4933 Split(eq, if_true, if_false, fall_through);
4940 } else if (String::Equals(check, factory->undefined_string())) { 4934 } else if (String::Equals(check, factory->undefined_string())) {
4941 ASM_LOCATION( 4935 ASM_LOCATION(
4942 "FullCodeGenerator::EmitLiteralCompareTypeof undefined_string"); 4936 "FullCodeGenerator::EmitLiteralCompareTypeof undefined_string");
4943 __ JumpIfRoot(x0, Heap::kUndefinedValueRootIndex, if_true); 4937 __ JumpIfRoot(x0, Heap::kUndefinedValueRootIndex, if_true);
4944 __ JumpIfSmi(x0, if_false); 4938 __ JumpIfSmi(x0, if_false);
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
5613 } 5607 }
5614 5608
5615 return INTERRUPT; 5609 return INTERRUPT;
5616 } 5610 }
5617 5611
5618 5612
5619 } // namespace internal 5613 } // namespace internal
5620 } // namespace v8 5614 } // namespace v8
5621 5615
5622 #endif // V8_TARGET_ARCH_ARM64 5616 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698