| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 void DecodeType6(Instr* instr); | 226 void DecodeType6(Instr* instr); |
| 227 void DecodeType7(Instr* instr); | 227 void DecodeType7(Instr* instr); |
| 228 void DecodeUnconditional(Instr* instr); | 228 void DecodeUnconditional(Instr* instr); |
| 229 | 229 |
| 230 // Support for VFP. | 230 // Support for VFP. |
| 231 void DecodeTypeVFP(Instr* instr); | 231 void DecodeTypeVFP(Instr* instr); |
| 232 void DecodeType6CoprocessorIns(Instr* instr); | 232 void DecodeType6CoprocessorIns(Instr* instr); |
| 233 | 233 |
| 234 // Executes one instruction. | 234 // Executes one instruction. |
| 235 void InstructionDecode(Instr* instr); | 235 void InstructionDecode(Instr* instr); |
| 236 void InstructionDecode(ThumbInstr* instr); |
| 236 | 237 |
| 237 // Runtime call support. | 238 // Runtime call support. |
| 238 static void* RedirectExternalReference(void* external_function, | 239 static void* RedirectExternalReference(void* external_function, |
| 239 bool fp_return); | 240 bool fp_return); |
| 240 | 241 |
| 241 // For use in calls that take two double values, constructed from r0, r1, r2 | 242 // For use in calls that take two double values, constructed from r0, r1, r2 |
| 242 // and r3. | 243 // and r3. |
| 243 void GetFpArgs(double* x, double* y); | 244 void GetFpArgs(double* x, double* y); |
| 244 void SetFpResult(const double& result); | 245 void SetFpResult(const double& result); |
| 245 void TrashCallerSaveRegisters(); | 246 void TrashCallerSaveRegisters(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 262 bool inv_op_vfp_flag_; | 263 bool inv_op_vfp_flag_; |
| 263 bool div_zero_vfp_flag_; | 264 bool div_zero_vfp_flag_; |
| 264 bool overflow_vfp_flag_; | 265 bool overflow_vfp_flag_; |
| 265 bool underflow_vfp_flag_; | 266 bool underflow_vfp_flag_; |
| 266 bool inexact_vfp_flag_; | 267 bool inexact_vfp_flag_; |
| 267 | 268 |
| 268 // Simulator support. | 269 // Simulator support. |
| 269 char* stack_; | 270 char* stack_; |
| 270 bool pc_modified_; | 271 bool pc_modified_; |
| 271 int icount_; | 272 int icount_; |
| 273 bool thumb_mode_; |
| 272 static bool initialized_; | 274 static bool initialized_; |
| 273 | 275 |
| 274 // Registered breakpoints. | 276 // Registered breakpoints. |
| 275 Instr* break_pc_; | 277 Instr* break_pc_; |
| 276 instr_t break_instr_; | 278 instr_t break_instr_; |
| 277 }; | 279 }; |
| 278 | 280 |
| 279 } } // namespace assembler::arm | 281 } } // namespace assembler::arm |
| 280 | 282 |
| 281 | 283 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 297 | 299 |
| 298 static inline void UnregisterCTryCatch() { | 300 static inline void UnregisterCTryCatch() { |
| 299 assembler::arm::Simulator::current()->PopAddress(); | 301 assembler::arm::Simulator::current()->PopAddress(); |
| 300 } | 302 } |
| 301 }; | 303 }; |
| 302 | 304 |
| 303 | 305 |
| 304 #endif // defined(__arm__) | 306 #endif // defined(__arm__) |
| 305 | 307 |
| 306 #endif // V8_ARM_SIMULATOR_ARM_H_ | 308 #endif // V8_ARM_SIMULATOR_ARM_H_ |
| OLD | NEW |