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

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

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « runtime/vm/constants_ia32.h ('k') | runtime/vm/dart.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 (c) 2011, 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_CONSTANTS_X64_H_ 5 #ifndef VM_CONSTANTS_X64_H_
6 #define VM_CONSTANTS_X64_H_ 6 #define VM_CONSTANTS_X64_H_
7 7
8 namespace dart { 8 namespace dart {
9 9
10 enum Register { 10 enum Register {
11 RAX = 0, 11 RAX = 0,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 XMM11 = 11, 57 XMM11 = 11,
58 XMM12 = 12, 58 XMM12 = 12,
59 XMM13 = 13, 59 XMM13 = 13,
60 XMM14 = 14, 60 XMM14 = 14,
61 XMM15 = 15, 61 XMM15 = 15,
62 kNumberOfXmmRegisters = 16, 62 kNumberOfXmmRegisters = 16,
63 kNoXmmRegister = -1 // Signals an illegal register. 63 kNoXmmRegister = -1 // Signals an illegal register.
64 }; 64 };
65 65
66 66
67 // Architecture independent aliases.
68 typedef XmmRegister FpuRegister;
69 const FpuRegister FpuTMP = XMM0;
70 const int kNumberOfFpuRegisters = kNumberOfXmmRegisters;
71
72
67 enum RexBits { 73 enum RexBits {
68 REX_NONE = 0, 74 REX_NONE = 0,
69 REX_B = 1 << 0, 75 REX_B = 1 << 0,
70 REX_X = 1 << 1, 76 REX_X = 1 << 1,
71 REX_R = 1 << 2, 77 REX_R = 1 << 2,
72 REX_W = 1 << 3, 78 REX_W = 1 << 3,
73 REX_PREFIX = 1 << 6 79 REX_PREFIX = 1 << 6
74 }; 80 };
75 81
76 82
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 }; 155 };
150 156
151 157
152 // The largest multibyte nop we will emit. This could go up to 15 if it 158 // The largest multibyte nop we will emit. This could go up to 15 if it
153 // becomes important to us. 159 // becomes important to us.
154 const int MAX_NOP_SIZE = 8; 160 const int MAX_NOP_SIZE = 8;
155 161
156 } // namespace dart 162 } // namespace dart
157 163
158 #endif // VM_CONSTANTS_X64_H_ 164 #endif // VM_CONSTANTS_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_ia32.h ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698