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/compiler/arm64/code-generator-arm64.cc

Issue 2183923003: [stubs,interpreter] Optimise SMI loading for 64-bit targets. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Optimizing SMI loads at code stub assembler level. Created 4 years, 4 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/code-stub-assembler.cc ('k') | src/compiler/arm64/instruction-codes-arm64.h » ('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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64.h" 8 #include "src/arm64/macro-assembler-arm64.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/compiler/code-generator-impl.h" 10 #include "src/compiler/code-generator-impl.h"
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 break; 1524 break;
1525 case kArm64Ldrh: 1525 case kArm64Ldrh:
1526 __ Ldrh(i.OutputRegister(), i.MemoryOperand()); 1526 __ Ldrh(i.OutputRegister(), i.MemoryOperand());
1527 break; 1527 break;
1528 case kArm64Ldrsh: 1528 case kArm64Ldrsh:
1529 __ Ldrsh(i.OutputRegister(), i.MemoryOperand()); 1529 __ Ldrsh(i.OutputRegister(), i.MemoryOperand());
1530 break; 1530 break;
1531 case kArm64Strh: 1531 case kArm64Strh:
1532 __ Strh(i.InputOrZeroRegister64(0), i.MemoryOperand(1)); 1532 __ Strh(i.InputOrZeroRegister64(0), i.MemoryOperand(1));
1533 break; 1533 break;
1534 case kArm64Ldrsw:
1535 __ Ldrsw(i.OutputRegister(), i.MemoryOperand());
1536 break;
1534 case kArm64LdrW: 1537 case kArm64LdrW:
1535 __ Ldr(i.OutputRegister32(), i.MemoryOperand()); 1538 __ Ldr(i.OutputRegister32(), i.MemoryOperand());
1536 break; 1539 break;
1537 case kArm64StrW: 1540 case kArm64StrW:
1538 __ Str(i.InputOrZeroRegister32(0), i.MemoryOperand(1)); 1541 __ Str(i.InputOrZeroRegister32(0), i.MemoryOperand(1));
1539 break; 1542 break;
1540 case kArm64Ldr: 1543 case kArm64Ldr:
1541 __ Ldr(i.OutputRegister(), i.MemoryOperand()); 1544 __ Ldr(i.OutputRegister(), i.MemoryOperand());
1542 break; 1545 break;
1543 case kArm64Str: 1546 case kArm64Str:
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
2072 padding_size -= kInstructionSize; 2075 padding_size -= kInstructionSize;
2073 } 2076 }
2074 } 2077 }
2075 } 2078 }
2076 2079
2077 #undef __ 2080 #undef __
2078 2081
2079 } // namespace compiler 2082 } // namespace compiler
2080 } // namespace internal 2083 } // namespace internal
2081 } // namespace v8 2084 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698