OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // Saturating instructions require a Q flag to indicate saturation. | 366 // Saturating instructions require a Q flag to indicate saturation. |
367 // There is currently no way to read the CPSR directly, and thus read the Q | 367 // There is currently no way to read the CPSR directly, and thus read the Q |
368 // flag, so this is left unimplemented. | 368 // flag, so this is left unimplemented. |
369 int32_t registers_[16]; | 369 int32_t registers_[16]; |
370 bool n_flag_; | 370 bool n_flag_; |
371 bool z_flag_; | 371 bool z_flag_; |
372 bool c_flag_; | 372 bool c_flag_; |
373 bool v_flag_; | 373 bool v_flag_; |
374 | 374 |
375 // VFP architecture state. | 375 // VFP architecture state. |
376 // TODO(hans): Rename vfp_register to vfp_registers_. | 376 unsigned int vfp_registers_[num_d_registers * 2]; |
377 unsigned int vfp_register[num_d_registers * 2]; | |
378 bool n_flag_FPSCR_; | 377 bool n_flag_FPSCR_; |
379 bool z_flag_FPSCR_; | 378 bool z_flag_FPSCR_; |
380 bool c_flag_FPSCR_; | 379 bool c_flag_FPSCR_; |
381 bool v_flag_FPSCR_; | 380 bool v_flag_FPSCR_; |
382 | 381 |
383 // VFP rounding mode. See ARM DDI 0406B Page A2-29. | 382 // VFP rounding mode. See ARM DDI 0406B Page A2-29. |
384 VFPRoundingMode FPSCR_rounding_mode_; | 383 VFPRoundingMode FPSCR_rounding_mode_; |
385 | 384 |
386 // VFP FP exception flags architecture state. | 385 // VFP FP exception flags architecture state. |
387 bool inv_op_vfp_flag_; | 386 bool inv_op_vfp_flag_; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 | 459 |
461 static inline void UnregisterCTryCatch() { | 460 static inline void UnregisterCTryCatch() { |
462 Simulator::current(Isolate::Current())->PopAddress(); | 461 Simulator::current(Isolate::Current())->PopAddress(); |
463 } | 462 } |
464 }; | 463 }; |
465 | 464 |
466 } } // namespace v8::internal | 465 } } // namespace v8::internal |
467 | 466 |
468 #endif // !defined(USE_SIMULATOR) | 467 #endif // !defined(USE_SIMULATOR) |
469 #endif // V8_ARM_SIMULATOR_ARM_H_ | 468 #endif // V8_ARM_SIMULATOR_ARM_H_ |
OLD | NEW |