OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 void TrashCallerSaveRegisters(); | 245 void TrashCallerSaveRegisters(); |
246 | 246 |
247 // Architecture state. | 247 // Architecture state. |
248 int32_t registers_[16]; | 248 int32_t registers_[16]; |
249 bool n_flag_; | 249 bool n_flag_; |
250 bool z_flag_; | 250 bool z_flag_; |
251 bool c_flag_; | 251 bool c_flag_; |
252 bool v_flag_; | 252 bool v_flag_; |
253 | 253 |
254 // VFP architecture state. | 254 // VFP architecture state. |
255 unsigned int vfp_register[32/*num_s_registers*/]; | 255 unsigned int vfp_register[num_s_registers]; |
256 bool n_flag_FPSCR_; | 256 bool n_flag_FPSCR_; |
257 bool z_flag_FPSCR_; | 257 bool z_flag_FPSCR_; |
258 bool c_flag_FPSCR_; | 258 bool c_flag_FPSCR_; |
259 bool v_flag_FPSCR_; | 259 bool v_flag_FPSCR_; |
260 | 260 |
261 // VFP FP exception flags architecture state. | 261 // VFP FP exception flags architecture state. |
262 bool inv_op_vfp_flag_; | 262 bool inv_op_vfp_flag_; |
263 bool div_zero_vfp_flag_; | 263 bool div_zero_vfp_flag_; |
264 bool overflow_vfp_flag_; | 264 bool overflow_vfp_flag_; |
265 bool underflow_vfp_flag_; | 265 bool underflow_vfp_flag_; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 static inline void UnregisterCTryCatch() { | 298 static inline void UnregisterCTryCatch() { |
299 assembler::arm::Simulator::current()->PopAddress(); | 299 assembler::arm::Simulator::current()->PopAddress(); |
300 } | 300 } |
301 }; | 301 }; |
302 | 302 |
303 | 303 |
304 #endif // defined(__arm__) | 304 #endif // defined(__arm__) |
305 | 305 |
306 #endif // V8_ARM_SIMULATOR_ARM_H_ | 306 #endif // V8_ARM_SIMULATOR_ARM_H_ |
OLD | NEW |