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

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

Issue 262333007: Adds arm64 double arithmetic instructions. (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 | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/simulator_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 (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Declares a Simulator for ARM64 instructions if we are not generating a native 5 // Declares a Simulator for ARM64 instructions if we are not generating a native
6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation 6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation
7 // on regular desktop machines. 7 // on regular desktop machines.
8 // Dart calls into generated code by "calling" the InvokeDartCode stub, 8 // Dart calls into generated code by "calling" the InvokeDartCode stub,
9 // which will start execution in the Simulator or forwards to the real entry 9 // which will start execution in the Simulator or forwards to the real entry
10 // on a ARM64 HW platform. 10 // on a ARM64 HW platform.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 static const uword kEndSimulatingPC = -2; 113 static const uword kEndSimulatingPC = -2;
114 114
115 // CPU state. 115 // CPU state.
116 int64_t registers_[kNumberOfCpuRegisters]; 116 int64_t registers_[kNumberOfCpuRegisters];
117 bool n_flag_; 117 bool n_flag_;
118 bool z_flag_; 118 bool z_flag_;
119 bool c_flag_; 119 bool c_flag_;
120 bool v_flag_; 120 bool v_flag_;
121 121
122 simd_value_t vregisters_[kNumberOfVRegisters]; 122 simd_value_t vregisters_[kNumberOfVRegisters];
123 bool fp_n_flag_;
124 bool fp_z_flag_;
125 bool fp_c_flag_;
126 bool fp_v_flag_;
127 123
128 // Simulator support. 124 // Simulator support.
129 int64_t last_pc_; 125 int64_t last_pc_;
130 int64_t pc_; 126 int64_t pc_;
131 char* stack_; 127 char* stack_;
132 bool pc_modified_; 128 bool pc_modified_;
133 intptr_t icount_; 129 intptr_t icount_;
134 static int64_t flag_stop_sim_at_; 130 static int64_t flag_stop_sim_at_;
135 SimulatorSetjmpBuffer* last_setjmp_buffer_; 131 SimulatorSetjmpBuffer* last_setjmp_buffer_;
136 uword top_exit_frame_info_; 132 uword top_exit_frame_info_;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 216 }
221 217
222 friend class SimulatorDebugger; 218 friend class SimulatorDebugger;
223 friend class SimulatorSetjmpBuffer; 219 friend class SimulatorSetjmpBuffer;
224 DISALLOW_COPY_AND_ASSIGN(Simulator); 220 DISALLOW_COPY_AND_ASSIGN(Simulator);
225 }; 221 };
226 222
227 } // namespace dart 223 } // namespace dart
228 224
229 #endif // VM_SIMULATOR_ARM64_H_ 225 #endif // VM_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698