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

Side by Side Diff: runtime/vm/assembler_arm.h

Issue 300143007: Generate better ARM64 code for indexed loads and stores. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/assembler_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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ASSEMBLER_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 position_ = position + kWordSize; 58 position_ = position + kWordSize;
59 ASSERT(IsLinked()); 59 ASSERT(IsLinked());
60 } 60 }
61 61
62 friend class Assembler; 62 friend class Assembler;
63 DISALLOW_COPY_AND_ASSIGN(Label); 63 DISALLOW_COPY_AND_ASSIGN(Label);
64 }; 64 };
65 65
66 66
67 // Encodes Addressing Mode 1 - Data-processing operands. 67 // Encodes Addressing Mode 1 - Data-processing operands.
68 // TODO(regis): rename ShifterOperand to Operand.
68 class ShifterOperand : public ValueObject { 69 class ShifterOperand : public ValueObject {
69 public: 70 public:
70 // Data-processing operands - Uninitialized. 71 // Data-processing operands - Uninitialized.
71 ShifterOperand() : type_(-1), encoding_(-1) { } 72 ShifterOperand() : type_(-1), encoding_(-1) { }
72 73
73 // Data-processing operands - Copy constructor. 74 // Data-processing operands - Copy constructor.
74 ShifterOperand(const ShifterOperand& other) 75 ShifterOperand(const ShifterOperand& other)
75 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { } 76 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { }
76 77
77 // Data-processing operands - Assignment operator. 78 // Data-processing operands - Assignment operator.
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 Register value, 922 Register value,
922 Label* no_update); 923 Label* no_update);
923 924
924 DISALLOW_ALLOCATION(); 925 DISALLOW_ALLOCATION();
925 DISALLOW_COPY_AND_ASSIGN(Assembler); 926 DISALLOW_COPY_AND_ASSIGN(Assembler);
926 }; 927 };
927 928
928 } // namespace dart 929 } // namespace dart
929 930
930 #endif // VM_ASSEMBLER_ARM_H_ 931 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698