OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 287 |
288 inline void BranchOnNotSmi(Register value, Label* not_smi_label) { | 288 inline void BranchOnNotSmi(Register value, Label* not_smi_label) { |
289 tst(value, Operand(kSmiTagMask)); | 289 tst(value, Operand(kSmiTagMask)); |
290 b(ne, not_smi_label); | 290 b(ne, not_smi_label); |
291 } | 291 } |
292 | 292 |
293 // Generates code for reporting that an illegal operation has | 293 // Generates code for reporting that an illegal operation has |
294 // occurred. | 294 // occurred. |
295 void IllegalOperation(int num_arguments); | 295 void IllegalOperation(int num_arguments); |
296 | 296 |
| 297 // Get the number of least significant bits from a register |
| 298 void GetLeastBitsFromSmi(Register dst, Register src, int num_least_bits); |
| 299 |
297 // Uses VFP instructions to Convert a Smi to a double. | 300 // Uses VFP instructions to Convert a Smi to a double. |
298 void IntegerToDoubleConversionWithVFP3(Register inReg, | 301 void IntegerToDoubleConversionWithVFP3(Register inReg, |
299 Register outHighReg, | 302 Register outHighReg, |
300 Register outLowReg); | 303 Register outLowReg); |
301 | 304 |
302 | 305 |
303 // --------------------------------------------------------------------------- | 306 // --------------------------------------------------------------------------- |
304 // Runtime calls | 307 // Runtime calls |
305 | 308 |
306 // Call a code stub. | 309 // Call a code stub. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 467 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
465 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 468 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
466 #else | 469 #else |
467 #define ACCESS_MASM(masm) masm-> | 470 #define ACCESS_MASM(masm) masm-> |
468 #endif | 471 #endif |
469 | 472 |
470 | 473 |
471 } } // namespace v8::internal | 474 } } // namespace v8::internal |
472 | 475 |
473 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 476 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |