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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 }; | 284 }; |
285 | 285 |
286 // Support for VFP. | 286 // Support for VFP. |
287 void Compute_FPSCR_Flags(double val1, double val2); | 287 void Compute_FPSCR_Flags(double val1, double val2); |
288 void Copy_FPSCR_to_APSR(); | 288 void Copy_FPSCR_to_APSR(); |
289 inline double canonicalizeNaN(double value); | 289 inline double canonicalizeNaN(double value); |
290 | 290 |
291 // Helper functions to decode common "addressing" modes | 291 // Helper functions to decode common "addressing" modes |
292 int32_t GetShiftRm(Instruction* instr, bool* carry_out); | 292 int32_t GetShiftRm(Instruction* instr, bool* carry_out); |
293 int32_t GetImm(Instruction* instr, bool* carry_out); | 293 int32_t GetImm(Instruction* instr, bool* carry_out); |
294 void ProcessPUW(Instruction* instr, | 294 int32_t ProcessPU(Instruction* instr, |
295 int num_regs, | 295 int num_regs, |
296 int operand_size, | 296 int operand_size, |
297 intptr_t* start_address, | 297 intptr_t* start_address, |
298 intptr_t* end_address); | 298 intptr_t* end_address); |
299 void HandleRList(Instruction* instr, bool load); | 299 void HandleRList(Instruction* instr, bool load); |
300 void HandleVList(Instruction* inst); | 300 void HandleVList(Instruction* inst); |
301 void SoftwareInterrupt(Instruction* instr); | 301 void SoftwareInterrupt(Instruction* instr); |
302 | 302 |
303 // Stop helper functions. | 303 // Stop helper functions. |
304 inline bool isStopInstruction(Instruction* instr); | 304 inline bool isStopInstruction(Instruction* instr); |
305 inline bool isWatchedStop(uint32_t bkpt_code); | 305 inline bool isWatchedStop(uint32_t bkpt_code); |
306 inline bool isEnabledStop(uint32_t bkpt_code); | 306 inline bool isEnabledStop(uint32_t bkpt_code); |
307 inline void EnableStop(uint32_t bkpt_code); | 307 inline void EnableStop(uint32_t bkpt_code); |
308 inline void DisableStop(uint32_t bkpt_code); | 308 inline void DisableStop(uint32_t bkpt_code); |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 472 |
473 static inline void UnregisterCTryCatch() { | 473 static inline void UnregisterCTryCatch() { |
474 Simulator::current(Isolate::Current())->PopAddress(); | 474 Simulator::current(Isolate::Current())->PopAddress(); |
475 } | 475 } |
476 }; | 476 }; |
477 | 477 |
478 } } // namespace v8::internal | 478 } } // namespace v8::internal |
479 | 479 |
480 #endif // !defined(USE_SIMULATOR) | 480 #endif // !defined(USE_SIMULATOR) |
481 #endif // V8_ARM_SIMULATOR_ARM_H_ | 481 #endif // V8_ARM_SIMULATOR_ARM_H_ |
OLD | NEW |