OLD | NEW |
---|---|
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
Karl Klose
2011/04/06 06:52:56
2011
Søren Thygesen Gjesse
2011/04/06 08:00:09
Done.
| |
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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 int32_t right, | 229 int32_t right, |
230 bool addition); | 230 bool addition); |
231 | 231 |
232 // Support for VFP. | 232 // Support for VFP. |
233 void Compute_FPSCR_Flags(double val1, double val2); | 233 void Compute_FPSCR_Flags(double val1, double val2); |
234 void Copy_FPSCR_to_APSR(); | 234 void Copy_FPSCR_to_APSR(); |
235 | 235 |
236 // Helper functions to decode common "addressing" modes | 236 // Helper functions to decode common "addressing" modes |
237 int32_t GetShiftRm(Instruction* instr, bool* carry_out); | 237 int32_t GetShiftRm(Instruction* instr, bool* carry_out); |
238 int32_t GetImm(Instruction* instr, bool* carry_out); | 238 int32_t GetImm(Instruction* instr, bool* carry_out); |
239 void ProcessPUW(Instruction* instr, | |
240 int num_regs, | |
241 int operand_size, | |
242 intptr_t* start_address, | |
243 intptr_t* end_address); | |
239 void HandleRList(Instruction* instr, bool load); | 244 void HandleRList(Instruction* instr, bool load); |
245 void HandleVList(Instruction* instr, bool load); | |
240 void SoftwareInterrupt(Instruction* instr); | 246 void SoftwareInterrupt(Instruction* instr); |
241 | 247 |
242 // Stop helper functions. | 248 // Stop helper functions. |
243 inline bool isStopInstruction(Instruction* instr); | 249 inline bool isStopInstruction(Instruction* instr); |
244 inline bool isWatchedStop(uint32_t bkpt_code); | 250 inline bool isWatchedStop(uint32_t bkpt_code); |
245 inline bool isEnabledStop(uint32_t bkpt_code); | 251 inline bool isEnabledStop(uint32_t bkpt_code); |
246 inline void EnableStop(uint32_t bkpt_code); | 252 inline void EnableStop(uint32_t bkpt_code); |
247 inline void DisableStop(uint32_t bkpt_code); | 253 inline void DisableStop(uint32_t bkpt_code); |
248 inline void IncreaseStopCounter(uint32_t bkpt_code); | 254 inline void IncreaseStopCounter(uint32_t bkpt_code); |
249 void PrintStopInfo(uint32_t code); | 255 void PrintStopInfo(uint32_t code); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
398 | 404 |
399 static inline void UnregisterCTryCatch() { | 405 static inline void UnregisterCTryCatch() { |
400 Simulator::current(Isolate::Current())->PopAddress(); | 406 Simulator::current(Isolate::Current())->PopAddress(); |
401 } | 407 } |
402 }; | 408 }; |
403 | 409 |
404 } } // namespace v8::internal | 410 } } // namespace v8::internal |
405 | 411 |
406 #endif // !defined(USE_SIMULATOR) | 412 #endif // !defined(USE_SIMULATOR) |
407 #endif // V8_ARM_SIMULATOR_ARM_H_ | 413 #endif // V8_ARM_SIMULATOR_ARM_H_ |
OLD | NEW |