| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 void IllegalOperation(int num_arguments); | 557 void IllegalOperation(int num_arguments); |
| 558 | 558 |
| 559 // Picks out an array index from the hash field. | 559 // Picks out an array index from the hash field. |
| 560 // Register use: | 560 // Register use: |
| 561 // hash - holds the index's hash. Clobbered. | 561 // hash - holds the index's hash. Clobbered. |
| 562 // index - holds the overwritten index on exit. | 562 // index - holds the overwritten index on exit. |
| 563 void IndexFromHash(Register hash, Register index); | 563 void IndexFromHash(Register hash, Register index); |
| 564 | 564 |
| 565 // Get the number of least significant bits from a register | 565 // Get the number of least significant bits from a register |
| 566 void GetLeastBitsFromSmi(Register dst, Register src, int num_least_bits); | 566 void GetLeastBitsFromSmi(Register dst, Register src, int num_least_bits); |
| 567 void GetLeastBitsFromInt32(Register dst, Register src, int mun_least_bits); |
| 567 | 568 |
| 568 // Uses VFP instructions to Convert a Smi to a double. | 569 // Uses VFP instructions to Convert a Smi to a double. |
| 569 void IntegerToDoubleConversionWithVFP3(Register inReg, | 570 void IntegerToDoubleConversionWithVFP3(Register inReg, |
| 570 Register outHighReg, | 571 Register outHighReg, |
| 571 Register outLowReg); | 572 Register outLowReg); |
| 572 | 573 |
| 573 // Load the value of a number object into a VFP double register. If the object | 574 // Load the value of a number object into a VFP double register. If the object |
| 574 // is not a number a jump to the label not_number is performed and the VFP | 575 // is not a number a jump to the label not_number is performed and the VFP |
| 575 // double register is unchanged. | 576 // double register is unchanged. |
| 576 void ObjectToDoubleVFPRegister( | 577 void ObjectToDoubleVFPRegister( |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 941 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 941 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 942 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 942 #else | 943 #else |
| 943 #define ACCESS_MASM(masm) masm-> | 944 #define ACCESS_MASM(masm) masm-> |
| 944 #endif | 945 #endif |
| 945 | 946 |
| 946 | 947 |
| 947 } } // namespace v8::internal | 948 } } // namespace v8::internal |
| 948 | 949 |
| 949 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 950 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |